Let\'s say I want a method which will be called like this:
tiger = create_tiger( :num_stripes => 12, :max_speed => 43.2 ) tiger.num_stripes # will be 12
def foo(options = {}) options = { ... defaults ... }.merge(options) end