Module: Tcramer

Defined in:
lib/tcramer.rb,
lib/tcramer/engine.rb,
lib/tcramer/version.rb,
app/helpers/tcramer/application_helper.rb,
lib/generators/tcramer/install_generator.rb,
app/controllers/tcramer/application_controller.rb

Overview

Tcramer writes rake tasks!

Defined Under Namespace

Modules: ApplicationHelper Classes: ApplicationController, Engine, InstallGenerator

Constant Summary collapse

ISMS =
[
  'Why not?',
  'Mandatory fun!',
  'Agile groove',
  '🐹',
  "That's a great question, what do YOU think?",
  "What's your opinion of walruses?",
  'How soon before this is ready for production?',
  'Okay, but if you did have a spec, how long would it take?',
  '(entering a room) dun dun DUN',
  'Nailed it!',
  'Uh oh.',
  'Typed with my thumbs.',
  'Could you give a 5 minute demo on that?',
  'That was an interesting choice.',
  'APIs! APIs! APIs!',
  'The reward for good work is more work.',
  %{
                 __ ___'
               .'. -- . '.
              /U)  __   (O|
             /.'  ()()   '.\\._
           .',/;,_.--._.;;) . '--..__
          /  ,///|.__.|.\\\\\\  \\ '.  '.''---..___
         /'._ '' ||  ||  '' _'\\  :   \\   '   . '.
        /        ||  ||        '.,    )   )   :  \\
       :'-.__ _  ||  ||   _ __.' _\\_ .'  '   '   ,)
       (          '  |'        ( __= ___..-._ ( (.\\
       ('\\      .___ ___.      /'.___=          \\.\\.\\
       \\\\\\-..____________..-''
  },
  %(It's not just good; it's good ENOUGH.)
].freeze
FACE =

rubocop:disable Metrics/LineLength

%(
                                                              
                          8X@St8;%:8t%@8S                     
                 .:;t@t8;;;8%S;.88%@..:@tS;                   
                %8S:SSt%8@;S;88@8%%S X88.8.:88                
              ;;X  8%@XS8Xt88XXt%:t 8X8X8SS8% @8t             
          8X%8tS8XSXt%;t:;:S.. 8t888:.X@%XX8XSX8%SS..         
          @XXStS@SX8;@::X 8%XSX88X8tS8X8 t88..:.S;%%X         
         ;S;8t8@S::.... :::.::;tXXtt@tt%@t8..   8%:..@X8      
        8tXX:tt;:...  ..t88@t::......;S88%t:.  :.Xt   SS      
       ;S@St...t@8@X88@;:SStttt;;t:....%@X@8%.Xtt8S888XSX;    
      XS:t;.S.8 8      8:XXt;%St::..  .:::;S8SX. .%%;8%@88    
      .t@St.X8888S%t;%%;%88  888:S@88t....t::    .::.X:;8:S   
      tXX8:%:8St;t;;;::::;t;tt: :S8S8@8X..;;:X@X:....tX.8.X   
      S%8X%88S::;%XXSXXXSS%t;::.;;%S8@@88:8X :8 S8.:XtXt8:8t  
      @S8%88S:%@888888888888888888XSXS888@X888X%S88SXX...;@   
      S%@;8S.:888XX@X@@@@@X@88888@888SX8@S@@8888;t.8;....;:   
    8:8:%:X.:%8X888888888888@888888@888S8@@88888X.;X8.. .:%   
     X.8%88t;888888888888888888888888888888888888:%88;...;@   
   ;88%8S88Xt8@8888888888888888888888888@888888888%8;@ .:tX   
     :SX888XX8888888%8888888888888888888888888888X888:.:;X8   
    .XSS@S8S888888888888888@888888@@88@8888888888888Xt.%8XX   
    :888@S88@8@88888888SX@@8888@888888X888888@8888888t::t8.   
    .8%;@%S8@88X8%%tt;SX88X8888X888S88St;%SX%%S%8888 8;::8X@t 
   S.:t:888@88@S8@8 888@88S8888SX@@@@@888X8S88888@888SS;@@:88 
    %;XX88XX8@X t@88@%8%X. 888@888888@t8888X8SX888XSXSt.%8.X  
    S;:S88@8X8S8  XXS:..;S 888888888@%:.::.8S8X88XtS8 @8@. 8X 
    ;;S%S88XS%888:S88XS;%t8888@t8 X@8:@t:.S@88t8S88888X8@ S.; 
    :8S@S888S888Xt88X8 :8 S888%:t88 %t8X88tX%  888S8@888%@8St 
    :; ;%8888@S88X888 @8888888XS88888.8%   888@XS@8888X %@ t% 
    . t;X8888888888888 88@@88@8@@88@8888888888S8XX@8888;X88:8 
    .::;88888888888;S @8888888XX:@S8888@8. 8888S888XXX8888;.8 
    @ .;888888888888S88S8X8888@:888888X8S@tS8t8888X8S8S88%.:: 
     ;.t88888888888@X8S8888@@%.t888@88888;S8S88888@.t@S88;S8  
     %;;%@88888888888X8S 88t:..:S%%%t8t@8S888888@888%88888X   
        @8S@8888888888 ;8S888888@8X88  888888@8888@X S %      
          8t X888888S ;%S@88X8SSXXtX88@8@8X8888@88 888        
           t:X88888S%@8S.:%@ 8 %.88 888X8@ X%88@ S888         
           8.t88X88:  8@S;XXX@S @@X88888888 8  88S888         
           :S%88888@88X8 88888:%@8888@88X 888.8@@888          
            %tX888888   @8 t%@@:;S@@8@X88  8@888@88@          
             @XX888888X8%%;;;:.::;;%8888X@88X@8X888           
              ;%t88888@888  88 8888;8@@8888888888             
               %%88@888888888 t88888S@8 8@8888X88             
                XtS88888888.8 S@88 :8@8S88@888S               
                 8%;S888888X8@SS;tt;;:t%%8888                 
                   ;88SSXX@8%888XX@SX%;tSX8.8                 
                     :88t;%X@88%8S88XtX888 ;                  
                       .888SSS@X88888888:                     
                              ; X@                            
)
VERSION =
'1.2.0'

Class Method Summary collapse

Class Method Details

.manageObject

rubocop:enable Metrics/LineLength



98
99
100
101
102
103
# File 'lib/tcramer.rb', line 98

def self.manage
  selected_ism = ISMS.sample
  # 80% chance of returning string unzalgoized
  return selected_ism if Kernel.rand(5).positive?
  Zalgo.he_comes(selected_ism)
end

.motivateObject



105
106
107
# File 'lib/tcramer.rb', line 105

def self.motivate
  FACE
end