Class: Chop::Form::Default

Inherits:
Field
  • Object
show all
Defined in:
lib/chop/form.rb

Instance Attribute Summary

Attributes inherited from Field

#field, #label, #path, #session, #value

Instance Method Summary collapse

Methods inherited from Field

for

Instance Method Details

#fill_in!Object



170
171
172
# File 'lib/chop/form.rb', line 170

def fill_in!
  field.set value
end

#matches?Boolean

Returns:

  • (Boolean)


166
167
168
# File 'lib/chop/form.rb', line 166

def matches?
  true
end