class Systemd::Unit::ServiceUnit
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