Module: Statsample::Writable

Included in:
DominanceAnalysis::Bootstrap
Defined in:
lib/statsample.rb

Instance Method Summary collapse

Instance Method Details

#save(filename) ⇒ Object


256
257
258
259
260
# File 'lib/statsample.rb', line 256

def save(filename)
  fp = File.open(filename, 'w')
  Marshal.dump(self, fp)
  fp.close
end