Method: AvocadoFormatter::RSpec3#initialize

Defined in:
lib/avocado_formatter/rspec3.rb

#initialize(output) ⇒ RSpec3

Returns a new instance of RSpec3.



9
10
11
12
13
14
15
16
17
18
# File 'lib/avocado_formatter/rspec3.rb', line 9

def initialize(output)
  @output = output
  @group_level = 0
  @index_offset = 0
  @failed_notifications = []

  @hostname = 'localhost'
  @port = '1336'
  @socket = TCPSocket.open(@hostname, @port)
end