class Misfortune::CLI::CreditsCommand

Attributes

options[R]

Public Class Methods

new(options) click to toggle source
# File lib/misfortune/cli/credits_command.rb, line 6
def initialize(options)
  @options = options
end

Public Instance Methods

run() click to toggle source
# File lib/misfortune/cli/credits_command.rb, line 10
      def run
        puts <<-EOF.strip_heredoc
          Original essay: unmaintainable code (http://mindprod.com/jgloss/unmain.html) by Roedy Green
        EOF
        puts <<-EOF.strip_heredoc
          Markdown adaptation: How To Write Unmaintainable Code (https://github.com/Droogans/unmaintainable-code) by Andrew Yurisich
        EOF
        puts <<-EOF.strip_heredoc
          Source code: misfortune (https://github.com/nbekirov/misfortune) by Nikolay Bekirov
        EOF
      end