Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 1020 Bytes
# bork is copyright (c) 2012 Noel R. Cower.
#
# This file is part of bork.
#
# bork is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# bork is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with bork. If not, see <http://www.gnu.org/licenses/>.
module Bork
@@VERSION = '1.0.0'
def self.version
@@VERSION
end
autoload :Hub, 'bork/hub'
autoload :Station, 'bork/station'
def self.load_commands
Dir.foreach("#{File.dirname __FILE__}/bork/commands") {
|entry|
next if entry.start_with? '.'
require "bork/commands/#{entry}"
}
end
end
Jump to Line
Something went wrong with that request. Please try again.