class XcodeResultBundleProcessor::DirectoryResultsBundle

Public Class Methods

new(path) click to toggle source
# File lib/xcoderesultbundleprocessor/results_bundle.rb, line 3
def initialize(path)
  @path = Pathname.new(path)
end

Public Instance Methods

copy_file(source, destination) click to toggle source
# File lib/xcoderesultbundleprocessor/results_bundle.rb, line 15
def copy_file(source, destination)
  FileUtils.copy(@path.join(source), destination)
end
open_file(path, &block) click to toggle source
# File lib/xcoderesultbundleprocessor/results_bundle.rb, line 11
def open_file(path, &block)
  File.open(@path.join(path), &block)
end
read_plist(path) click to toggle source
# File lib/xcoderesultbundleprocessor/results_bundle.rb, line 7
def read_plist(path)
  CFPropertyList.native_types(CFPropertyList::List.new(file: @path.join(path)).value)
end