diff options
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/algebra/extensions/class.rb | 2 | ||||
-rw-r--r-- | lib/arel/algebra/extensions/hash.rb | 2 | ||||
-rw-r--r-- | lib/arel/algebra/extensions/object.rb | 2 | ||||
-rw-r--r-- | lib/arel/algebra/extensions/symbol.rb | 2 | ||||
-rw-r--r-- | lib/arel/algebra/primitives/ordering.rb | 2 | ||||
-rw-r--r-- | lib/arel/engines/sql/extensions/array.rb | 2 | ||||
-rw-r--r-- | lib/arel/engines/sql/extensions/nil_class.rb | 2 | ||||
-rw-r--r-- | lib/arel/engines/sql/extensions/object.rb | 2 | ||||
-rw-r--r-- | lib/arel/engines/sql/extensions/range.rb | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/lib/arel/algebra/extensions/class.rb b/lib/arel/algebra/extensions/class.rb index 520111b90f..56cad3aaa8 100644 --- a/lib/arel/algebra/extensions/class.rb +++ b/lib/arel/algebra/extensions/class.rb @@ -25,7 +25,7 @@ module Arel } class_eval methods[method_name], __FILE__, __LINE__ end - + Class.send(:include, self) end end diff --git a/lib/arel/algebra/extensions/hash.rb b/lib/arel/algebra/extensions/hash.rb index 05c15e7ebe..c64225f685 100644 --- a/lib/arel/algebra/extensions/hash.rb +++ b/lib/arel/algebra/extensions/hash.rb @@ -5,7 +5,7 @@ module Arel bound.merge(key.bind(relation) => value.bind(relation)) end end - + Hash.send(:include, self) end end diff --git a/lib/arel/algebra/extensions/object.rb b/lib/arel/algebra/extensions/object.rb index d8c60b5dd5..85a4d951a4 100644 --- a/lib/arel/algebra/extensions/object.rb +++ b/lib/arel/algebra/extensions/object.rb @@ -11,7 +11,7 @@ module Arel def let yield(self) end - + Object.send(:include, self) end end diff --git a/lib/arel/algebra/extensions/symbol.rb b/lib/arel/algebra/extensions/symbol.rb index 9bb47ef7ab..f575ad533a 100644 --- a/lib/arel/algebra/extensions/symbol.rb +++ b/lib/arel/algebra/extensions/symbol.rb @@ -3,7 +3,7 @@ module Arel def to_attribute(relation) Arel::Attribute.new(relation, self) end - + Symbol.send(:include, self) end end diff --git a/lib/arel/algebra/primitives/ordering.rb b/lib/arel/algebra/primitives/ordering.rb index 3efb4c6280..8439e937a9 100644 --- a/lib/arel/algebra/primitives/ordering.rb +++ b/lib/arel/algebra/primitives/ordering.rb @@ -15,7 +15,7 @@ module Arel attributes :attribute deriving :initialize, :== end - + class Descending < Ordering attributes :attribute deriving :initialize, :== diff --git a/lib/arel/engines/sql/extensions/array.rb b/lib/arel/engines/sql/extensions/array.rb index 7f15179721..80041cb5f3 100644 --- a/lib/arel/engines/sql/extensions/array.rb +++ b/lib/arel/engines/sql/extensions/array.rb @@ -8,7 +8,7 @@ module Arel def inclusion_predicate_sql "IN" end - + Array.send(:include, self) end end diff --git a/lib/arel/engines/sql/extensions/nil_class.rb b/lib/arel/engines/sql/extensions/nil_class.rb index 8c335f904a..c3dbc8cd76 100644 --- a/lib/arel/engines/sql/extensions/nil_class.rb +++ b/lib/arel/engines/sql/extensions/nil_class.rb @@ -4,7 +4,7 @@ module Arel def equality_predicate_sql 'IS' end - + NilClass.send(:include, self) end end diff --git a/lib/arel/engines/sql/extensions/object.rb b/lib/arel/engines/sql/extensions/object.rb index 8fe63dba2f..9f15dff771 100644 --- a/lib/arel/engines/sql/extensions/object.rb +++ b/lib/arel/engines/sql/extensions/object.rb @@ -8,7 +8,7 @@ module Arel def equality_predicate_sql '=' end - + Object.send(:include, self) end end diff --git a/lib/arel/engines/sql/extensions/range.rb b/lib/arel/engines/sql/extensions/range.rb index 25bf1d01da..46124f8865 100644 --- a/lib/arel/engines/sql/extensions/range.rb +++ b/lib/arel/engines/sql/extensions/range.rb @@ -8,7 +8,7 @@ module Arel def inclusion_predicate_sql "BETWEEN" end - + Range.send(:include, self) end end |