Method: Fastlane::ActionsList.print_return_value

Defined in:
fastlane/lib/fastlane/documentation/actions_list.rb
[View source]

161
162
163
164
165
166
167
# File 'fastlane/lib/fastlane/documentation/actions_list.rb', line 161

def self.print_return_value(action, name)
  return unless action.return_value

  puts(Terminal::Table.new(title: "#{name} Return Value".green,
                            rows: FastlaneCore::PrintTable.transform_output([[action.return_value]])))
  puts("")
end