Class: Ognivo::XcodeBuild::Settings
- Inherits:
-
Hash
- Object
- Hash
- Ognivo::XcodeBuild::Settings
- Defined in:
- lib/ognivo/xcodebuild.rb
Instance Method Summary collapse
- #find_app ⇒ Object
-
#initialize(hash = {}) ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize(hash = {}) ⇒ Settings
Returns a new instance of Settings.
14 15 16 |
# File 'lib/ognivo/xcodebuild.rb', line 14 def initialize(hash = {}) merge!(hash) end |
Instance Method Details
#find_app ⇒ Object
18 19 20 |
# File 'lib/ognivo/xcodebuild.rb', line 18 def find_app values.find { |settings| settings['WRAPPER_EXTENSION'] == 'app' } end |