quell warnings

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2006-09-04 08:28:44 +00:00
parent e2a397ff8a
commit 668c64b48d
2 changed files with 8 additions and 0 deletions

View File

@ -460,6 +460,11 @@ module IRB #:nodoc:
old_CurrentContext
end
end
class << self
alias :old_parse_opts :parse_opts
remove_method :parse_opts
end
def IRB.parse_opts() end
class Context #:nodoc:

View File

@ -65,6 +65,9 @@ module ActiveSupport
mattr_accessor :behavior
self.behavior = default_behavior
# Warnings are not silenced by default.
self.silenced = false
module ClassMethods
# Declare that a method has been deprecated.
def deprecate(*method_names)