get all runlevels that are available and their configuration
200 201 202 203
# File 'lib/resources/service.rb', line 200 def runlevels(*args) return Runlevels.new(self) if info.nil? or info[:runlevels].nil? Runlevels.from_hash(self, info[:runlevels], args) end