Class: LaunchDoctor::Launchd

Inherits:
PropertyList show all
Defined in:
lib/launchdr/launchd.rb

Constant Summary collapse

Paths =
{
  :user_agent => "~/Library/LaunchAgents",
  :agent => "/Library/LaunchAgents",
  :daemon => "/Library/LaunchDaemons", 
  :system_agent => "/System/Library/LaunchAgents",
  :system_daemon => "/System/Library/LaunchDaemons"
}

Instance Attribute Summary

Attributes inherited from PropertyList

#elements

Instance Method Summary collapse

Methods inherited from PropertyList

#dump, #initialize, load, #to_plist

Constructor Details

This class inherits a constructor from LaunchDoctor::PropertyList

Instance Method Details

#[](key) ⇒ Object

Nothing here as of yet. Maybe some convenience methods to come.



16
17
18
# File 'lib/launchdr/launchd.rb', line 16

def [] key
  super(key.to_s.camelcase)
end

#[]=(key, value) ⇒ Object



20
21
22
# File 'lib/launchdr/launchd.rb', line 20

def []= key, value
  super(key.to_s.camelcase, value)
end