Class: Melbourne::AST::Snippit
- Inherits:
-
Container
- Object
- Node
- ClosedScope
- Container
- Melbourne::AST::Snippit
- Defined in:
- lib/melbourne/ast/definitions.rb
Overview
TODO: document!
Instance Attribute Summary
Attributes inherited from Container
Attributes inherited from ClosedScope
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(body) ⇒ Snippit
constructor
A new instance of Snippit.
Methods inherited from Node
Constructor Details
#initialize(body) ⇒ Snippit
Returns a new instance of Snippit.
525 526 527 528 |
# File 'lib/melbourne/ast/definitions.rb', line 525 def initialize(body) super body @name = :__snippit__ end |