From 379d2f358bb15ae3d9130b5c678a42b6d0cefada Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 30 Mar 2016 17:19:29 +0200 Subject: [PATCH] Qualify the namespace for Integrations --- lib/state_machines/yard/handlers/machine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/state_machines/yard/handlers/machine.rb b/lib/state_machines/yard/handlers/machine.rb index c34e0ca..b532074 100644 --- a/lib/state_machines/yard/handlers/machine.rb +++ b/lib/state_machines/yard/handlers/machine.rb @@ -117,7 +117,7 @@ def instance_attributes # Gets the type of ORM integration being used based on the list of # ancestors (including mixins) def integration - @integration ||= Integrations.match_ancestors(namespace.inheritance_tree(true).map { |ancestor| ancestor.path }) + @integration ||= StateMachines::Integrations.match_ancestors(namespace.inheritance_tree(true).map { |ancestor| ancestor.path }) end # Gets the class type being used to define states. Default is "Symbol".