Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [129f2da60a7aca8490b6cef4376c4ca4f1798ee4] by Ernie Miller

Revision 129f2da60a7aca8490b6cef4376c4ca4f1798ee4, committed by Ernie Miller · June 27th, 2012 @ 08:44 AM

Use Ruby's initialize_copy for clone/dup

Ruby provides a method for implementing deep-copy on
objects called initialize_copy. This gets called after
a clone or dup, and is the more idiomatic way to handle
the sort of thing being done in the previously-defined
clone method.
https://github.com/rubyist/aasm/commit/129f2da60a7aca8490b6cef4376c...

1 changed file

  • M lib/aasm/state_machine.rb