Sha256: d90e78f31c7972a6fcbd78e4d006d314567ddad673dd4a4873ab0bf174e27bcb

Contents?: true

Size: 177 Bytes

Versions: 30

Compression:

Stored size: 177 Bytes

Contents

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

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
aasm-4.1.1 spec/models/bar.rb
aasm-4.1.0 spec/models/bar.rb
aasm-4.0.8 spec/models/bar.rb
aasm-4.0.7 spec/models/bar.rb
aasm-4.0.6 spec/models/bar.rb
aasm-4.0.5 spec/models/bar.rb
aasm-4.0.4 spec/models/bar.rb
aasm-4.0.3 spec/models/bar.rb
aasm-4.0.2 spec/models/bar.rb
aasm-4.0.1 spec/models/bar.rb
aasm-4.0.0 spec/models/bar.rb
aasm-3.4.0 spec/models/bar.rb
aasm-3.3.3 spec/models/bar.rb
aasm-3.3.2 spec/models/bar.rb
aasm-3.3.1 spec/models/bar.rb
aasm-3.3.0 spec/models/bar.rb
aasm-3.2.1 spec/models/bar.rb
aasm-3.2.0 spec/models/bar.rb
aasm-3.1.1 spec/models/bar.rb
aasm-3.1.0 spec/models/bar.rb