module Kernel

Public Instance Methods

singleton_class() click to toggle source

Returns the object's singleton class.

@return [Class]

@api private

# File lib/dm-core/core_ext/kernel.rb, line 8
def singleton_class
  class << self
    self
  end
end

Private Instance Methods

repository(*args, &block) click to toggle source

Delegates to DataMapper.repository

@api public

# File lib/dm-core/core_ext/kernel.rb, line 19
def repository(*args, &block)
  DataMapper.repository(*args, &block)
end