Class: Uistiti::Alpha::Button

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/uistiti/alpha/button.rb

Instance Method Summary collapse

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