Class: Melbourne::AST::SClassScope
- Inherits:
-
ClosedScope
- Object
- Node
- ClosedScope
- Melbourne::AST::SClassScope
- Defined in:
- lib/melbourne/ast/definitions.rb
Overview
The scope a singleton class definition opens. This is the actual body of Melbourne::AST::SClasss
Instance Attribute Summary
Attributes inherited from ClosedScope
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, body) ⇒ SClassScope
constructor
A new instance of SClassScope.
Methods inherited from Node
Constructor Details
#initialize(line, body) ⇒ SClassScope
Returns a new instance of SClassScope.
493 494 495 496 497 |
# File 'lib/melbourne/ast/definitions.rb', line 493 def initialize(line, body) @line = line @body = body @name = nil end |