module ExtraMissing

Public Instance Methods

method_missing(sym, *args) click to toggle source
Calls superclass method
# File activesupport/test/core_ext/module_test.rb, line 76
def method_missing(sym, *args)
  if sym == :extra_missing
    42
  else
    super
  end
end
respond_to_missing?(sym, priv = false) click to toggle source
Calls superclass method
# File activesupport/test/core_ext/module_test.rb, line 84
def respond_to_missing?(sym, priv = false)
  sym == :extra_missing || super
end