Class: Glaemscribe::API::IfTree::CodeLine
Overview
A line of code
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.
49 50 51 52 |
# File 'lib/api/if_tree.rb', line 49 def initialize(expression, line) @expression = expression @line = line end |