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.



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

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



118
119
120
# File 'lib/resources/service.rb', line 118

def inspec
  @inspec
end