aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorMarko Seppae <marko.seppa@gmail.com>2008-08-27 12:00:14 +0200
committerSven Fuchs <svenfuchs@artweb-design.de>2008-08-27 12:00:14 +0200
commitcba83ede5de1b2630e244d46536439673f328900 (patch)
treeb12684a1e61a1ec5111fa19b05daede780891737 /activesupport/lib/active_support
parent2d03a4c668b0229ad070c04a7c82bd803bc25788 (diff)
downloadrails-cba83ede5de1b2630e244d46536439673f328900.tar.gz
rails-cba83ede5de1b2630e244d46536439673f328900.tar.bz2
rails-cba83ede5de1b2630e244d46536439673f328900.zip
I18n: remove #populate from Simple backend as well
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb b/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb
index 45d61fae31..2e966a51be 100644
--- a/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb
+++ b/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb
@@ -3,13 +3,6 @@ require 'strscan'
module I18n
module Backend
class Simple
- # Allow client libraries to pass a block that populates the translation
- # storage. Decoupled for backends like a db backend that persist their
- # translations, so the backend can decide whether/when to yield or not.
- def populate(&block)
- yield
- end
-
# Accepts a list of paths to translation files. Loads translations from
# plain Ruby (*.rb) or YAML files (*.yml). See #load_rb and #load_yml
# for details.