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