Class: Fastlane::Actions::RocketAction

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

Constant Summary

Constants inherited from Fastlane::Action

Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES

Documentation collapse

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, author, deprecated_notes, lane_context, method_missing, other_action, output, return_value, sample_return_value, shell_out_should_use_bundle_exec?, step_text

Class Method Details

.authorsObject



60
61
62
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 60

def self.authors
  ["JaviSoto", "radex"]
end

.available_optionsObject



55
56
57
58
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 55

def self.available_options
  [
  ]
end

.categoryObject



78
79
80
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 78

def self.category
  :misc
end

.descriptionObject



47
48
49
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 47

def self.description
  "Outputs ascii-art for a rocket 🚀"
end

.detailsObject



51
52
53
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 51

def self.details
  "Print an ascii Rocket :rocket:. Useful after using _crashlytics_ or _pilot_ to indicate that your new build has been shipped to outer-space."
end

.example_codeObject



68
69
70
71
72
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 68

def self.example_code
  [
    'rocket'
  ]
end

.is_supported?(platform) ⇒ Boolean

Returns:



64
65
66
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 64

def self.is_supported?(platform)
  true
end

.return_typeObject



74
75
76
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 74

def self.return_type
  :string
end

.run(params) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'fastlane/lib/fastlane/actions/rocket.rb', line 4

def self.run(params)
  puts("
  ____
 /    \\
|      |
|      |
|      |
 \\____/
 |    |
 |    |
 |    |
 |____|
{|    |}
 |    |
 |    |
 | F  |
 | A  |
 | S  |
 | T  |
 | L  |
 | A  |
/| N  |\\
|| E  ||
||    ||
\\|____|/
 /_\\/_\\
 ######
########
 ######
  ####
  ####
   ##
   ##
   ##
   ##
   ")
  return "🚀"
end