rubocop: syntax update

This commit is contained in:
Priit Tark 2015-06-09 16:24:43 +03:00
parent 4779b9fba1
commit 1654f87e04
2 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@ module I18n
class << self
alias_method :original_localize, :localize
def localize object, options = {}
def localize(object, options = {})
object.present? ? original_localize(object, options) : ''
end
end