Class: Satis::Info::Component
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Satis::Info::Component
- Defined in:
- app/components/satis/info/component.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Attributes inherited from ApplicationComponent
Instance Method Summary collapse
-
#initialize(group: :main, **options) ⇒ Component
constructor
A new instance of Component.
Methods inherited from ApplicationComponent
Constructor Details
#initialize(group: :main, **options) ⇒ Component
Returns a new instance of Component.
15 16 17 18 19 |
# File 'app/components/satis/info/component.rb', line 15 def initialize(group: :main, **) super @group = group @options = end |
Instance Attribute Details
#group ⇒ Object (readonly)
Returns the value of attribute group.
13 14 15 |
# File 'app/components/satis/info/component.rb', line 13 def group @group end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
13 14 15 |
# File 'app/components/satis/info/component.rb', line 13 def @options end |