Class: Cinch::Plugins::Ryder

Inherits:
Object
  • Object
show all
Includes:
Cinch::Plugin
Defined in:
lib/cinch/plugins/ryder.rb

Constant Summary collapse

@@ryderdict =
[
  ["Slab", "Bulkhead"],
  ["Bridge", "Largemeat"],
  ["Punt", "Speedchunk"],
  ["Butch", "Deadlift"],
  ["Hold", "Bigflank"],
  ["Splint", "Chesthair"],
  ["Flint", "Ironstag"],
  ["Bolt", "Vanderhuge"],
  ["Thick", "McRunfast"],
  ["Blast", "Hardcheese"],
  ["Buff", "Drinklots"],
  ["Crunch", "Slamchest"],
  ["Fist", "Rockbone"],
  ["Stump", "Beefknob"],
  ["Smash", "Lampjaw"],
  ["Punch", "Rockgroin"],
  ["Buck", "Plankchest"],
  ["Stump", "Junkman"],
  ["Dirk", "Hardpec"],
  ["Rip", "Steakface"],
  ["Slate", "Slabrock"],
  ["Crud", "Bonemeal"],
  ["Brick", "Hardmeat"],
  ["Rip", "Slagcheek"],
  ["Punch", "Sideiron"],
  ["Gristle", "McThornbody"],
  ["Slate", "Fistcrunch"],
  ["Buff", "Hardback"],
  ["Bob", "Johnson"],
  ["Blast", "Thickneck"],
  ["Crunch", "Buttsteak"],
  ["Slab", "Squatthrust"],
  ["Lump", "Beefbroth"],
  ["Touch", "Rustrod"],
  ["Beef", "Blastbody"],
  ["Big", "McLargehuge"],
  ["Smoke", "Manmuscle"],
  ["Beat", "Punchmeat"],
  ["Hack", "Blowfist"],
  ["Roll", "Fizzlebeef"]
]

Instance Method Summary collapse

Instance Method Details

#execute(m) ⇒ Object


60
61
62
# File 'lib/cinch/plugins/ryder.rb', line 60

def execute(m)
  m.reply(ryder!);
end

#ryder!Object


55
56
57
# File 'lib/cinch/plugins/ryder.rb', line 55

def ryder!
  [@@ryderdict.sample[0], @@ryderdict.sample[1]].reject(&:empty?).join(" ")
end