Sha256: 37c5ee5d5da95a762e4e1332151db5b91732f74e5d02864e213a59d4b2db32cd
Contents?: true
Size: 249 Bytes
Versions: 4
Compression:
Stored size: 249 Bytes
Contents
module Biobot module Commands end end Dir[File.dirname(__FILE__) + "/commands/*.rb"].each do |filename| require filename klass = File.basename(filename, '.rb').capitalize Biobot::Base.send(:include, Biobot::Commands.const_get(klass)) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
viking-biobot-0.0.1 | lib/biobot/commands.rb |
viking-biobot-0.0.2 | lib/biobot/commands.rb |
viking-biobot-0.0.3 | lib/biobot/commands.rb |
viking-biobot-0.0.4 | lib/biobot/commands.rb |