Class: OrderQuery::SQL::OrderBy
- Inherits:
-
Object
- Object
- OrderQuery::SQL::OrderBy
- Defined in:
- lib/order_query/sql/order_by.rb
Instance Attribute Summary collapse
-
#space ⇒ Object
readonly
Returns the value of attribute space.
Instance Method Summary collapse
- #build ⇒ String
- #build_reverse ⇒ String
-
#initialize(space) ⇒ OrderBy
constructor
A new instance of OrderBy.
Constructor Details
#initialize(space) ⇒ OrderBy
Returns a new instance of OrderBy.
7 8 9 |
# File 'lib/order_query/sql/order_by.rb', line 7 def initialize(space) @space = space end |
Instance Attribute Details
#space ⇒ Object (readonly)
Returns the value of attribute space.
4 5 6 |
# File 'lib/order_query/sql/order_by.rb', line 4 def space @space end |
Instance Method Details
#build ⇒ String
12 13 14 |
# File 'lib/order_query/sql/order_by.rb', line 12 def build join_order_by_clauses order_by_sql_clauses end |
#build_reverse ⇒ String
17 18 19 |
# File 'lib/order_query/sql/order_by.rb', line 17 def build_reverse join_order_by_clauses order_by_reverse_sql_clauses end |