1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/models/bar.rb
2013-04-21 18:43:03 +02:00

15 lines
177 B
Ruby

class Bar
include AASM
aasm do
state :read
state :ended
event :foo do
transitions :to => :ended, :from => [:read]
end
end
end
class Baz < Bar
end