Method: ZergXcode::Plugins.all
- Defined in:
- lib/zerg_xcode/plugins/core/core.rb
.all ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/zerg_xcode/plugins/core/core.rb', line 15 def self.all plugin_dir = File.join(File.dirname(__FILE__), '..') plugins = Dir.entries(plugin_dir).select { |entry| /^[^_].*\.rb$/ =~ entry }.map { |entry| entry[0..-4] } return Set.new(plugins) end |