lib/coactive/lookups/name.rb in coactive-0.4.0 vs lib/coactive/lookups/name.rb in coactive-0.4.1
- old
+ new
@@ -9,14 +9,14 @@
end
private
def load_files
- Coactive::Loader.call(@config.load_paths)
+ Loader.call(@config.load_paths)
end
def lookup
- @config.base_class.coactions_map[@coactant].to_a.map(&:coactor)
+ Coactions[@config.base_class, @coactant].to_a.map(&:coactor)
end
class << self
def callable?(coactant)
coactant.is_a?(Symbol)