Class: Hyde::Meta
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Hyde::Meta
- Defined in:
- lib/hyde/meta.rb
Instance Method Summary collapse
-
#[](id) ⇒ Object
For Ruby 1.8.6 compatibility ([:type] instead of .type).
- #merge!(hash) ⇒ Object
Instance Method Details
#[](id) ⇒ Object
For Ruby 1.8.6 compatibility ([:type] instead of .type)
13 14 15 |
# File 'lib/hyde/meta.rb', line 13 def [](id) @table[id.to_sym] end |
#merge!(hash) ⇒ Object
8 9 10 |
# File 'lib/hyde/meta.rb', line 8 def merge!(hash) @table.merge(hash) end |