Class: GTFS::LocalSource
Constant Summary
Constants inherited from Source
Source::DEFAULT_OPTIONS, Source::ENTITIES, Source::OPTIONAL_SOURCE_FILES, Source::REQUIRED_SOURCE_FILES, Source::SOURCE_FILES
Instance Attribute Summary
Attributes inherited from Source
Instance Method Summary collapse
Methods inherited from Source
build, #entries, #extract_to_cache, #files, finalize, #initialize, #parse_file, #raise_if_missing_source
Constructor Details
This class inherits a constructor from GTFS::Source
Instance Method Details
#load_archive(source_path) ⇒ Object
4 5 6 7 8 |
# File 'lib/gtfs/local_source.rb', line 4 def load_archive(source_path) extract_to_cache(source_path) rescue Exception => e raise InvalidSourceException.new(e.) end |