Class: Turnip::Node::Base
- Inherits:
-
Object
- Object
- Turnip::Node::Base
- Includes:
- HasLocation
- Defined in:
- lib/turnip/node/base.rb
Direct Known Subclasses
Example, ScenarioDefinition, ScenarioGroupDefinition, Step, Tag
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(raw) ⇒ Base
constructor
A new instance of Base.
Methods included from HasLocation
Constructor Details
#initialize(raw) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/turnip/node/base.rb', line 10 def initialize(raw) @raw = raw end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
8 9 10 |
# File 'lib/turnip/node/base.rb', line 8 def raw @raw end |