Sha256: 770d78338121021c03b09ef7e13d68d06caf6e9cc39c6933c88d1df382948403

Contents?: true

Size: 613 Bytes

Versions: 5

Compression:

Stored size: 613 Bytes

Contents

# Orderly and Alphabetical Require Statements
require 'rubygems'
require 'colorize'
require 'open-uri'
require 'json'

# To require all files.
require 'bukkit/create.rb'
require 'bukkit/download.rb'
require 'bukkit/install.rb'
require 'bukkit/start.rb'
require 'bukkit/uninstall.rb'
require 'bukkit/update.rb'
require 'bukkit/version.rb'
require 'bukkit/website.rb'

module Bukkit
	class Server
		def initialize(name)
			@name = name
		end
	end

	class Plugin
		def initialize(name)
			@name = name.downcase
			@plugin_api = JSON.parse(open("http://api.bukget.org/3/plugins/bukkit/#{@name}").read)
		end 
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bukkit-2.5.2 lib/bukkit.rb
bukkit-2.5.1 lib/bukkit.rb
bukkit-2.5.0 lib/bukkit.rb
bukkit-2.4.2 lib/bukkit.rb
bukkit-2.4.0 lib/bukkit.rb