Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/vendor/i18n/test/with_options.rb,
lib/vendor/i18n/test/test_helper.rb
Overview
this is only here so we can test I18n works nicely with ActiveSupports with_options. Maybe we can just remove it?
Instance Method Summary collapse
- #meta_class ⇒ Object
- #with_options(options) {|ActiveSupport::OptionMerger.new(self, options)| ... } ⇒ Object
Instance Method Details
#meta_class ⇒ Object
66 67 68 |
# File 'lib/vendor/i18n/test/test_helper.rb', line 66 def class << self; self; end end |
#with_options(options) {|ActiveSupport::OptionMerger.new(self, options)| ... } ⇒ Object
7 8 9 |
# File 'lib/vendor/i18n/test/with_options.rb', line 7 def () yield ActiveSupport::OptionMerger.new(self, ) end |