Method: RubyXL::GenericStorageObject.parse_file
- Defined in:
- lib/rubyXL/objects/storage.rb
permalink .parse_file(zip_file, file_path) ⇒ Object
[View source]
13 14 15 |
# File 'lib/rubyXL/objects/storage.rb', line 13 def self.parse_file(zip_file, file_path) (entry = zip_file.find_entry(RubyXL::from_root(file_path))) && self.new(file_path, entry.get_input_stream(&:read)) end |