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.9.2 lib/teuton/case/builtin/teuton_host.rb
teuton-2.9.1 lib/teuton/case/builtin/teuton_host.rb
teuton-2.9.0 lib/teuton/case/builtin/teuton_host.rb
teuton-2.8.0 lib/teuton/case/builtin/teuton_host.rb
teuton-2.7.3 lib/teuton/case/builtin/teuton_host.rb
teuton-2.7.2 lib/teuton/case/builtin/teuton_host.rb
teuton-2.7.1 lib/teuton/case/builtin/teuton_host.rb
teuton-2.7.0 lib/teuton/case/builtin/teuton_host.rb
teuton-2.6.0 lib/teuton/case/builtin/teuton_host.rb
teuton-2.5.0 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.4.5 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.4.4 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.4.3 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.4.2 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.4.1 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.4.0 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.3.11 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.3.10 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.3.9 lib/teuton/case_manager/case/builtin/teuton_host.rb
teuton-2.3.8 lib/teuton/case_manager/case/builtin/teuton_host.rb