Module: Statsample::Writable

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

Instance Method Summary collapse

Instance Method Details

#save(filename) ⇒ Object


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

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