class IESD::APP::InstallOSX
/Applications/Install OS X.app
The installer app for OS X Lion and later. It contains an InstallESD.dmg.
Constants
- INSTALLESD_DMG
The relative path to InstallESD.dmg.
Public Class Methods
validate(url)
click to toggle source
Return true if the app is Install OS X.app, otherwise false.
url - The String path to the app
# File lib/iesd/InstallESD/InstallOSX.app.rb, line 16 def self.validate url File.exist? File.join(url, INSTALLESD_DMG) end
Public Instance Methods
export(options)
click to toggle source
Export to a new DMG.
options - The Dictionary of the export options
# File lib/iesd/InstallESD/InstallOSX.app.rb, line 27 def export options IESD::DMG::InstallESD.new(File.join @url, INSTALLESD_DMG).export options end
valid?()
click to toggle source
Return true if the APP is an Install OS X.app, otherwise false.
# File lib/iesd/InstallESD/InstallOSX.app.rb, line 32 def valid? IESD::APP::InstallOSX.validate @url end