Sha256: 0d85df9cc8e0bffeb44dfa408eea081880d951c049de9865aa2c621710d829ac

Contents?: true

Size: 1.54 KB

Versions: 40

Compression:

Stored size: 1.54 KB

Contents

o:$YARD::CodeObjects::MethodObject:@parameters[:
@name:
load_all:@files[["plugin.rbi:@current_file_has_commentsF:
@tags[:@source"+def self.load_all
  plugins = []
  Find.find(File.expand_path(File.join(File.dirname(__FILE__),"..","/plugins/"))) do |a| 
    plugins << File.expand_path(a)
  end
  orig = Pago.constants
  plugins.each do |p|
    require p if p.include?(".rb")
    if p.include?(".yml")
      YAML.load_file(p).each{ |k,v| Pago::Site[k.to_s] = v } rescue puts "Warning! Skipping #{p}"
    end
  end
  added = Pago.constants - orig
  added.each{|d| 
    c = Pago.const_get(d)
    Pago::Plugins << c if c.respond_to?(:is_a_pago_plugin)        
  }      
  Pago::Plugins
end:@namespaceu:YARD::StubProxyPago::Plugin:@explicitT:@visibility:public:@docstringIC:YARD::Docstring":@ref_tags[:@line_range0;[:
@summary0:@objectu;Pago::Plugin.load_all:	@all":@signature"sdef self.load_all
      plugins = []
      Find.find(File.expand_path(File.join(File.dirname(__FILE__),"..","/plugins/"))) do |a| 
        plugins << File.expand_path(a)
      end
      orig = Pago.constants
      plugins.each do |p|
        require p if p.include?(".rb")
        if p.include?(".yml")
          YAML.load_file(p).each{ |k,v| Pago::Site[k.to_s] = v } rescue puts "Warning! Skipping #{p}"
        end
      end
      added = Pago.constants - orig
      added.each{|d| 
        c = Pago.const_get(d)
        Pago::Plugins << c if c.respond_to?(:is_a_pago_plugin)        
      }      
      Pago::Plugins
    end:@scope:
class:
@linei:@source_type:	ruby

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
caboodle-0.3.0 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.30 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.29 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.28 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.27 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.26 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.25 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.24 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.23 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.22 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.21 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.20 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.19 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.18 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.16 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.15 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.14 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.13 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.12 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat
caboodle-0.2.11 lib/.yardoc/objects/Pago/Plugin/load_all_c.dat