Class: Spark::Input::Label
- Inherits:
-
Component::Base
- Object
- ActionView::Component::Base
- Component::Base
- Spark::Input::Label
- Defined in:
- app/components/spark/input/label.rb
Instance Method Summary collapse
-
#initialize ⇒ Label
constructor
A new instance of Label.
Methods inherited from Component::Base
Constructor Details
#initialize ⇒ Label
Returns a new instance of Label.
6 7 8 9 10 |
# File 'app/components/spark/input/label.rb', line 6 def initialize(*) super classname.add("spark-label") end |