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

Methods

Attributes

info  [RW] 
notify  [RW] 
transition  [RW] 

Public Class methods

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)

Public Instance methods

Construct the friendly name of this Condition, looks like:

Condition FooBar on Watch ‘baz‘

[Validate]