Class: Cldr::Thor
- Inherits:
-
Thor
- Object
- Thor
- Cldr::Thor
- Defined in:
- lib/cldr/thor.rb
Instance Method Summary collapse
Instance Method Details
#download ⇒ Object
13 14 15 16 |
# File 'lib/cldr/thor.rb', line 13 def download require 'cldr/download' Cldr.download(['source'], ['target']) end |
#export ⇒ Object
25 26 27 28 29 |
# File 'lib/cldr/thor.rb', line 25 def export $stdout.sync Cldr::Export.export(.dup.symbolize_keys) { putc '.' } puts end |