Method: RunLoop::Ipa#initialize
- Defined in:
- lib/run_loop/ipa.rb
#initialize(path_to_ipa) ⇒ Calabash::Ipa
Create a new ipa instance.
29 30 31 32 33 34 35 36 37 38 |
# File 'lib/run_loop/ipa.rb', line 29 def initialize(path_to_ipa) if !File.exist? path_to_ipa raise "Expected an ipa at '#{path_to_ipa}'" end if !RunLoop::Ipa.is_ipa?(path_to_ipa) raise "Expected '#{path_to_ipa}' have extension .ipa or be a zip archive" end @path = path_to_ipa end |