Class: Fastlane::Actions::SayAction

Inherits:
Fastlane::Action show all
Defined in:
lib/fastlane/actions/say.rb

Class Method Summary collapse

Methods inherited from Fastlane::Action

author, available_options, details, output, sh

Class Method Details

.descriptionObject



9
10
11
# File 'lib/fastlane/actions/say.rb', line 9

def self.description
  "This action speaks out loud the given text"
end

.run(params) ⇒ Object



4
5
6
7
# File 'lib/fastlane/actions/say.rb', line 4

def self.run(params)
  text = params.join(' ')
  Actions.sh("say '#{text}'")
end