Method: Fastlane::FastFile#puts

Defined in:
fastlane/lib/fastlane/fast_file.rb

#puts(value) ⇒ Object



444
445
446
447
448
449
450
451
452
# File 'fastlane/lib/fastlane/fast_file.rb', line 444

def puts(value)
  # Overwrite this, since there is already a 'puts' method defined in the Ruby standard library
  value ||= yield if block_given?

  action_launched('puts')
  return_value = Fastlane::Actions::PutsAction.run([value])
  action_completed('puts', status: FastlaneCore::ActionCompletionStatus::SUCCESS)
  return return_value
end