diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-05-31 10:47:24 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-05-31 10:47:24 -0300 |
commit | 8a3327526fab96745850606a45f7ccf5ad9e868a (patch) | |
tree | 26871ed485ac347f25792c72bd9737786a106b81 /lib/arel/algebra | |
parent | 2dfc72755e57cce0dd9ccbf5d8151e65a83660d8 (diff) | |
download | rails-8a3327526fab96745850606a45f7ccf5ad9e868a.tar.gz rails-8a3327526fab96745850606a45f7ccf5ad9e868a.tar.bz2 rails-8a3327526fab96745850606a45f7ccf5ad9e868a.zip |
Remove unnecessary code since AS beta1 is out.
Diffstat (limited to 'lib/arel/algebra')
-rw-r--r-- | lib/arel/algebra/core_extensions/object.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/arel/algebra/core_extensions/object.rb b/lib/arel/algebra/core_extensions/object.rb index 82fa28546c..85a4d951a4 100644 --- a/lib/arel/algebra/core_extensions/object.rb +++ b/lib/arel/algebra/core_extensions/object.rb @@ -12,19 +12,6 @@ module Arel yield(self) end - # TODO remove this when ActiveSupport beta1 is out. - # Returns the object's singleton class. - def singleton_class - class << self - self - end - end unless respond_to?(:singleton_class) - - # class_eval on an object acts like singleton_class_eval. - def class_eval(*args, &block) - singleton_class.class_eval(*args, &block) - end - Object.send(:include, self) end end |