Class: ServiceManager

Inherits:
Object
  • Object
show all
Defined in:
lib/resources/service.rb

Direct Known Subclasses

BSDInit, LaunchCtl, SrcMstr, SysV, Systemd, Upstart, WindowsSrv

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ ServiceManager

Returns a new instance of ServiceManager.



121
122
123
# File 'lib/resources/service.rb', line 121

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



120
121
122
# File 'lib/resources/service.rb', line 120

def inspec
  @inspec
end