Sha256: f69b1ca22d376bd40f8950d35929da1db895a58cfc229dc916ac816092c663da

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module Normalizy
  class << self
    def config
      @config ||= Config.new
    end

    def configure
      yield config
    end
  end
end

require 'active_record'
require 'normalizy/config'
require 'normalizy/extensions'
require 'normalizy/rspec/matcher'

ActiveRecord::Base.send :include, Normalizy::Extension

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
normalizy-0.2.0 lib/normalizy.rb
normalizy-0.1.0 lib/normalizy.rb