Class: Ognivo::XcodeBuild::Settings

Inherits:
Hash
  • Object
show all
Defined in:
lib/ognivo/xcodebuild.rb

Instance Method Summary collapse

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_appObject



18
19
20
# File 'lib/ognivo/xcodebuild.rb', line 18

def find_app
  values.find { |settings| settings['WRAPPER_EXTENSION'] == 'app' }
end