Class: TableQuery::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/table-query/field.rb

Overview

Field represents table fields.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/table-query/field.rb', line 3

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



3
4
5
# File 'lib/table-query/field.rb', line 3

def options
  @options
end

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



3
4
5
# File 'lib/table-query/field.rb', line 3

def pos
  @pos
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



3
4
5
# File 'lib/table-query/field.rb', line 3

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



3
4
5
# File 'lib/table-query/field.rb', line 3

def value
  @value
end