module Textbringer::Plugin
Attributes
directory[RW]
Public Class Methods
load_plugins()
click to toggle source
# File lib/textbringer/plugin.rb, line 9 def self.load_plugins files = Gem.find_latest_files("textbringer_plugin.rb", false) + Dir.glob(File.join(directory, "*/**/textbringer_plugin.rb")) files.each do |file| begin load(file) rescue Exception => e show_exception(e) end end end