Method: Formless#initialize
- Defined in:
- lib/formless.rb
#initialize(html, selector = nil, **options) ⇒ Formless
Returns a new instance of Formless.
79 80 81 82 83 84 85 86 87 |
# File 'lib/formless.rb', line 79 def initialize(html, selector = nil, **) self.nodeset = html self.selector = selector @options = { field_setters: FieldSetters, formatters: Formatters, populate_passwords: false }.merge!() end |