This post originated from an RSS feed registered with Ruby Buzz
by James Tucker.
Original Post: flexibility
Feed Title: ragged blog » Ruby
Feed URL: http://blog.ra66i.org/catagories/informatics/programming/ruby/feed/
Feed Description: blog of raggisms and random musings, by raggi™
(by category: ruby)
mmmm…. parser….
def foo( a = ( def foo; puts "BAR"; end; method(:foo) ) )
puts "FOO"
a.call
end
can’t say it’s all that safe for “production use” though.