lib/code/object/function.rb in code-ruby-0.7.4 vs lib/code/object/function.rb in code-ruby-0.7.5
- old
+ new
@@ -74,10 +74,10 @@
if parameter.keyword?
if signature.last.is_a?(::Hash)
signature.last[parameter.name] = Object
signature
else
- signature + [{parameter.name => Object}]
+ signature + [{ parameter.name => Object }]
end
else
signature + [Object]
end
end + [Object.repeat]