Skip to content

Commit

Permalink
[ join arrays with a space ]
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Rothstein committed Jan 6, 2011
1 parent 8f59b47 commit f67f137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion field_marshal.rb
Expand Up @@ -43,7 +43,7 @@ def self.marshal_(thing, name = nil, already_marshalled = {})
assigns_hash.merge! marshal_(t, nil, already_marshalled)
assigns_hash.delete nil
end
"[ #{contents.join(",")} ]"
"[ #{contents.join ", "} ]"

when Hash
pairs = thing.map do |key, value|
Expand Down

0 comments on commit f67f137

Please sign in to comment.