Public Class methods
plugins.init(self)
`init’ method is not defined on Module::Pluggable::Plugin. undefined methods are delegated to `call’ the plugins. In this case, `plugins.init(self)’ is same as `plugins.call(:init, self)’.
# File examples/simple.rb, line 23
23: def initialize
24: plugins.init(self)
25: end
Public Instance methods
# File examples/simple.rb, line 27
27: def say
28: plugins.each do |name, instance|
29: puts instance.say
30: end
31: end