Sha256: 5402345bd46f7717758dae275287eb4b0b4e6cfb06d9184c8cc7cc91f8ec94dc

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

# encoding: utf-8

require 'code-box/code_attribute'
require 'code-box/acts_as_code'

module CodeBox
  Config = { :i18n_model_segment => :activerecord }

  def i18n_model_segment=(segment)
    Config[:i18n_model_segment] = segment
  end
  def i18n_model_segment
    Config[:i18n_model_segment]
  end
  module_function :i18n_model_segment=, :i18n_model_segment
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code-box-0.2.0 lib/code-box.rb