Method: RunLoop::Environment.path_to_app_bundle
- Defined in:
- lib/run_loop/environment.rb
.path_to_app_bundle ⇒ Object
Returns to the path to the app bundle (simulator builds).
Both APP_BUNDLE_PATH and APP are checked and in that order.
Use of APP_BUNDLE_PATH is deprecated and will be removed.
71 72 73 74 75 76 77 78 |
# File 'lib/run_loop/environment.rb', line 71 def self.path_to_app_bundle value = ENV['APP_BUNDLE_PATH'] || ENV['APP'] if !value || value == '' nil else File.(value) end end |