Class: Gym::Manager

Inherits:
Object
  • Object
show all
Defined in:
lib/gym/manager.rb

Instance Method Summary collapse

Instance Method Details

#work(options) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/gym/manager.rb', line 3

def work(options)
  Gym.config = options

  # Also print out the path to the used Xcode installation
  # We go 2 folders up, to not show "Contents/Developer/"
  values = Gym.config.values(ask: false)
  values[:xcode_path] = File.expand_path("../..", FastlaneCore::Helper.xcode_path)
  FastlaneCore::PrintTable.print_values(config: values,
                                     hide_keys: [],
                                         title: "Summary for gym #{Gym::VERSION}")

  return Runner.new.run
end