Class: Thrust::IOSSpecTarget
- Inherits:
-
Object
- Object
- Thrust::IOSSpecTarget
- Defined in:
- lib/thrust/ios_spec_target.rb
Instance Attribute Summary collapse
-
#build_configuration ⇒ Object
readonly
Returns the value of attribute build_configuration.
-
#build_sdk ⇒ Object
readonly
Returns the value of attribute build_sdk.
-
#device ⇒ Object
readonly
Returns the value of attribute device.
-
#device_type_id ⇒ Object
readonly
Returns the value of attribute device_type_id.
-
#runtime_sdk ⇒ Object
readonly
Returns the value of attribute runtime_sdk.
-
#scheme ⇒ Object
readonly
Returns the value of attribute scheme.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ IOSSpecTarget
constructor
A new instance of IOSSpecTarget.
Constructor Details
#initialize(attributes) ⇒ IOSSpecTarget
Returns a new instance of IOSSpecTarget.
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/thrust/ios_spec_target.rb', line 12 def initialize(attributes) @build_configuration = attributes['build_configuration'] @build_sdk = attributes['build_sdk'] || 'iphonesimulator' @device = attributes['device'] || 'iphone' @device_type_id = attributes['device_type_id'] @runtime_sdk = attributes['runtime_sdk'] @scheme = attributes['scheme'] @target = attributes['target'] @type = attributes['type'] || 'app' end |
Instance Attribute Details
#build_configuration ⇒ Object (readonly)
Returns the value of attribute build_configuration.
3 4 5 |
# File 'lib/thrust/ios_spec_target.rb', line 3 def build_configuration @build_configuration end |
#build_sdk ⇒ Object (readonly)
Returns the value of attribute build_sdk.
3 4 5 |
# File 'lib/thrust/ios_spec_target.rb', line 3 def build_sdk @build_sdk end |
#device ⇒ Object (readonly)
Returns the value of attribute device.
3 4 5 |
# File 'lib/thrust/ios_spec_target.rb', line 3 def device @device end |
#device_type_id ⇒ Object (readonly)
Returns the value of attribute device_type_id.
3 4 5 |
# File 'lib/thrust/ios_spec_target.rb', line 3 def device_type_id @device_type_id end |
#runtime_sdk ⇒ Object (readonly)
Returns the value of attribute runtime_sdk.
3 4 5 |
# File 'lib/thrust/ios_spec_target.rb', line 3 def runtime_sdk @runtime_sdk end |
#scheme ⇒ Object (readonly)
Returns the value of attribute scheme.
3 4 5 |
# File 'lib/thrust/ios_spec_target.rb', line 3 def scheme @scheme end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
3 4 5 |
# File 'lib/thrust/ios_spec_target.rb', line 3 def target @target end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
3 4 5 |
# File 'lib/thrust/ios_spec_target.rb', line 3 def type @type end |