Sha256: a5a73755d144ae810dd8649f3e1131b597ee27760f7f768526351ba0924241c1
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
module Mutator class Stateholder < Machine def self.transitions [ { from: [:initial_state], to: :second_state }, { from: [:second_state], to: :third_state } ] end end end class Stateholder include Mutator::Helpers attr_writer :state def state @state ||= :initial_state end def self.where(*) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mutator-0.1.0 | spec/support/test_classes.rb |