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


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

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