Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 18ac0295091e5797c7d5228d974f5f077f98ef1d 2 parents 09c0aa7 + 0aa6028
@tigrish tigrish authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/i18n.rb
View
4 lib/i18n.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.