Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Whut

Name: Anonymous 2010-07-20 17:37

So in my quest to become an [s][b][u]Expert[/u] Programmer[/b][/s] rewriting my code to all fit on one line using anonymous functions. Works for c++, python, and javascript stuff. I was wondering if its possible to make and call a lambda function on the same line in ruby?

Name: Anonymous 2010-07-20 17:49

lambda {|x| puts "You suck #{x}"}.call "dicks"

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List