Module: Blank

Included in:
Commander::Command::Options
Defined in:
lib/commander/blank.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


4
5
6
7
8
# File 'lib/commander/blank.rb', line 4

def self.included(base)
  base.class_eval do
    instance_methods.each { |m| undef_method m unless m =~ /^__|object_id/ }
  end
end