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

candidates, for, from, #get_value

Instance Method Details

#fill_in!Object



237
238
239
# File 'lib/chop/form.rb', line 237

def fill_in!
  field.set value
end

#matches?Boolean

Returns:

  • (Boolean)


233
234
235
# File 'lib/chop/form.rb', line 233

def matches?
  true
end