Class: FormObjectModel::Form::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/form_object_model/form.rb

Direct Known Subclasses

RadioField, SelectField, TextField

Instance Attribute Summary collapse

Instance Attribute Details

#locatorObject

Returns the value of attribute locator

Returns:

  • (Object)

    the current value of locator



3
4
5
# File 'lib/form_object_model/form.rb', line 3

def locator
  @locator
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/form_object_model/form.rb', line 3

def name
  @name
end

#pageObject

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



3
4
5
# File 'lib/form_object_model/form.rb', line 3

def page
  @page
end