Sha256: e8be76dbcb00ccbad8a4ea580139c4e5f0b9290757df47e77df592ad3b2fb605

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 Bytes

Contents

# Robut plugins implement a simple interface to listen for messages
# and optionally respond to them. All plugins inherit from
# Robut::Plugin::Base.
module Robut::Plugin
  autoload :Base, 'robut/plugin/base'

  class << self
    # A list of all available plugin classes. When you require a new
    # plugin class, you should add it to this list if you want it to
    # respond to messages.
    attr_accessor :plugins
  end

  self.plugins = []

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
robut-0.2.1 lib/robut/plugin.rb
robut-0.2.0 lib/robut/plugin.rb