Class: Melbourne::AST::ModuleName
- Defined in:
- lib/melbourne/ast/definitions.rb
Overview
The name of a module
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
The actual name of the module.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, name) ⇒ ModuleName
constructor
A new instance of ModuleName.
Methods inherited from Node
Constructor Details
#initialize(line, name) ⇒ ModuleName
Returns a new instance of ModuleName.
431 432 433 434 |
# File 'lib/melbourne/ast/definitions.rb', line 431 def initialize(line, name) @line = line @name = name end |
Instance Attribute Details
#name ⇒ Object
The actual name of the module
429 430 431 |
# File 'lib/melbourne/ast/definitions.rb', line 429 def name @name end |