Skip to content

Instantly share code, notes, and snippets.

Avatar

David Brady dbrady

View GitHub Profile
@dbrady
dbrady / donkey_patches.rb
Created Jul 27, 2011 — forked from blowmage/edgecase.rb
Ruby Koans Hackfest
View donkey_patches.rb
#!/usr/bin/env ruby
# -*- ruby -*-
# This is a fully-functional set of donkey patches that will break
# Ruby so badly that it makes all of the Ruby Koans pass right out of
# the box. ALl you need to do is patch edgecase.rb with this line:
#
# require File.expand_path(File.dirname(__FILE__) + '/donkey_patches')
#
# so it's the first line of the file. Then save this file as
@dbrady
dbrady / edgecase.rb
Created Jul 27, 2011 — forked from blowmage/edgecase.rb
Ruby Koans Hackfest
View edgecase.rb
#!/usr/bin/env ruby
# -*- ruby -*-
require 'test/unit/assertions'
class Object
def method_missing *args
true
end
end
You can’t perform that action at this time.