Class: RecordFilter::DSL::Order
- Inherits:
-
Object
- Object
- RecordFilter::DSL::Order
- Defined in:
- lib/record_filter/dsl/order.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#direction ⇒ Object
readonly
Returns the value of attribute direction.
Instance Method Summary collapse
-
#initialize(column, direction) ⇒ Order
constructor
A new instance of Order.
Constructor Details
#initialize(column, direction) ⇒ Order
Returns a new instance of Order.
7 8 9 |
# File 'lib/record_filter/dsl/order.rb', line 7 def initialize(column, direction) @column, @direction = column, direction end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
5 6 7 |
# File 'lib/record_filter/dsl/order.rb', line 5 def column @column end |
#direction ⇒ Object (readonly)
Returns the value of attribute direction.
5 6 7 |
# File 'lib/record_filter/dsl/order.rb', line 5 def direction @direction end |