<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,12 +7,6 @@ require &quot;rubygems&quot;
 
 load File.join( File.dirname(__FILE__),&quot;/lib/tasks/state_fu.rake&quot; )
 
-module Rakefile
-  def self.windows?
-    /djgpp|(cyg|ms|bcc)win|mingw/ =~ RUBY_PLATFORM
-  end
-end
-
 load 'lib/tasks/spec_last.rake'
 load 'lib/tasks/state_fu.rake'
 </diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -40,7 +40,7 @@ module StateFu
           end
         end
 
-        # complex event methods
+        # &quot;complex&quot; event methods (for events with more than one possible target)
         # the first argument is the target state
         # any remaining arguments are passed into the transition / transition query
 
@@ -58,7 +58,7 @@ module StateFu
         #
         # as per the method above, except that it also fires the event
 
-        # object.can_event_name? [:target], *arguments
+        # object.can_&lt;event_name&gt;? [:target], *arguments
         #
         # tests that calling event_name or event_name! would not raise an error
         # ie, the transition is legal and is valid with the arguments supplied
@@ -82,9 +82,10 @@ module StateFu
           end
         end
 
-        # methods dedicated to a combination of event and target
-        # all arguments are passed into the transition / transition query
-
+        # methods for a &quot;complex&quot; event with a specific target
+        # eg progress_to_deleted!(*args)
+        # is equivalent to progress!(:deleted, *args)
+        
         (simple_events + complex_events).each do |event|
           event.targets.each do |target|
             method_definitions[&quot;#{event.name}_to_#{target.name}&quot;]      = lambda do |*args|
@@ -100,6 +101,8 @@ module StateFu
             end
           end unless event.targets.nil?
         end
+        
+        # sugar: query methods for determining the current state
 
         machine.states.each do |state|
           method_definitions[&quot;#{state.name}?&quot;] = lambda do</diff>
      <filename>lib/method_factory.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,6 @@
 --loadby
 mtime
 --reverse
---debugger
 --require 
 spec/custom_formatter.rb
 --format </diff>
      <filename>spec/spec.opts</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a676a826683eb1862064bd471b92bca3561dc821</id>
    </parent>
  </parents>
  <author>
    <name>davidlee</name>
    <email>david@davelee.com.au</email>
  </author>
  <url>http://github.com/davidlee/state-fu/commit/174f9c82274832c80aebbda0549ae86db8891535</url>
  <id>174f9c82274832c80aebbda0549ae86db8891535</id>
  <committed-date>2009-10-17T05:07:37-07:00</committed-date>
  <authored-date>2009-10-17T05:07:37-07:00</authored-date>
  <message>remove debugger from spec.opts; comments</message>
  <tree>e1dd38aed90c80074bb199ae55927c2f0b189016</tree>
  <committer>
    <name>davidlee</name>
    <email>david@davelee.com.au</email>
  </committer>
</commit>
