Class: Vertigo::DiscreteRange
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#dir ⇒ Object
Returns the value of attribute dir.
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(lhs = nil, dir = nil, rhs = nil) ⇒ DiscreteRange
constructor
A new instance of DiscreteRange.
Methods inherited from AstNode
Constructor Details
#initialize(lhs = nil, dir = nil, rhs = nil) ⇒ DiscreteRange
Returns a new instance of DiscreteRange.
449 450 451 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 449 def initialize lhs=nil,dir=nil,rhs=nil @lhs,@dir,@rhs=lhs,dir,rhs end |
Instance Attribute Details
#dir ⇒ Object
Returns the value of attribute dir.
448 449 450 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 448 def dir @dir end |
#lhs ⇒ Object
Returns the value of attribute lhs.
448 449 450 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 448 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
448 449 450 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 448 def rhs @rhs end |