Class: Irelia::EmptyCollection::Component
- Inherits:
-
Component
- Object
- ViewComponentContrib::Base
- Component
- Irelia::EmptyCollection::Component
- Defined in:
- app/components/irelia/empty_collection/component.rb
Instance Method Summary collapse
Methods inherited from Component
#add_css_classes, after_initialize, #html_options, inherited, #initialize, run_after_initialize_hooks
Constructor Details
This class inherits a constructor from Irelia::Component
Instance Method Details
#variants ⇒ Object
9 10 11 12 13 14 |
# File 'app/components/irelia/empty_collection/component.rb', line 9 def variants class_names( "irelia-empty-collection", "irelia-empty-collection--default": variant == :default ) end |