Sha256: ce5ac8b300a95e36492c19ad2f0e962f7f75eba16631dfe766a5dd88d8bed2c4

Contents?: true

Size: 98 Bytes

Versions: 8

Compression:

Stored size: 98 Bytes

Contents

class Button < ActiveRecord::Base
  include StatePattern::ActiveRecord
  set_initial_state On
end

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
state_pattern-2.0.2 ./examples/rails_3_button_example/app/models/button.rb
state_pattern-2.0.2 ./examples/rails_4_button_example/app/models/button.rb
state_pattern-2.0.1 ./examples/rails_3_button_example/app/models/button.rb
state_pattern-2.0.1 ./examples/rails_2_3_8_button_example/app/models/button.rb
state_pattern-2.0.0 ./examples/rails_2_3_8_button_example/app/models/button.rb
state_pattern-2.0.0 ./examples/rails_3_button_example/app/models/button.rb
state_pattern-1.3.0 ./examples/rails_3_button_example/app/models/button.rb
state_pattern-1.3.0 ./examples/rails_2_3_8_button_example/app/models/button.rb