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?, version, versions

Class Method Details

+ (Object) included(base)

:nodoc:



86
87
88
# File 'lib/state_machine/integrations/base.rb', line 86

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