Module: I18n::Index::Format::Stdout::Hooks
- Defined in:
- lib/i18n/index/format.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
Instance Method Summary collapse
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
28 29 30 |
# File 'lib/i18n/index/format.rb', line 28 def format @format end |
Instance Method Details
#build(*args) ⇒ Object
30 31 32 33 34 |
# File 'lib/i18n/index/format.rb', line 30 def build(*args) format.out "indexing files ... " super format.out "found #{occurences.size} occurences of #{keys.size} keys in #{filenames.size} files in total\n" end |
#parse(file) ⇒ Object
41 42 43 44 |
# File 'lib/i18n/index/format.rb', line 41 def parse(file) format.out '.' super end |
#save ⇒ Object
36 37 38 39 |
# File 'lib/i18n/index/format.rb', line 36 def save format.out "saving index\n" super end |