Jerod Santo

Buy the truth, and do net sell*
πŸ“‘ RSS πŸ“₯ News πŸ–‡οΈ LinkedIn πŸ™ GitHub πŸ“Έ Instagram πŸ“§ Contact πŸŽ™οΈ 𝕏

Ruby Rebus! Part Deux

It’s been ~18 months since my first Ruby Rebus challenge and, frankly, that’s just too long to ask y’alls nerds to wait. Wait no more! I’ve dreamt up 15 brand spankin’ new rebuses1 for your guessing pleasure.

Last round I only picked movies from IMDB’s Top 250 list. This time the tie that binds these movies is that I’ve seen them and I like them.

The other big change this time around is instant gratification. Instead of a follow-up post with the answers, just click the button under each rebus once you’ve figured it out (or given up)! Enough intro,

Rebus #1

throw :me if person.is_a? ConMan
Reveal Answer Catch Me If You can

Rebus #2

expect(Game).to receive(:play)
Reveal Answer

Spy Game

Gotta pull out your RSpec to solve this one.

Rebus #3

[].method :each
Reveal Answer

Looper

If you were thinking The Enumerator, you may have just stumbled upon Schwarzenegger’s next flick…

Rebus #4

"CATCGTAATGACGGCCT".dup
Reveal Answer

Gattaca

This one would be better if you couldn’t practically see the name in the string.

Rebus #5

[NoMethodError, NameError]
Reveal Answer

The Usual Suspects

Is it just me or do NoMethodError and NameError account for 95% of all errors?

Rebus #6

[Float.instance_method(:ceil), Float.instance_method(:floor)]
Reveal Answer

Rounders

At first I included the round method, but thought that’d be too easy.

Rebus #7

Actor = Struct.new :movie, :first_name
Actor.new "Argo", "John"
Actor.new "Monsters, Inc.", "John"
Actor.new "The Big Lebowski", "John"
Reveal Answer

A Few Good Men

It’s a few John Goodman movies. A few Goodman. Get it?!

Rebus #8

class Payment
  delegate :give, to: :other
end
Reveal Answer

Pay it Forward

This code requires Rails to actually execute, but hopefully it will never actually execute.

Rebus #9

class Object
  def initialize
    @afraid = true
  end
end
Reveal Answer

Primal Fear

Object is Ruby’s primordial ooze.

Rebus #10

%i(stop danger yield detour)
Reveal Answer

Signs

Symbols. Signs. You see what I did there.

Rebus #11

if s == "AZ"
  raise
end
Reveal Answer

Raising Arizona

The challenge here was having something represent Arizona without being obvious. I may have failed at that.

Rebus #12

60.times { sleep 1 } && exit
Reveal Answer

Gone in Sixty Seconds

Okay let’s ride

Rebus #13

begin
  [darren, judith].join
rescue
end
Reveal Answer

Saving Silverman

Judith escaped. DURR!

Rebus #14

class Time; def kill; abort; end; end
t = Time.now
t.kill
Reveal Answer

A Time to Kill

This code is utterly asinine.

Rebus #15

"γ‚Ήγ‚«γƒΌγƒ¬γƒƒγƒˆ".encode "ascii" rescue ""
Reveal Answer

Lost in Translation

This one is pretty rad, if I do say so myself.


Which was your favorite? Least favorite? How many of the 15 did you get right? Let me know in the comments!


  1. or is it rebi? ↩︎