Class: Nauvisian::Save

Inherits:
Object
  • Object
show all
Defined in:
lib/nauvisian/save.rb

Class Method Summary collapse

Class Method Details

.load(zip_path) ⇒ Object



17
18
19
20
21
22
# File 'lib/nauvisian/save.rb', line 17

def self.load(zip_path)
  stream = stream(zip_path)
  des = Nauvisian::Deserializer.new(stream)

  new(**populate(des))
end