public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
I18n: remove #populate from Simple backend as well
mseppae (author)
Wed Aug 27 03:00:14 -0700 2008
svenfuchs (committer)
Wed Aug 27 03:00:14 -0700 2008
commit  cba83ede5de1b2630e244d46536439673f328900
tree    b12684a1e61a1ec5111fa19b05daede780891737
parent  2d03a4c668b0229ad070c04a7c82bd803bc25788
...
3
4
5
6
7
8
9
10
11
12
13
14
15
...
3
4
5
 
 
 
 
 
 
 
6
7
8
0
@@ -3,13 +3,6 @@ require 'strscan'
0
 module I18n
0
   module Backend
0
     class Simple
0
-      # Allow client libraries to pass a block that populates the translation
0
-      # storage. Decoupled for backends like a db backend that persist their
0
-      # translations, so the backend can decide whether/when to yield or not.
0
-      def populate(&block)
0
-        yield
0
-      end
0
-    
0
       # Accepts a list of paths to translation files. Loads translations from 
0
       # plain Ruby (*.rb) or YAML files (*.yml). See #load_rb and #load_yml
0
       # for details.

Comments