Class: Stark::Parser::AST::Map
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) ⇒ Map
constructor
A new instance of Map.
Constructor Details
#initialize(key, value) ⇒ Map
Returns a new instance of Map.
460 461 462 463 |
# File 'lib/stark/raw_parser.rb', line 460 def initialize(key, value) @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
464 465 466 |
# File 'lib/stark/raw_parser.rb', line 464 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
465 466 467 |
# File 'lib/stark/raw_parser.rb', line 465 def value @value end |