Class: Uistiti::Alpha::Button
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Uistiti::Alpha::Button
- Defined in:
- app/components/uistiti/alpha/button.rb
Instance Method Summary collapse
-
#initialize(color:) ⇒ Button
constructor
A new instance of Button.
Constructor Details
#initialize(color:) ⇒ Button
Returns a new instance of Button.
6 7 8 9 10 |
# File 'app/components/uistiti/alpha/button.rb', line 6 def initialize(color:) super() @color = color end |