461 karma · joined July 15, 2009
http://www.padrinorb.com/guides/standalone-usage-in-sinatra#...
As for those four types, methods are one of the central pillars of Ruby, they are more than functions and they deserve their own type. Blocks are not a type, that's a common confusion. Lambdas are just what you'd expect, and more powerful than Python lambdas. Procs are there to support block syntax, again for convenience in the common use case, because if you used lambdas for blocks you wouldn't be able to return out of a method while inside a block such as a loop.
Filters aren't a "workaround," they are the part of the language for handling content.
http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#fi...
You don't have to sudo
It's up to you