Class: TOML::Key
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key, value) ⇒ Key
constructor
A new instance of Key.
Constructor Details
#initialize(key, value) ⇒ Key
Returns a new instance of Key.
5 6 7 8 |
# File 'lib/toml/key.rb', line 5 def initialize(key, value) @key = key @value = value end |