Sha256: 74c8abb94a0b8678054932bb551bf9a876a85fb11b3a264c2dd9788dbf8a9410
Contents?: true
Size: 496 Bytes
Versions: 2
Compression:
Stored size: 496 Bytes
Contents
# encoding: utf-8 module Piglet module Inout module StorageTypes # :nodoc: LOAD_STORE_FUNCTIONS = { :binary_serializer => 'BinarySerializer', :binary_deserializer => 'BinaryDeserializer', :bin_storage => 'BinStorage', :pig_storage => 'PigStorage', :pig_dump => 'PigDump', :text_loader => 'TextLoader' } def resolve_load_store_function(name) LOAD_STORE_FUNCTIONS[name] || name.to_s end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
piglet-0.3.0 | lib/piglet/inout/storage_types.rb |
piglet-0.2.5 | lib/piglet/inout/storage_types.rb |