Class: XCSim::BundleInfo
- Inherits:
-
Object
- Object
- XCSim::BundleInfo
- Defined in:
- lib/xcsim/rbBundleInfo.rb
Overview
Contains information about a certain application bundle
Instance Attribute Summary collapse
-
#bundleID ⇒ Object
readonly
Bundle ID of the application.
-
#bundlePath ⇒ Object
readonly
Absolute path for the application bundle directory.
-
#dataPath ⇒ Object
readonly
Absolute path for the application data directory.
Instance Method Summary collapse
-
#initialize(bundleID, bundlePath, dataPath) ⇒ BundleInfo
constructor
Initializes a BundleInfo instance with a given
bundleID
,bundlePath
,dataPath
. -
#inspect ⇒ Object
Returns
bundleID
. -
#to_s ⇒ Object
Same as #inspect.
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
#bundleID ⇒ Object (readonly)
Bundle ID of the application
68 69 70 |
# File 'lib/xcsim/rbBundleInfo.rb', line 68 def bundleID @bundleID end |
#bundlePath ⇒ Object (readonly)
Absolute path for the application bundle directory
71 72 73 |
# File 'lib/xcsim/rbBundleInfo.rb', line 71 def bundlePath @bundlePath end |
#dataPath ⇒ Object (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
#inspect ⇒ Object
Returns bundleID
84 85 86 |
# File 'lib/xcsim/rbBundleInfo.rb', line 84 def inspect @bundleID end |
#to_s ⇒ Object
Same as #inspect
89 90 91 |
# File 'lib/xcsim/rbBundleInfo.rb', line 89 def to_s inspect end |