module Denormalizer

Public Class Methods

config() click to toggle source
# File lib/denormalizer/config.rb, line 11
def self.config
  @config
end
configure() { |config ||= configuration| ... } click to toggle source

create new configs by passing a block with the config assignment

# File lib/denormalizer/config.rb, line 7
def self.configure(&block)
  yield @config ||= Denormalizer::Configuration.new
end