Sha256: 03eb9b052467e0761fb5a297835dd92873c75a467b53478e6f9f1e738c9faa01

Contents?: true

Size: 485 Bytes

Versions: 21

Compression:

Stored size: 485 Bytes

Contents

require_relative "teuton_file"
require_relative "package"
require_relative "service"
require_relative "user"

class TeutonHost
  attr_reader :parent
  attr_reader :host

  def initialize(parent, host = "localhost")
    @parent = parent
    @host = host
  end

  def file(param)
    TeutonFile.new(self, param)
  end

  def package(param)
    Package.new(self, param)
  end

  def service(param)
    Service.new(self, param)
  end

  def user(param)
    User.new(self, param)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
teuton-2.3.7 lib/teuton/case_manager/case/builtin/teuton_host.rb