Sha256: efedf6724538812dcc69e629c97fbdb5f24a0d71955b9a87d62b2ac3ec37a639

Contents?: true

Size: 1.4 KB

Versions: 12

Compression:

Stored size: 1.4 KB

Contents

module Pantograph
  module Actions
    class RocketAction < Action
      def self.run(params)
        puts("
        ____
       /    \\
      |      |
      |      |
      |      |
       \\____/
       |    |
       |    |
       |    |
       |____|
      {|    |}
       |    |
       |    |
       | F  |
       | A  |
       | S  |
       | T  |
       | L  |
       | A  |
      /| N  |\\
      || E  ||
      ||    ||
      \\|____|/
       /_\\/_\\
       ######
      ########
       ######
        ####
        ####
         ##
         ##
         ##
         ##
         ")
        return "🚀"
      end

      #####################################################
      # @!group Documentation
      #####################################################

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

      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

      def self.available_options
        [
        ]
      end

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

      def self.is_supported?(platform)
        true
      end

      def self.example_code
        [
          'rocket'
        ]
      end

      def self.return_type
        :string
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pantograph-0.1.15 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.14 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.13 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.12 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.10 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.8 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.7 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.6 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.4 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.3 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.1 pantograph/lib/pantograph/actions/rocket.rb
pantograph-0.1.0 pantograph/lib/pantograph/actions/rocket.rb