mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Removed unneeded check for no args.
This commit is contained in:
@@ -49,7 +49,6 @@ class AboutMessagePassing < EdgeCase::Koan
|
|||||||
|
|
||||||
class MessageCatcher
|
class MessageCatcher
|
||||||
def add_a_payload(*args)
|
def add_a_payload(*args)
|
||||||
return :empty unless args
|
|
||||||
args
|
args
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ class AboutMessagePassing < EdgeCase::Koan
|
|||||||
|
|
||||||
class MessageCatcher
|
class MessageCatcher
|
||||||
def add_a_payload(*args)
|
def add_a_payload(*args)
|
||||||
return :empty unless args
|
|
||||||
args
|
args
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user