Sha256: 6d249a8af3250245a6771446ab29b2a5e95d0fc83ed1313b12a23897aa91dc08

Contents?: true

Size: 338 Bytes

Versions: 10

Compression:

Stored size: 338 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.include Normalizy::Extension

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
normalizy-1.7.0 lib/normalizy.rb
normalizy-1.6.0 lib/normalizy.rb
normalizy-1.5.0 lib/normalizy.rb
normalizy-1.4.0 lib/normalizy.rb
normalizy-1.3.0 lib/normalizy.rb
normalizy-1.2.0 lib/normalizy.rb
normalizy-1.1.1 lib/normalizy.rb
normalizy-1.1.0 lib/normalizy.rb
normalizy-1.0.1 lib/normalizy.rb
normalizy-1.0.0 lib/normalizy.rb