Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
irb(main):004:0> $CLASSPATH << File.dirname(File.expand_path(__FILE__)) + '/lib/' => ["file:/Users/stephen/dev/ruby/src/gems/redcloth.git/lib/"] irb(main):005:0> include_class 'RedclothScanService' => ["RedclothScanService"] irb(main):006:0> include_class 'RedclothInline' => ["RedclothInline"] irb(main):007:0> include_class 'RedclothAttributes' => ["RedclothAttributes"] irb(main):009:0> include_class 'RedclothScanService$Base' NoMethodError: undefined method `RedclothScanService' for main:Object from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:74:in `include_class' irb(main):010:0> include_class Java::RedclothScanService::Base SyntaxError: /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:34: , unexpected tGVAR from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:33:in `include_class' irb(main):011:0> include_class 'Java::RedclothScanService::Base' NameError: cannot load Java class Java::RedclothScanService::Base from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:57:in `include_class' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:44:in `each' from /Users/stephen/dev/ruby/src/jruby.git/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:44:in `include_class' from (irb):12
This paste will be private.
From the Design Piracy series on my blog: