Method: Formulaic::Label#initialize
- Defined in:
- lib/formulaic/label.rb
#initialize(model_name, attribute, action) ⇒ Label
Returns a new instance of Label.
5 6 7 8 9 |
# File 'lib/formulaic/label.rb', line 5 def initialize(model_name, attribute, action) @model_name = model_name @attribute = attribute @action = action end |