class Gluer::RegistrationHook
Attributes
hook[R]
Public Class Methods
new(hook)
click to toggle source
# File lib/gluer/registration_hook.rb, line 5 def initialize(hook) @hook = hook end
Public Instance Methods
call(registry, context, *args, &block)
click to toggle source
# File lib/gluer/registration_hook.rb, line 9 def call(registry, context, *args, &block) hook.call(registry, context, *args, &block) end