Class: Glaemscribe::API::IfTree::CodeLine
- Inherits:
-
Object
- Object
- Glaemscribe::API::IfTree::CodeLine
- Defined in:
- lib/api/if_tree.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(expression, line) ⇒ CodeLine
constructor
A new instance of CodeLine.
Constructor Details
#initialize(expression, line) ⇒ CodeLine
Returns a new instance of CodeLine.
58 59 60 61 |
# File 'lib/api/if_tree.rb', line 58 def initialize(expression, line) @expression = expression @line = line end |
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression.
57 58 59 |
# File 'lib/api/if_tree.rb', line 57 def expression @expression end |
#line ⇒ Object
Returns the value of attribute line.
57 58 59 |
# File 'lib/api/if_tree.rb', line 57 def line @line end |