Class: Protos::Swap::Off
- Defined in:
- lib/protos/swap/off.rb
Instance Method Summary collapse
-
#view_template ⇒ Object
DOCS: The off state for a swap component.
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
DOCS: The off state for a swap component. This is the default state.
8 9 10 |
# File 'lib/protos/swap/off.rb', line 8 def view_template(&) div(**attrs, &) end |