Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class String define_method "test_params" do |a,b,*c| puts c.inspect end end "this will break".test_params("foo","bar","baz") # ArgumentError: method 'test_params': given 3, expected 2
This paste will be private.
From the Design Piracy series on my blog: