Sha256: 0eb89c3061f83d02b46c902ca54b2c3dcb68da5d5d9ebf3afd1f359d2938e836
Contents?: true
Size: 533 Bytes
Versions: 6
Compression:
Stored size: 533 Bytes
Contents
# -*- coding: utf-8 -*- require 'statemachine' module Dcmgr::Stm class Instance STM = Statemachine.build { startstate :pending superstate :instance_condition do trans :pending, :on_create, :starting trans :starting, :on_started, :running trans :running, :on_shutdown, :shuttingdown trans :shuttingdown, :on_terminated, :terminated event :on_fail, :failed end trans :failed, :on_fail, :failed } def initialize end end end
Version data entries
6 entries across 6 versions & 2 rubygems