lib/rext/object/helpers.rb in visionmedia-rext-0.0.8 vs lib/rext/object/helpers.rb in visionmedia-rext-0.1.0
- old
+ new
@@ -13,9 +13,9 @@
# hash[:foo] #=> 'bar'
# hash['foo'] #=> 'bar'
#
def indifferent_hash
- Hash.new { |hash,key| hash[key.to_s] if key.is_a? Symbol }
+ Hash.new { |hash, key| hash[key.to_s] if key.is_a? Symbol }
end
end
\ No newline at end of file