Class: Prequel::Field

Inherits:
Object
  • Object
show all
Defined in:
lib/prequel/field.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tuple, column) ⇒ Field

Returns a new instance of Field.



6
7
8
# File 'lib/prequel/field.rb', line 6

def initialize(tuple, column)
  @tuple, @column = tuple, column
end

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column.



3
4
5
# File 'lib/prequel/field.rb', line 3

def column
  @column
end

#tupleObject (readonly)

Returns the value of attribute tuple.



3
4
5
# File 'lib/prequel/field.rb', line 3

def tuple
  @tuple
end

#valueObject

Returns the value of attribute value.



4
5
6
# File 'lib/prequel/field.rb', line 4

def value
  @value
end