Module: Kernel

Defined in:
lib/dm-core/support/kernel.rb

Instance Method Summary collapse

Instance Method Details

#repository(*args, &block) ⇒ Object

Delegates to DataMapper::repository. Will not overwrite if a method of the same name is pre-defined.



4
5
6
# File 'lib/dm-core/support/kernel.rb', line 4

def repository(*args, &block)
  DataMapper.repository(*args, &block)
end