class Fastlane::Actions::AsciiiAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/asciii/actions/asciii_action.rb, line 15
def self.authors
  ["Danielle Tomlinson"]
end
available_options() click to toggle source
# File lib/fastlane/plugin/asciii/actions/asciii_action.rb, line 26
def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :message,
                            env_name: "ASCIII_MESSAGE",
                         description: "The message to be rendered as ASCII",
                            optional: false,
                                type: String)
  ]
end
description() click to toggle source
# File lib/fastlane/plugin/asciii/actions/asciii_action.rb, line 11
def self.description
  "Add ascii text to your fastlane output"
end
details() click to toggle source
# File lib/fastlane/plugin/asciii/actions/asciii_action.rb, line 22
def self.details
  self.description
end
is_supported?(platform) click to toggle source
# File lib/fastlane/plugin/asciii/actions/asciii_action.rb, line 36
def self.is_supported?(platform)
  true
end
return_value() click to toggle source
# File lib/fastlane/plugin/asciii/actions/asciii_action.rb, line 19
def self.return_value
end
run(params) click to toggle source
# File lib/fastlane/plugin/asciii/actions/asciii_action.rb, line 4
def self.run(params)
  message = params[:message]
  require 'artii'
  a = Artii::Base.new
  UI.message("\n" + a.asciify(message))
end