Class: God::Condition

Class | God::Condition
In: | lib/god/condition.rb
Parent: | Behavior

### Methods

friendly_name generate valid?

### Attributes

info | [RW] |
notify | [RW] |
phase | [RW] |
transition | [RW] |

### Public Class methods

generate(kind, watch)

Generate a Condition of the given kind. The proper class if found by camel casing the kind (which is given as an underscored symbol).

      +kind+ is the underscored symbol representing the class (e.g. :foo_bar for God::Conditions::FooBar)

valid?(condition)

### Public Instance methods

friendly_name()

Construct the friendly name of this Condition, looks like:

Condition FooBar on Watch ‘baz‘

[Validate]