Class: Melbourne::AST::DefineSingletonScope
- Inherits:
-
Define
- Object
- Node
- ClosedScope
- Define
- Melbourne::AST::DefineSingletonScope
- Defined in:
- lib/melbourne/ast/definitions.rb
Overview
The scope a singletion method definition opens. This is the actual body of Melbourne::AST::DefineSingletons
Instance Attribute Summary
Attributes inherited from Define
Attributes inherited from ClosedScope
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, name, block) ⇒ DefineSingletonScope
constructor
A new instance of DefineSingletonScope.
Methods inherited from Node
Constructor Details
#initialize(line, name, block) ⇒ DefineSingletonScope
Returns a new instance of DefineSingletonScope.
141 142 143 |
# File 'lib/melbourne/ast/definitions.rb', line 141 def initialize(line, name, block) super line, name, block end |