Class: Crokus::Define
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#expr ⇒ Object
Returns the value of attribute expr.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(n, a, e) ⇒ Define
constructor
A new instance of Define.
Methods inherited from Ast
Constructor Details
#initialize(n, a, e) ⇒ Define
Returns a new instance of Define.
55 56 57 |
# File 'lib/crokus/ast.rb', line 55 def initialize n,a,e @name,@args,@expr=n,a,e end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
54 55 56 |
# File 'lib/crokus/ast.rb', line 54 def args @args end |
#expr ⇒ Object
Returns the value of attribute expr.
54 55 56 |
# File 'lib/crokus/ast.rb', line 54 def expr @expr end |
#name ⇒ Object
Returns the value of attribute name.
54 55 56 |
# File 'lib/crokus/ast.rb', line 54 def name @name end |