Module: Meta

Included in:
Configuration, Issue
Defined in:
lib/meta.rb

Instance Method Summary collapse

Instance Method Details

#create_method(name, &block) ⇒ Object



2
3
4
# File 'lib/meta.rb', line 2

def create_method( name, &block )
  self.class.send( :define_method, name.to_sym, &block )
end