Class: ActiveTsv::Ordering
- Inherits:
-
Struct
- Object
- Struct
- ActiveTsv::Ordering
- Defined in:
- lib/active_tsv/ordering.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Ascending, Descending
Constant Summary collapse
- VALID_DIRECTIONS =
[:asc, :desc, :ASC, :DESC, "asc", "desc", "ASC", "DESC"]
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
4 5 6 |
# File 'lib/active_tsv/ordering.rb', line 4 def column @column end |