Sha256: 857e956bdbd5d868e3384704d874bb005496e8628316fce4a49565e46f4284c0

Contents?: true

Size: 338 Bytes

Versions: 9

Compression:

Stored size: 338 Bytes

Contents

# coding: utf-8
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

9 entries across 9 versions & 1 rubygems

Version Path
jp_prefecture-0.11.0 lib/jp_prefecture.rb
jp_prefecture-0.10.0 lib/jp_prefecture.rb
jp_prefecture-0.9.0 lib/jp_prefecture.rb
jp_prefecture-0.8.1 lib/jp_prefecture.rb
jp_prefecture-0.8.0 lib/jp_prefecture.rb
jp_prefecture-0.7.0 lib/jp_prefecture.rb
jp_prefecture-0.6.0 lib/jp_prefecture.rb
jp_prefecture-0.5.0 lib/jp_prefecture.rb
jp_prefecture-0.4.0 lib/jp_prefecture.rb