Class: Crokus::Include

Inherits:
Ast
  • Object
show all
Defined in:
lib/crokus/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

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

#envObject

Returns the value of attribute env.



46
47
48
# File 'lib/crokus/ast.rb', line 46

def env
  @env
end

#nameObject

Returns the value of attribute name.



45
46
47
# File 'lib/crokus/ast.rb', line 45

def name
  @name
end