Method: RunLoop::Instruments#version

Defined in:
lib/run_loop/instruments.rb

#versionRunLoop::Version

Returns the instruments version.

Returns:



174
175
176
177
178
179
180
# File 'lib/run_loop/instruments.rb', line 174

def version
  @instruments_version ||= lambda do
    version_string = pbuddy.plist_read('CFBundleShortVersionString',
                                       path_to_instruments_app_plist)
    RunLoop::Version.new(version_string)
  end.call
end