Class: Mensa::Cell::Component
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Mensa::Cell::Component
- Defined in:
- app/components/mensa/cell/component.rb
Instance Attribute Summary collapse
-
#cell ⇒ Object
readonly
Returns the value of attribute cell.
Attributes inherited from ApplicationComponent
Instance Method Summary collapse
-
#initialize(row:, column:) ⇒ Component
constructor
A new instance of Component.
Constructor Details
Instance Attribute Details
#cell ⇒ Object (readonly)
Returns the value of attribute cell.
8 9 10 |
# File 'app/components/mensa/cell/component.rb', line 8 def cell @cell end |