Sha256: 73404fcf9d703357ebebfeb3d4da445c8e257cce6432fba9cc1497b72aeb200f

Contents?: true

Size: 194 Bytes

Versions: 5

Compression:

Stored size: 194 Bytes

Contents

class Ginst::Plugin
  def self.plugins
    ::Ginst::Plugin.subclasses.map{|a| eval(a)}
  end
  def self.paths
    plugins.inject({}){|memo,plugin|
      memo.merge(plugin.paths)
    }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ginst-2009.12.8 lib/ginst/plugin.rb
ginst-2009.11.24 lib/ginst/plugin.rb
ginst-2009.11.23 lib/ginst/plugin.rb
ginst-2.0.1 lib/ginst/plugin.rb
ginst-2.0.0 lib/ginst/plugin.rb