Sha256: 98ea1ea3958f501623174e0a6656b5df89333924379812959fc9ba173720a860

Contents?: true

Size: 116 Bytes

Versions: 5

Compression:

Stored size: 116 Bytes

Contents

class Attributes < Hash
  def []=(key, value)
    merge!(key => value)
    merge!(key.underscore => value)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dbf-1.5.3 lib/dbf/attributes.rb
dbf-1.5.2 lib/dbf/attributes.rb
dbf-1.5.1 lib/dbf/attributes.rb
dbf-1.5.0 lib/dbf/attributes.rb
dbf-1.3.0 lib/dbf/attributes.rb