module Pakyow::Application::Behavior::Plugins

@api private

Attributes

plugs[R]

Public Instance Methods

plug(name, instance = :default) click to toggle source
# File lib/pakyow/application/behavior/plugins.rb, line 21
def plug(name, instance = :default)
  @plugs.find { |plug|
    plug.class.plugin_name == name && plug.class.__object_name.namespace.parts.last == instance
  }
end