Sha256: cb6faa3395ee756b070bae553fdb8b9c1e054f570d8c8d734298325b6893e54b

Contents?: true

Size: 158 Bytes

Versions: 13

Compression:

Stored size: 158 Bytes

Contents

class Messages < Hyperloop::Store
  state messages: [], scope: :class, reader: :all 
  receives(SendToAll) { |params| mutate.messages << params.message }
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hyper-operation-0.5.12 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.11 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.10 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.9 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.8 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.7 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.6 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.5 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.4 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.3 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.2 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.1 examples/smoke_test/app/hyperloop/stores/messages.rb
hyper-operation-0.5.0 examples/smoke_test/app/hyperloop/stores/messages.rb