Permalink
Browse files

Merge pull request #169 from johnnyt/maglev-fix

Add parens to fix parse error in lib/i18n.rb in MagLev
  • Loading branch information...
2 parents 09c0aa7 + 0aa6028 commit 18ac0295091e5797c7d5228d974f5f077f98ef1d @tigrish tigrish committed Sep 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/i18n.rb
View
@@ -12,7 +12,7 @@ module I18n
RESERVED_KEYS = [:scope, :default, :separator, :resolve, :object, :fallback, :format, :cascade, :throw, :raise, :rescue_format]
RESERVED_KEYS_PATTERN = /%\{(#{RESERVED_KEYS.join("|")})\}/
- extend Module.new {
+ extend(Module.new {
# Gets I18n configuration object.
def config
Thread.current[:i18n_config] ||= I18n::Config.new
@@ -328,5 +328,5 @@ def default_exception_handler(exception, locale, key, options)
"(an instance of which is set to I18n.exception_handler by default)."
exception.is_a?(MissingTranslation) ? exception.message : raise(exception)
end
- }
+ })
end

0 comments on commit 18ac029

Please sign in to comment.