lib/lotus/utils/attributes.rb in lotus-utils-0.3.5 vs lib/lotus/utils/attributes.rb in lotus-utils-0.4.0

- old
+ new

@@ -57,10 +57,10 @@ # attributes['b'] # => 2 # # attributes.get(23) # => "foo" # attributes.get('23') # => "foo" # attributes[23] # => "foo" - # attributes[23] # => "foo" + # attributes['23'] # => "foo" # # attributes.get(:unknown) # => nil # attributes.get('unknown') # => nil # attributes[:unknown] # => nil # attributes['unknown'] # => nil