class XcMetricsAggregator::Crawler
Public Class Methods
execute()
click to toggle source
# File lib/xc_metrics_aggregator/crawler.rb, line 9 def self.execute script_fullpath = File.join(ROOT_DIR, APPLE_SCRIPT_FILE) command ="#{APPLE_SCRIPT_EXECUTION} #{script_fullpath}" Open3.popen3(command) do |i, o, e, w| o.each do |line| puts line end e.each do |line| puts line end puts w.value end end