Module: Statsample::Summarizable

Overview

Provides method summary to generate summaries and include GetText

Instance Method Summary collapse

Instance Method Details

#summary(method = :to_text) ⇒ Object



264
265
266
# File 'lib/statsample.rb', line 264

def summary(method = :to_text)
  ReportBuilder.new(no_title: true).add(self).send(method)
end