Class: Xcode::XCBuildConfiguration
- Inherits:
-
Object
- Object
- Xcode::XCBuildConfiguration
- Includes:
- PBXFormatter
- Defined in:
- lib/xcode/xc_build_configuration.rb
Instance Attribute Summary collapse
-
#build_settings ⇒ Object
readonly
Returns the value of attribute build_settings.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(name, build_settings) ⇒ XCBuildConfiguration
constructor
A new instance of XCBuildConfiguration.
Methods included from PBXFormatter
Constructor Details
#initialize(name, build_settings) ⇒ XCBuildConfiguration
Returns a new instance of XCBuildConfiguration.
6 7 8 9 10 |
# File 'lib/xcode/xc_build_configuration.rb', line 6 def initialize(name, build_settings) @id = Xcode.register(self) @name = name @build_settings = build_settings end |
Instance Attribute Details
#build_settings ⇒ Object (readonly)
Returns the value of attribute build_settings.
4 5 6 |
# File 'lib/xcode/xc_build_configuration.rb', line 4 def build_settings @build_settings end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/xcode/xc_build_configuration.rb', line 4 def id @id end |
Instance Method Details
#attributes ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/xcode/xc_build_configuration.rb', line 12 def attributes { "isa" => "XCBuildConfiguration", "name" => @name, "buildSettings" => @build_settings } end |