Class: Formulaic::Inputs::Input

Inherits:
Object
  • Object
show all
Includes:
Capybara::DSL
Defined in:
lib/formulaic/inputs/input.rb

Instance Method Summary collapse

Constructor Details

#initialize(label, value) ⇒ Input

Returns a new instance of Input



9
10
11
12
# File 'lib/formulaic/inputs/input.rb', line 9

def initialize(label, value)
  @label = label
  @value = value
end