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
47 48 49 50 |
# File 'lib/crokus/ast.rb', line 47 def initialize name,env=nil #local or system @name=name @env=env end |
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
46 47 48 |
# File 'lib/crokus/ast.rb', line 46 def env @env end |
#name ⇒ Object
Returns the value of attribute name.
45 46 47 |
# File 'lib/crokus/ast.rb', line 45 def name @name end |