Class: Vertigo::Package
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#decls ⇒ Object
Returns the value of attribute decls.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(name = nil, decls = []) ⇒ Package
constructor
A new instance of Package.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, decls = []) ⇒ Package
Returns a new instance of Package.
85 86 87 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 85 def initialize name=nil,decls=[] @name,@decls=name,decls end |
Instance Attribute Details
#decls ⇒ Object
Returns the value of attribute decls.
84 85 86 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 84 def decls @decls end |
#name ⇒ Object
Returns the value of attribute name.
84 85 86 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 84 def name @name end |