Revision: 1082
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 7, 2006 17:08 by jnunemaker
Initial Code
def my_method(opts={}) {:arg_one => 'foo', :arg_two => 'two'}.merge(opts) end
Initial URL
Initial Description
Initial Title
Easy default options for methods in Ruby
Initial Tags
sql, class, object, html, rails, ruby, button
Initial Language
Other