# File lib/state_machine/integrations/mongo_mapper/versions.rb, line 81 def self.active? # Only 0.8.x and up has a Version string available, so Plugins is used # to detect when 0.7.x is active defined?(::MongoMapper::Plugins) && (!defined?(::MongoMapper::Version) || ::MongoMapper::Version <= '0.8.3') end