Class: Prequel::Field
- Inherits:
-
Object
- Object
- Prequel::Field
- Defined in:
- lib/prequel/field.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#tuple ⇒ Object
readonly
Returns the value of attribute tuple.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(tuple, column) ⇒ Field
constructor
A new instance of Field.
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
#column ⇒ Object (readonly)
Returns the value of attribute column.
3 4 5 |
# File 'lib/prequel/field.rb', line 3 def column @column end |
#tuple ⇒ Object (readonly)
Returns the value of attribute tuple.
3 4 5 |
# File 'lib/prequel/field.rb', line 3 def tuple @tuple end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/prequel/field.rb', line 4 def value @value end |