Method: Inspec::Resources::Service#runlevels
- Defined in:
- lib/resources/service.rb
#runlevels(*args) ⇒ Object
get all runlevels that are available and their configuration
190 191 192 193 |
# File 'lib/resources/service.rb', line 190 def runlevels(*args) return Runlevels.new(self) if info.nil? or info[:runlevels].nil? Runlevels.from_hash(self, info[:runlevels], args) end |