Class: CuffSert::BaseRenderer

Inherits:
Object
  • Object
show all
Defined in:
lib/cuffsert/presenters.rb

Direct Known Subclasses

JsonRenderer, ProgressbarRenderer

Instance Method Summary collapse

Constructor Details

#initialize(output = STDOUT, error = STDERR, options = {}) ⇒ BaseRenderer

Returns a new instance of BaseRenderer.



147
148
149
150
151
# File 'lib/cuffsert/presenters.rb', line 147

def initialize(output = STDOUT, error = STDERR, options = {})
  @output = output
  @error = error
  @verbosity = options[:verbosity] || 1
end

Instance Method Details

#abort(message) ⇒ Object



159
# File 'lib/cuffsert/presenters.rb', line 159

def abort(message) ; end

#change_set(change_set) ⇒ Object



154
# File 'lib/cuffsert/presenters.rb', line 154

def change_set(change_set) ; end

#clearObject



156
# File 'lib/cuffsert/presenters.rb', line 156

def clear ; end

#done(event) ⇒ Object



160
# File 'lib/cuffsert/presenters.rb', line 160

def done(event) ; end

#event(event, resource) ⇒ Object



155
# File 'lib/cuffsert/presenters.rb', line 155

def event(event, resource) ; end

#report(message) ⇒ Object



158
# File 'lib/cuffsert/presenters.rb', line 158

def report(message) ; end

#resource(resource) ⇒ Object



157
# File 'lib/cuffsert/presenters.rb', line 157

def resource(resource) ; end

#templates(current, pending) ⇒ Object



153
# File 'lib/cuffsert/presenters.rb', line 153

def templates(current, pending) ; end