Skip to content

Instantly share code, notes, and snippets.

diff --git a/kernel/bootstrap/string.rb b/kernel/bootstrap/string.rb
index a6f066f..d26370c 100644
--- a/kernel/bootstrap/string.rb
+++ b/kernel/bootstrap/string.rb
@@ -1,5 +1,14 @@
# -*- encoding: us-ascii -*-
+module Rubinius
+ module String
+ def self.to_dbl(str, strict)
@zaeleus
zaeleus / shirt_big_18.rb
Created May 6, 2011 04:01
Ole Miss ACM t-shirt design in Ruby
#!/usr/bin/env ruby
def a(m );print (m); end;
require 'zlib' ;eval(%w(c ='#'; s=32.
chr;f="\n"; j=4;i= [25, 20,14,8,3,3,j,j,5
,5,6];a (s*3 0+c*4+ s*11+c*4+f);p=-1
;[28 ,38, 50 ,62 ,72].each{|n|a(s *i[
p+=1 ]+c *n +f) ;}; w=['c 1bxji 7',' 9ixq z9b'
,'7k 1eptf', '76 zemy2' ,'qoi m0x'] .map {|g| g.to_ i(36)
.to_ s(2) };[2,3 ]. eac h{|h |w[h ]='0 '+w[ h]};w[ 4]=('0