Sha256: c5439f8b7f4398266def42599ca82e3c50a24dfa0c81ff1b41db320907f229b8
Contents?: true
Size: 441 Bytes
Versions: 2
Compression:
Stored size: 441 Bytes
Contents
require 'rubygems' require 'test/unit' require 'context' #gem install jeremymcanally-context -s http://gems.github.com require 'matchy' #gem install jeremymcanally-matchy -s http://gems.github.com require 'mocha' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'hirb' class Test::Unit::TestCase end class String def unindent(num=nil) regex = num ? /^\s{#{num}}/ : /^\s*/ gsub(regex, '').chomp end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
cldwalker-hirb-0.1.2 | test/test_helper.rb |
hirb-0.1.2 | test/test_helper.rb |