module Loom
10/21/2018: I resurrected this from an auto save file from a LOONNGGGG time ago., not really sure exactly what the original purpose is, but it has the code for uploading the harness script. I believe this was working at one point, but that was long ago
Constants
- ConfigError
- ExecutionError
- LoomError
- UnparseableHostStringError
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/loom.rb, line 14 def config unless @config @config = Loom::Config.configure config_changed end @config end
configure(&block)
click to toggle source
# File lib/loom.rb, line 9 def configure(&block) @config = Loom::Config.configure @config, &block config_changed end
log()
click to toggle source
# File lib/loom.rb, line 26 def log @logger ||= config_logger end
reset_config()
click to toggle source
# File lib/loom.rb, line 22 def reset_config @config = nil end
Private Class Methods
config_changed()
click to toggle source
# File lib/loom.rb, line 31 def config_changed SSHKit.config.output_verbosity = config.sshkit_log_level SSHKit.config.default_runner = config.sshkit_execution_strategy @logger = nil end
config_logger()
click to toggle source
# File lib/loom.rb, line 37 def config_logger @logger = Loom::Logger.configure config end