Parent

Module

copied from activesupport/core_ext from Rails, MIT license

Public Instance Methods

redefine_method(method, &block) click to toggle source
# File lib/dbus/core_ext/module/remove_method.rb, line 8
def redefine_method(method, &block)
  remove_possible_method(method)
  define_method(method, &block)
end
remove_possible_method(method) click to toggle source
# File lib/dbus/core_ext/module/remove_method.rb, line 3
def remove_possible_method(method)
  remove_method(method)
rescue NameError
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.