Module: Processor
- Defined in:
- lib/localio/processor.rb
Class Method Summary collapse
Class Method Details
.load_localizables(platform_options, service, options) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/localio/processor.rb', line 6 def self.load_localizables(, service, ) case service when :google_drive GoogleDriveProcessor.load_localizables , when :xls XlsProcessor.load_localizables , when :xlsx XlsxProcessor.load_localizables , else raise ArgumentError, 'Unsupported service! Try with :google_drive, :xlsx or :xls in the source argument' end end |