Class: ProxyRb::Setup
- Inherits:
-
Object
- Object
- ProxyRb::Setup
- Defined in:
- lib/proxy_rb/setup.rb
Overview
Setup proxy rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(runtime) ⇒ Setup
constructor
A new instance of Setup.
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
#call ⇒ Object
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 |