class Statsample::Analysis::SuiteReportBuilder

Attributes

rb[RW]

Public Class Methods

new(opts=Hash.new,&block) click to toggle source
Calls superclass method Statsample::Analysis::Suite.new
# File lib/statsample/analysis/suitereportbuilder.rb, line 5
def initialize(opts=Hash.new,&block)
  if !opts.is_a? Hash
    opts={:name=>opts}
  end        
  super(opts,&block)
  @rb=opts[:rb] || ReportBuilder.new(:name=>name)
end

Public Instance Methods

boxplot(*args) click to toggle source
# File lib/statsample/analysis/suitereportbuilder.rb, line 32
def boxplot(*args)
  @rb.add(old_boxplot(*args))
end
desc(d) click to toggle source
# File lib/statsample/analysis/suitereportbuilder.rb, line 23
def desc(d)
  @rb.add(d)
end
echo(*args) click to toggle source
# File lib/statsample/analysis/suitereportbuilder.rb, line 26
def echo(*args)
  args.each do |a|
    @rb.add(a)
  end
end
generate(filename) click to toggle source
# File lib/statsample/analysis/suitereportbuilder.rb, line 12
def generate(filename)
  run if @block
  @rb.save(filename)
end
histogram(*args) click to toggle source
# File lib/statsample/analysis/suitereportbuilder.rb, line 35
def histogram(*args)
  @rb.add(old_histogram(*args))
end
summary(o) click to toggle source
# File lib/statsample/analysis/suitereportbuilder.rb, line 20
def summary(o)
  @rb.add(o)
end
to_text() click to toggle source
# File lib/statsample/analysis/suitereportbuilder.rb, line 16
def to_text
  run if @block
  @rb.to_text
end