Sha256: ae21bed28439bb12506ab6481cc29d09441a6ce3129ad3c48fc6aaf14fcb8f20
Contents?: true
Size: 596 Bytes
Versions: 41
Compression:
Stored size: 596 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) raise "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
41 entries across 41 versions & 1 rubygems