summaryrefslogtreecommitdiff
path: root/storage/mroonga/vendor/groonga/lib/mrb/scripts/plugin_loader.rb
blob: 09b972f120d0892b133ff46693105806057b0b49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Groonga
  class PluginLoader
    class << self
      def load_file(path)
        begin
          load(path)
        rescue => error
          Context.instance.record_error(:plugin_error, error)
          nil
        end
      end
    end
  end
end