Skip to content

Commit

Permalink
make protected methods on I18n private until Ruby 1.9.2 can send to p…
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Dec 12, 2009
1 parent d822c81 commit 6b3f8bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/i18n.rb
Expand Up @@ -225,7 +225,9 @@ def localize(object, options = {})
end
alias :l :localize

protected
# making these private until Ruby 1.9.2 can send to protected methods again
# see http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=24280
private

# Handles exceptions raised in the backend. All exceptions except for
# MissingTranslationData exceptions are re-raised. When a MissingTranslationData
Expand Down

0 comments on commit 6b3f8bb

Please sign in to comment.