Method: Hallmonitor::Outputter#initialize

Defined in:
lib/hallmonitor/outputter.rb

#initialize(name) ⇒ Outputter

Initializes a new Outputter outputter

Parameters:

  • name (Object)

    Probably a string or symbol, the name of this



9
10
11
12
# File 'lib/hallmonitor/outputter.rb', line 9

def initialize(name)
  fail(ArgumentError, 'Outputter expects a name') if name.nil?
  @name = name
end