quell warnings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
e2a397ff8a
commit
668c64b48d
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue