Class: XCSim::BundleInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/xcsim/rbBundleInfo.rb

Overview

Contains information about a certain application bundle

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bundleID, bundlePath, dataPath) ⇒ BundleInfo

Initializes a BundleInfo instance with a given bundleID, bundlePath, dataPath



77
78
79
80
81
# File 'lib/xcsim/rbBundleInfo.rb', line 77

def initialize(bundleID, bundlePath, dataPath)
  @bundleID = bundleID
  @bundlePath = bundlePath
  @dataPath = dataPath
end

Instance Attribute Details

#bundleIDObject (readonly)

Bundle ID of the application



68
69
70
# File 'lib/xcsim/rbBundleInfo.rb', line 68

def bundleID
  @bundleID
end

#bundlePathObject (readonly)

Absolute path for the application bundle directory



71
72
73
# File 'lib/xcsim/rbBundleInfo.rb', line 71

def bundlePath
  @bundlePath
end

#dataPathObject (readonly)

Absolute path for the application data directory



74
75
76
# File 'lib/xcsim/rbBundleInfo.rb', line 74

def dataPath
  @dataPath
end

Instance Method Details

#inspectObject

Returns bundleID



84
85
86
# File 'lib/xcsim/rbBundleInfo.rb', line 84

def inspect
  @bundleID
end

#to_sObject

Same as #inspect



89
90
91
# File 'lib/xcsim/rbBundleInfo.rb', line 89

def to_s
  inspect
end