Class: ElchScan::Formatter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/elch_scan/formatter/base.rb

Direct Known Subclasses

Plain

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/elch_scan/formatter/base.rb', line 4

def initialize app
  @app = app
end

Instance Method Details

#c(*a) ⇒ Object



12
13
14
# File 'lib/elch_scan/formatter/base.rb', line 12

def c *a
  @app.c(*a)
end

#loggerObject



8
9
10
# File 'lib/elch_scan/formatter/base.rb', line 8

def logger
  @app.logger
end