lib/state_machine.rb in state_machine-1.1.2 vs lib/state_machine.rb in state_machine-1.2.0
- old
+ new
@@ -1,5 +1,11 @@
+# By default, requiring "state_machine" means that both the core implementation
+# *and* extensions to the Ruby core (Class in particular) will be pulled in.
+#
+# If you want to skip the Ruby core extensions, simply require "state_machine/core"
+# and extend StateMachine::MacroMethods in your class. See the README for more
+# information.
require 'state_machine/core'
require 'state_machine/core_ext'