Module: Blank

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

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


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

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