Sha256: 6b169b367d8bae8d5d464489ff4ac7aa1e5578680aa4e377202f91290d8cd2cb
Contents?: true
Size: 249 Bytes
Versions: 2
Compression:
Stored size: 249 Bytes
Contents
class Switch < ActiveRecord::Base # Tracks the callbacks that were invoked attr_reader :callbacks # Dynamic sets the initial state attr_accessor :initial_state def initialize(attributes = nil) @callbacks = [] super end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
state_machine-0.1.1 | test/app_root/app/models/switch.rb |
state_machine-0.1.0 | test/app_root/app/models/switch.rb |