Class: Decidim::CheckBoxesTreeHelper::TreePoint
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Decidim::CheckBoxesTreeHelper::TreePoint
 
 
- Defined in:
 - app/helpers/decidim/check_boxes_tree_helper.rb
 
Overview
struct for leafs of checkboxes trees
Instance Attribute Summary collapse
- 
  
    
      #label  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute label.
 - 
  
    
      #value  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute value.
 
Instance Method Summary collapse
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label
      40 41 42  | 
    
      # File 'app/helpers/decidim/check_boxes_tree_helper.rb', line 40 def label @label end  | 
  
#value ⇒ Object
Returns the value of attribute value
      40 41 42  | 
    
      # File 'app/helpers/decidim/check_boxes_tree_helper.rb', line 40 def value @value end  | 
  
Instance Method Details
#tree_node? ⇒ Boolean
      41 42 43  | 
    
      # File 'app/helpers/decidim/check_boxes_tree_helper.rb', line 41 def tree_node? is_a?(TreeNode) end  |