Skip to content

Instantly share code, notes, and snippets.

View cvshepherd's full-sized avatar

Collin Shepherd cvshepherd

  • Hanover, Germany
View GitHub Profile
#charset "CP1252"
#include <adv3.h>
#include <en_us.h>
/*
* Abstract body part class.
*
* This is not intended for direct use. It's only for inheriting sub-classes
* from it.
*/
@cvshepherd
cvshepherd / minitestissue.rb
Created December 27, 2011 13:11
Minitap issue with puts in tested method
require 'minitap'
MiniTest::Unit.runner = MiniTest::TapJ.new
require 'minitest/autorun'
require 'active_support/core_ext' # why do i have to require this?
class TestThis < MiniTest::Unit::TestCase
def my_method
puts "this will break tapout because of malformed output"
true
@cvshepherd
cvshepherd / v1.8
Created November 28, 2011 16:21
array_creation_ruby
my_array = []