Class: Yap::Shell::Parser::Nodes::EnvWrapperNode
- Inherits:
-
Object
- Object
- Yap::Shell::Parser::Nodes::EnvWrapperNode
- Includes:
- Visitor
- Defined in:
- lib/yap/shell/parser/nodes.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
- #env ⇒ Object
-
#initialize(env, node) ⇒ EnvWrapperNode
constructor
A new instance of EnvWrapperNode.
Methods included from Visitor
Constructor Details
#initialize(env, node) ⇒ EnvWrapperNode
Returns a new instance of EnvWrapperNode.
125 126 127 128 |
# File 'lib/yap/shell/parser/nodes.rb', line 125 def initialize(env, node) @env = env @node = node end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
123 124 125 |
# File 'lib/yap/shell/parser/nodes.rb', line 123 def node @node end |
Instance Method Details
#env ⇒ Object
130 131 132 |
# File 'lib/yap/shell/parser/nodes.rb', line 130 def env @env.env end |