lib/cfer/core/fn.rb in cfer-0.4.0 vs lib/cfer/core/fn.rb in cfer-0.4.1
- old
+ new
@@ -1,8 +1,8 @@
module Cfer::Core::Fn
class << self
- def join(sep, args)
- {"Fn::Join" => [sep, args]}
+ def join(sep, *args)
+ {"Fn::Join" => [sep, [ *args ].flatten ]}
end
def ref(r)
{"Ref" => r}
end