Class: Shenzhen::XcodeBuild::Settings
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Shenzhen::XcodeBuild::Settings
- Includes:
- Enumerable
- Defined in:
- lib/shenzhen/xcodebuild.rb
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(hash = {}) ⇒ Settings
constructor
A new instance of Settings.
- #members ⇒ Object
Constructor Details
#initialize(hash = {}) ⇒ Settings
Returns a new instance of Settings.
8 9 10 11 |
# File 'lib/shenzhen/xcodebuild.rb', line 8 def initialize(hash = {}) super self.targets = hash.keys end |
Instance Method Details
#each ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/shenzhen/xcodebuild.rb', line 17 def each members.each do |target| yield target, send(target) end self end |
#members ⇒ Object
13 14 15 |
# File 'lib/shenzhen/xcodebuild.rb', line 13 def members self.targets end |