aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/state_machine/event.rb
diff options
context:
space:
mode:
authorrick <technoweenie@gmail.com>2008-06-28 11:33:50 -0700
committerrick <technoweenie@gmail.com>2008-06-28 11:33:50 -0700
commitc9e366e997c6f3a383cfaa6351fa847e92de7fe4 (patch)
tree1fce341c1b769bd78494bfb6a99a314b57d6a3ed /activemodel/lib/active_model/state_machine/event.rb
parenta9d9ca16c739ec39a192d29c62f760e51040fc6e (diff)
downloadrails-c9e366e997c6f3a383cfaa6351fa847e92de7fe4.tar.gz
rails-c9e366e997c6f3a383cfaa6351fa847e92de7fe4.tar.bz2
rails-c9e366e997c6f3a383cfaa6351fa847e92de7fe4.zip
all aasm tests without activerecord moved over and passing
Diffstat (limited to 'activemodel/lib/active_model/state_machine/event.rb')
-rw-r--r--activemodel/lib/active_model/state_machine/event.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activemodel/lib/active_model/state_machine/event.rb b/activemodel/lib/active_model/state_machine/event.rb
index ea4df343de..e8bc8ebdb7 100644
--- a/activemodel/lib/active_model/state_machine/event.rb
+++ b/activemodel/lib/active_model/state_machine/event.rb
@@ -37,10 +37,6 @@ module ActiveModel
@transitions.any? { |t| t.from? state }
end
- def success?
- !!@success
- end
-
def ==(event)
if event.is_a? Symbol
name == event