Module: StateMachine::Integrations::Base

Extended by:
ClassMethods
Included in:
ActiveModel, ActiveRecord, DataMapper, MongoMapper, Mongoid, Sequel
Defined in:
lib/state_machine/integrations/base.rb

Overview

Provides a set of base helpers for managing individual integrations

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary

Attributes included from ClassMethods

#defaults

Class Method Summary collapse

Methods included from ClassMethods

available?, extended, integration_name, locale_path, matches?, matches_ancestors?, matching_ancestors, version, versions

Class Method Details

.included(base) ⇒ Object

:nodoc:



95
96
97
# File 'lib/state_machine/integrations/base.rb', line 95

def self.included(base) #:nodoc:
  base.class_eval { extend ClassMethods }
end