Sha256: da2d4b35c86425e2b4a73339ebd88d758665ecb94ab5b85c9c48de043b36d380
Contents?: true
Size: 606 Bytes
Versions: 35
Compression:
Stored size: 606 Bytes
Contents
module Fastlane module Actions class SayAction < Action def self.run(params) text = params.join(' ') if params.kind_of?(Array) # that's usually the case text = params if params.kind_of?(String) UI.user_error!("You can't call the `say` action as OneOff") unless text text = text.tr("'", '"') Actions.sh("say '#{text}'") end def self.description "This action speaks out loud the given text" end def self.is_supported?(platform) true end def self.author "KrauseFx" end end end end
Version data entries
35 entries across 35 versions & 1 rubygems