Created
April 20, 2012 22:18
-
-
Save JoeyButler/2432300 to your computer and use it in GitHub Desktop.
Hack Challenge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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