Class: Module

Inherits:
Object
  • Object
show all
Defined in:
lib/famili/class_attribute.rb

Instance Method Summary collapse

Instance Method Details

#remove_possible_method(method) ⇒ Object



2
3
4
5
6
# File 'lib/famili/class_attribute.rb', line 2

def remove_possible_method(method)
  if method_defined?(method) || private_method_defined?(method)
    undef_method(method)
  end
end