Method: NicInfo::Enum.add_item
- Defined in:
- lib/nicinfo/enum.rb
.add_item(key, value) ⇒ Object
24 25 26 27 |
# File 'lib/nicinfo/enum.rb', line 24 def Enum.add_item( key, value ) @hash ||= {} @hash[ key ] = value end |
24 25 26 27 |
# File 'lib/nicinfo/enum.rb', line 24 def Enum.add_item( key, value ) @hash ||= {} @hash[ key ] = value end |