Class: Cyrel::AST::SkipNode

Inherits:
ClauseNode show all
Defined in:
lib/cyrel/ast/skip_node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#==, #accept

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

#amountObject (readonly)

Returns the value of attribute amount.



6
7
8
# File 'lib/cyrel/ast/skip_node.rb', line 6

def amount
  @amount
end