Class: Pendaxes::Reporter

Inherits:
Object
  • Object
show all
Extended by:
Defaults, Finder
Includes:
PendingManager
Defined in:
lib/pendaxes/reporter.rb,
lib/pendaxes/reporters/haml.rb,
lib/pendaxes/reporters/json.rb,
lib/pendaxes/reporters/text.rb

Direct Known Subclasses

Haml, JSON, Text

Defined Under Namespace

Classes: Haml, JSON, Text

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Defaults

defaults

Methods included from Finder

announce, find, inherited

Methods included from PendingManager

#add, #all_pendings, #pendings, #reset

Constructor Details

#initialize(config = {}) ⇒ Reporter

Returns a new instance of Reporter.



15
16
17
18
# File 'lib/pendaxes/reporter.rb', line 15

def initialize(config={})
  @config = Hashr.new(self.class.defaults.merge(config))
  @pendings = []
end

Class Method Details

.html?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/pendaxes/reporter.rb', line 23

def self.html?
  false
end

Instance Method Details

#reportObject



20
21
# File 'lib/pendaxes/reporter.rb', line 20

def report
end