Sha256: add8d03db8feccf4db067478677021df90c9c31c9019951454015bc023e86913
Contents?: true
Size: 422 Bytes
Versions: 7
Compression:
Stored size: 422 Bytes
Contents
module DeltaCloud module InstanceState class State attr_reader :name attr_reader :transitions def initialize(name) @name, @transitions = name, [] end end class Transition attr_reader :to attr_reader :action def initialize(to, action) @to = to @action = action end def auto? @action.nil? end end end end
Version data entries
7 entries across 7 versions & 2 rubygems