Method: Inspec::Resources::Upstart#initialize
- Defined in:
- lib/inspec/resources/service.rb
#initialize(service_name, service_ctl = nil) ⇒ Upstart
Returns a new instance of Upstart.
345 346 347 348 |
# File 'lib/inspec/resources/service.rb', line 345 def initialize(service_name, service_ctl = nil) @service_ctl = service_ctl || "initctl" super end |