module Datamappify

Constants

Config
VERSION

Public Class Methods

config(&block) click to toggle source

@yield

configuration block

@return [void]

# File lib/datamappify/config.rb, line 15
def self.config(&block)
  block.call(defaults)
end
defaults() click to toggle source

A Struct containing default configuration values

@return [Config]

# File lib/datamappify/config.rb, line 7
def self.defaults
  @defaults ||= Config.new
end
root() click to toggle source

@return [Pathname]

# File lib/datamappify.rb, line 6
def self.root
  Pathname.new("#{File.dirname(__FILE__)}/datamappify")
end