Sha256: 0622b37da050005e968aa2b659fd01b860640bf47e35eba16c3453d23c929188

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

require 'jp_prefecture/base'
require 'jp_prefecture/config'
require 'jp_prefecture/prefecture'
require 'jp_prefecture/version'

module JpPrefecture
  @config = Config.new

  def self.included(model_class)
    model_class.extend Base
  end

  def self.setup
    yield @config
  end

  def self.config
    @config
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jp_prefecture-1.1.1 lib/jp_prefecture.rb
jp_prefecture-1.1.0 lib/jp_prefecture.rb
jp_prefecture-1.0.0 lib/jp_prefecture.rb
jp_prefecture-1.0.0.rc1 lib/jp_prefecture.rb