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
37 38 39 |
# File 'app/helpers/decidim/check_boxes_tree_helper.rb', line 37 def label @label end |
#value ⇒ Object
Returns the value of attribute value
37 38 39 |
# File 'app/helpers/decidim/check_boxes_tree_helper.rb', line 37 def value @value end |
Instance Method Details
#tree_node? ⇒ Boolean
38 39 40 |
# File 'app/helpers/decidim/check_boxes_tree_helper.rb', line 38 def tree_node? is_a?(TreeNode) end |