lib/inspec/resources/service.rb
def startmode
      return nil if info.nil?

      info[:startmode]
    end
# returns the service start up mode from info
returns the service start up mode from info
returns the service start up mode from info
def startmode
      return nil if info.nil?
      info[:startmode]
    end
def startmode return nil if info . nil? info [ :startmode ] end
returns the service start up mode from info
returns the service start up mode from info