Class: Module

Inherits:
Object show all
Defined in:
lib/safemode/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#undef_methods(*methods) ⇒ Object



10
11
12
# File 'lib/safemode/core_ext.rb', line 10

def undef_methods(*methods)
  methods.each { |name| undef_method(name) }
end