class Systemd::Unit::ServiceUnit

Object representation of a Systemd Service Unit object

Public Class Methods

new(unit_entry) click to toggle source
# File lib/systemd/unit/service_unit.rb, line 15
def initialize(unit_entry)
  @@indices.each { |key, value| send("#{key}=", unit_entry[value]) }
end