Module: Statsample::Writable

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

Instance Method Summary collapse

Instance Method Details

#save(filename) ⇒ Object



254
255
256
257
258
# File 'lib/statsample.rb', line 254

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