Skip to content

Instantly share code, notes, and snippets.

@JoeyButler
Created April 20, 2012 22:18
Show Gist options
  • Save JoeyButler/2432300 to your computer and use it in GitHub Desktop.
Save JoeyButler/2432300 to your computer and use it in GitHub Desktop.
Hack Challenge
require "rubygems"
require "ruby-debug"
require "test/unit"
class Object
def intensity
# Implementation goes here
end
end
class WtfBindingTest < Test::Unit::TestCase
def test_things_are_getting_intense
@intensity = 100
assert_equal 100, "anything".intensity
@intensity = 101
assert_equal 101, "anything else".intensity
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment