Module: Blank

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

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


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

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