Skip to content

Commit

Permalink
quell warnings
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Sep 4, 2006
1 parent e2a397f commit 668c64b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions activesupport/lib/active_support/breakpoint.rb
Expand Up @@ -460,6 +460,11 @@ def result.last_value; end
old_CurrentContext old_CurrentContext
end end
end end

class << self
alias :old_parse_opts :parse_opts
remove_method :parse_opts
end
def IRB.parse_opts() end def IRB.parse_opts() end


class Context #:nodoc: class Context #:nodoc:
Expand Down
3 changes: 3 additions & 0 deletions activesupport/lib/active_support/deprecation.rb
Expand Up @@ -65,6 +65,9 @@ def extract_callstack(callstack)
mattr_accessor :behavior mattr_accessor :behavior
self.behavior = default_behavior self.behavior = default_behavior


# Warnings are not silenced by default.
self.silenced = false

module ClassMethods module ClassMethods
# Declare that a method has been deprecated. # Declare that a method has been deprecated.
def deprecate(*method_names) def deprecate(*method_names)
Expand Down

0 comments on commit 668c64b

Please sign in to comment.