Class: Dill::FieldGroup::TextField
- Defined in:
- lib/dill/field_group.rb
Overview
A text field.
Instance Attribute Summary
Attributes inherited from Widget
Instance Method Summary collapse
-
#get ⇒ Object
The text field value.
-
#set(value) ⇒ Object
Sets the text field value.
-
#to_s ⇒ Object
The text field value, or the empty string if the field is empty.
Methods inherited from Field
Methods inherited from Widget
#!=, #!~, #<, #<=, #==, #=~, #>, #>=, action, #click, #diff, find_in, #has_action?, #initialize, #inspect, #match, present_in?, #reload, root, selector, #text, #to_cell, #to_f, #to_i, widget, widget_delegator
Methods included from WidgetContainer
Constructor Details
This class inherits a constructor from Dill::Widget
Instance Method Details
#get ⇒ Object
Returns The text field value.
317 |
# File 'lib/dill/field_group.rb', line 317 def_delegator :root, :value, :get |
#set(value) ⇒ Object
Sets the text field value.
323 |
# File 'lib/dill/field_group.rb', line 323 def_delegator :root, :set |
#to_s ⇒ Object
Returns the text field value, or the empty string if the field is empty.
328 |
# File 'lib/dill/field_group.rb', line 328 def_delegator :get, :to_s |