Sha256: 512b4097b1acf6911e616ad45217418740f5391e760e58ee9691da5d62f3d7ef
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
module Spigoter module Plugins def self.get_plugin(data) case data['type'] when 'curse' f = Spigoter::PluginCurse.new(data['url']).download hash = {:name => "#{data['name']}.jar", :file => f} return hash else raise "Unkown source" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spigoter-0.1.2 | lib/spigoter/plugins.rb |