Sha256: fdd64d6323c078f2c0bfc2df3376bdbc9cd1aed48961ba14bc173771bff78814
Contents?: true
Size: 641 Bytes
Versions: 3
Compression:
Stored size: 641 Bytes
Contents
# encoding: utf-8 require 'code-box/code_attribute' require 'code-box/acts_as_code' module CodeBox Config = { :i18n_model_segment => :activerecord, :i18n_empty_options_key => 'shared.options.pls_select', } def i18n_model_segment=(segment) Config[:i18n_model_segment] = segment end def i18n_model_segment Config[:i18n_model_segment] end def i18n_empty_options_key=(key) Config[:i18n_empty_options_key] = key end def i18n_empty_options_key Config[:i18n_empty_options_key] end module_function :i18n_model_segment, :i18n_model_segment=, :i18n_empty_options_key, :i18n_empty_options_key= end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
code-box-0.6.0 | lib/code-box.rb |
code-box-0.5.0 | lib/code-box.rb |
code-box-0.4.1 | lib/code-box.rb |