Class: Glaemscribe::API::IfTree::IfCond
Instance Attribute Summary collapse
- 
  
    
      #child_code_block  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute child_code_block.
 - 
  
    
      #expression  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute expression.
 - 
  
    
      #line  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute line.
 - 
  
    
      #parent_if_term  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute parent_if_term.
 
Instance Method Summary collapse
- 
  
    
      #initialize(line, parent_if_term, expression)  ⇒ IfCond 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of IfCond.
 
Constructor Details
#initialize(line, parent_if_term, expression) ⇒ IfCond
Returns a new instance of IfCond.
      29 30 31 32  | 
    
      # File 'lib/api/if_tree.rb', line 29 def initialize(line, parent_if_term, expression) @parent_if_term = parent_if_term @expression = expression end  | 
  
Instance Attribute Details
#child_code_block ⇒ Object
Returns the value of attribute child_code_block.
      28 29 30  | 
    
      # File 'lib/api/if_tree.rb', line 28 def child_code_block @child_code_block end  | 
  
#expression ⇒ Object
Returns the value of attribute expression.
      28 29 30  | 
    
      # File 'lib/api/if_tree.rb', line 28 def expression @expression end  | 
  
#line ⇒ Object
Returns the value of attribute line.
      28 29 30  | 
    
      # File 'lib/api/if_tree.rb', line 28 def line @line end  | 
  
#parent_if_term ⇒ Object
Returns the value of attribute parent_if_term.
      28 29 30  | 
    
      # File 'lib/api/if_tree.rb', line 28 def parent_if_term @parent_if_term end  |