class Takelage::MutagenCheck

takelage mutagen check

Public Class Methods

new(args = [], local_options = {}, configuration = {}) click to toggle source

Initialize mutagen check

Calls superclass method
# File lib/takelage/mutagen/check/cli.rb, line 17
def initialize(args = [], local_options = {}, configuration = {})
  # initialize thor parent class
  super args, local_options, configuration

  @workdir = Dir.getwd

  inside = _docker_container_lib_check_matrjoschka
  @hostname = inside ? ENV['HOSTNAME'] : _docker_container_lib_hostname
  @hostlabel = "hostname=#{@hostname}"
end

Public Instance Methods

daemon() click to toggle source
# File lib/takelage/mutagen/check/cli.rb, line 36
def daemon
  exit mutagen_check_daemon
end