Class: Cyrel::AST::SkipNode
- Inherits:
-
ClauseNode
- Object
- Node
- ClauseNode
- Cyrel::AST::SkipNode
- Defined in:
- lib/cyrel/ast/skip_node.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
Instance Method Summary collapse
-
#initialize(amount) ⇒ SkipNode
constructor
A new instance of SkipNode.
Methods inherited from Node
Constructor Details
#initialize(amount) ⇒ SkipNode
Returns a new instance of SkipNode.
8 9 10 |
# File 'lib/cyrel/ast/skip_node.rb', line 8 def initialize(amount) @amount = amount end |
Instance Attribute Details
#amount ⇒ Object (readonly)
Returns the value of attribute amount.
6 7 8 |
# File 'lib/cyrel/ast/skip_node.rb', line 6 def amount @amount end |