Closed WaveformDelta closed 7 years ago
The standard Marshal module allows you to load not just from a string but from an IO handle, so that the following should work:
Marshal
File.open(filename, "rb") { |f| @data = Marshal.load(f) }
The above usage isn't supported by this gem; it would be useful to have.
The standard
Marshal
module allows you to load not just from a string but from an IO handle, so that the following should work:The above usage isn't supported by this gem; it would be useful to have.