diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2009-05-17 16:20:40 -0400 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2009-05-17 16:20:40 -0400 |
commit | dc7b51883b1cc8ad7e525b7315fb575ae77a5b3d (patch) | |
tree | 97f5e4d55baa45f9805eb36a2196bcc12094ae3a /lib/arel/algebra/primitives/ordering.rb | |
parent | 19b2af181009acfcb24d156ca350c148630e6787 (diff) | |
download | rails-dc7b51883b1cc8ad7e525b7315fb575ae77a5b3d.tar.gz rails-dc7b51883b1cc8ad7e525b7315fb575ae77a5b3d.tar.bz2 rails-dc7b51883b1cc8ad7e525b7315fb575ae77a5b3d.zip |
Whitespace
Diffstat (limited to 'lib/arel/algebra/primitives/ordering.rb')
-rw-r--r-- | lib/arel/algebra/primitives/ordering.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/arel/algebra/primitives/ordering.rb b/lib/arel/algebra/primitives/ordering.rb index e8d8f97188..a60d794f27 100644 --- a/lib/arel/algebra/primitives/ordering.rb +++ b/lib/arel/algebra/primitives/ordering.rb @@ -3,16 +3,16 @@ module Arel attributes :attribute deriving :initialize, :== delegate :relation, :to => :attribute - + def bind(relation) self.class.new(attribute.bind(relation)) end - + def to_ordering self end end - + class Ascending < Ordering; end class Descending < Ordering; end -end
\ No newline at end of file +end |