Module: RubyReportable

Defined in:
lib/ruby_reportable/base.rb,
lib/ruby_reportable/filter.rb,
lib/ruby_reportable/output.rb,
lib/ruby_reportable/report.rb,
lib/ruby_reportable/source.rb,
lib/ruby_reportable/sandbox.rb,
lib/ruby_reportable/version.rb

Defined Under Namespace

Modules: Report Classes: Filter, Output, Sandbox, Source

Constant Summary collapse

VERSION =
"0.5.0"
@@reports =
{}

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
# File 'lib/ruby_reportable/base.rb', line 4

def self.included(base)
  base.send :extend, RubyReportable::Report
  base.clear

  @@reports[base.to_s] = base
end

.reportsObject



11
12
13
# File 'lib/ruby_reportable/base.rb', line 11

def self.reports
  @@reports
end