Class: TeutonHost
- Inherits:
-
Object
- Object
- TeutonHost
- Defined in:
- lib/teuton/case_manager/case/builtin/teuton_host.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
- #file(param) ⇒ Object
-
#initialize(parent, host = 'localhost') ⇒ TeutonHost
constructor
A new instance of TeutonHost.
- #package(param) ⇒ Object
- #service(param) ⇒ Object
- #user(param) ⇒ Object
Constructor Details
#initialize(parent, host = 'localhost') ⇒ TeutonHost
Returns a new instance of TeutonHost.
11 12 13 14 |
# File 'lib/teuton/case_manager/case/builtin/teuton_host.rb', line 11 def initialize(parent, host = 'localhost') @parent = parent @host = host end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
9 10 11 |
# File 'lib/teuton/case_manager/case/builtin/teuton_host.rb', line 9 def host @host end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
8 9 10 |
# File 'lib/teuton/case_manager/case/builtin/teuton_host.rb', line 8 def parent @parent end |
Instance Method Details
#file(param) ⇒ Object
16 17 18 |
# File 'lib/teuton/case_manager/case/builtin/teuton_host.rb', line 16 def file(param) TeutonFile.new(self, param) end |
#package(param) ⇒ Object
20 21 22 |
# File 'lib/teuton/case_manager/case/builtin/teuton_host.rb', line 20 def package(param) Package.new(self, param) end |