Removed unneeded check for no args.
This commit is contained in:
@@ -49,7 +49,6 @@ class AboutMessagePassing < EdgeCase::Koan
|
||||
|
||||
class MessageCatcher
|
||||
def add_a_payload(*args)
|
||||
return :empty unless args
|
||||
args
|
||||
end
|
||||
end
|
||||
|
||||
@@ -49,7 +49,6 @@ class AboutMessagePassing < EdgeCase::Koan
|
||||
|
||||
class MessageCatcher
|
||||
def add_a_payload(*args)
|
||||
return :empty unless args
|
||||
args
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user