Class: ProxyRb::Setup

Inherits:
Object
  • Object
show all
Defined in:
lib/proxy_rb/setup.rb

Overview

Setup proxy rb

Instance Method Summary collapse

Constructor Details

#initialize(runtime) ⇒ Setup

Returns a new instance of Setup.



12
13
14
# File 'lib/proxy_rb/setup.rb', line 12

def initialize(runtime)
  @runtime = runtime
end

Instance Method Details

#callObject



16
17
18
19
20
21
22
23
24
25
26
# File 'lib/proxy_rb/setup.rb', line 16

def call
  return if runtime.setup_already_done?

  events
  activate_announcer_channels
  output_warnings

  runtime.setup_done

  self
end