Top Level Namespace

Defined Under Namespace

Classes: BaseCommand, BuildApp, CommandFactory, DownloadCalabash, IOSCI, Launcher, Params, TestCalabash, TestCedar

Constant Summary collapse

ACTION_BUILD =
"build"
ACTION_CEDAR =
"cedar"
ACTION_CALABASH =
"calabash"
SIM_PATH =
"/usr/local/bin/ios-sim"

Instance Method Summary collapse

Instance Method Details



1
2
3
4
5
6
7
8
9
10
11
12
13
# File 'lib/extra/print_file.rb', line 1

def print_file(file)
  if !file.nil?
    if File.exist?(file)
      File.open(file, 'r') do | f |
        while line = f.gets
          puts line
        end
      end
    else
      puts "File not exists:\n#{file}"
    end
  end
end