Class: ServiceManager

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

Direct Known Subclasses

BSDInit, LaunchCtl, SysV, Systemd, Upstart, WindowsSrv

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ ServiceManager

Returns a new instance of ServiceManager.



109
110
111
# File 'lib/resources/service.rb', line 109

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



108
109
110
# File 'lib/resources/service.rb', line 108

def inspec
  @inspec
end