-
Recent Posts
Recent Comments
- mycall on PTOM: Breaking Free from HttpContext
- Brad Mead on Castle MicroKernel Fluent Event Wiring
- Brad Mead on Castle MicroKernel Fluent Event Wiring
- Brad Mead on Castle MicroKernel Fluent Event Wiring
- Tuna Toksoz on Castle MicroKernel Fluent Event Wiring
Archives
Categories
Meta
Monthly Archives: June 2010
Ruby Method Parameter Default Values – A Shortcut
Today was one of those moments where I thought to myself: “wouldn’t it be cool if I could”… and it turned out I could. In Ruby, you can give your method parameters default values: def my_method(a = 5) puts a … Continue reading
Posted in ruby
Leave a comment
