aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-05-13 10:39:45 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-05-13 10:39:45 +0100
commit2270371f5dbabdd25ffcc59389249a795ba324a1 (patch)
tree2f03fe4fbc3b6128e918a3f1ed62efc40088452d /activesupport/lib
parent593e21d6aedcc05d744be4996bd7180edce57efe (diff)
downloadrails-2270371f5dbabdd25ffcc59389249a795ba324a1.tar.gz
rails-2270371f5dbabdd25ffcc59389249a795ba324a1.tar.bz2
rails-2270371f5dbabdd25ffcc59389249a795ba324a1.zip
Remove unnecessary DeprecatedInstanceVariable class
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/deprecation.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb
index e01ec92660..6aa379b550 100644
--- a/activesupport/lib/active_support/deprecation.rb
+++ b/activesupport/lib/active_support/deprecation.rb
@@ -176,23 +176,6 @@ module ActiveSupport
end
end
- class DeprecatedInstanceVariable < Delegator #:nodoc:
- def initialize(value, method)
- @method = method
- super(value)
- __setobj__(value)
- end
-
- def __getobj__
- ActiveSupport::Deprecation.warn("Instance variable @#{@method} is deprecated! Call instance method #{@method} instead.")
- @value
- end
-
- def __setobj__(value)
- @value = value
- end
- end
-
end
end