Class: Jquard::Tables::Actions::Action
- Inherits:
-
Object
- Object
- Jquard::Tables::Actions::Action
- Includes:
- ComponentDispatch
- Defined in:
- lib/jquard/tables/actions/action.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
Methods included from ComponentDispatch
Class Method Details
.make ⇒ Object
7 8 9 |
# File 'lib/jquard/tables/actions/action.rb', line 7 def self.make new end |
Instance Method Details
#icon(value = nil) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/jquard/tables/actions/action.rb', line 18 def icon(value = nil) return @icon || default_icon if value.nil? @icon = value self end |
#label(value = nil) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/jquard/tables/actions/action.rb', line 11 def label(value = nil) return @label || default_label if value.nil? @label = value self end |