module IESD

Install Electronic Software Delivery

Public Class Methods

new(url) click to toggle source

Initialize a new installer Object.

Returns an installer APP or DMG if the type of the installer is detected, otherwise nil.

# File lib/iesd/InstallESD.rb, line 7
def self.new url
  File.extname(url).downcase == ".app" ? IESD::APP.new(url) : IESD::DMG.new(url)
end