Module: Foreplay

Included in:
Engine::Defaults, Engine::Port, Engine::Remote, Engine::Remote::Check, Engine::Remote::Step, Engine::Secrets::Location, Engine::Step
Defined in:
lib/foreplay.rb,
lib/foreplay/cli.rb,
lib/foreplay/setup.rb,
lib/foreplay/engine.rb,
lib/foreplay/version.rb,
lib/foreplay/launcher.rb,
lib/foreplay/engine/port.rb,
lib/foreplay/engine/role.rb,
lib/foreplay/engine/step.rb,
lib/foreplay/engine/logger.rb,
lib/foreplay/engine/remote.rb,
lib/foreplay/engine/server.rb,
lib/foreplay/engine/secrets.rb,
lib/foreplay/engine/defaults.rb,
lib/foreplay/engine/remote/step.rb,
lib/foreplay/engine/remote/check.rb,
lib/foreplay/engine/secrets/location.rb

Defined Under Namespace

Classes: CLI, Engine, Launcher, Setup

Constant Summary collapse

DEFAULT_PORT =
50_000
PORT_GAP =
1_000
VERSION =
'0.15.2'

Instance Method Summary collapse

Instance Method Details

#log(message, options = {}) ⇒ Object



10
11
12
# File 'lib/foreplay.rb', line 10

def log(message, options = {})
  Foreplay::Engine::Logger.new(message, options)
end

#terminate(message) ⇒ Object



14
15
16
# File 'lib/foreplay.rb', line 14

def terminate(message)
  fail message
end