Class: Crokus::Include
Instance Attribute Summary collapse
-
#env ⇒ Object
Returns the value of attribute env.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, env = nil) ⇒ Include
constructor
local or system.
Methods inherited from Ast
Constructor Details
#initialize(name, env = nil) ⇒ Include
local or system
43 44 45 46 |
# File 'lib/crokus/ast.rb', line 43 def initialize name,env=nil #local or system @name=name @env=env end |
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
42 43 44 |
# File 'lib/crokus/ast.rb', line 42 def env @env end |
#name ⇒ Object
Returns the value of attribute name.
41 42 43 |
# File 'lib/crokus/ast.rb', line 41 def name @name end |