Module: Finity

Defined in:
lib/finity/event.rb,
lib/finity.rb,
lib/finity/state.rb,
lib/finity/machine.rb,
lib/finity/version.rb,
lib/finity/transition.rb

Overview

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Defined Under Namespace

Modules: ClassMethods Classes: Event, InvalidCallback, InvalidState, Machine, MissingCallback, State, Transition

Constant Summary collapse

VERSION =
'0.1.1'

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Inject methods into the including class upon inclusion.



55
56
57
# File 'lib/finity.rb', line 55

def self.included base
  base.extend ClassMethods
end