Class: Chop::Form::Textarea

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

Instance Attribute Summary

Attributes inherited from Field

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

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Field

candidates, combined_css_selector, #diff_value, #fill_in!, for, from, #get_value, #label_text, #should_include_in_diff?, #to_diff_row

Class Method Details

.css_selectorObject



334
335
336
# File 'lib/chop/form.rb', line 334

def self.css_selector
  "textarea"
end

Instance Method Details

#matches?Boolean

Returns:

  • (Boolean)


338
339
340
# File 'lib/chop/form.rb', line 338

def matches?
  field.tag_name == "textarea"
end