Module: I18n::Keys::Index::Formatter::Stdin
- Extended by:
- Setup
- Defined in:
- lib/i18n/keys/formatter.rb
Instance Method Summary collapse
Methods included from Setup
Instance Method Details
#build(*args) ⇒ Object
14 15 16 17 18 |
# File 'lib/i18n/keys/formatter.rb', line 14 def build(*args) puts "building index \"#{name}\"" if I18n::Keys.verbose? super puts "\nfound #{occurences.size} occurences of #{keys.size} keys in #{files.size} files" if I18n::Keys.verbose? end |
#parse(file) ⇒ Object
25 26 27 28 29 |
# File 'lib/i18n/keys/formatter.rb', line 25 def parse(file) # puts " parsing #{file}" if I18n::Keys.verbose? putc '.' if I18n::Keys.verbose? super end |
#save ⇒ Object
20 21 22 23 |
# File 'lib/i18n/keys/formatter.rb', line 20 def save puts "saving index \"#{name}\"" if I18n::Keys.verbose? super end |