Sha256: 05e74076985d132fee4b4f7d46f384c1dc182c0a8725e205fcde9c97c78a3688
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
# Used to auto-require all the source files located in lib/... def self.require_libs( filename, filemask ) file = ::File.expand_path(::File.join(::File.dirname(filename), filemask.gsub(/(?<!.rb)$/,'.rb'))) require file if File.exist?(file) && !File.directory?(file) Dir.glob(file).sort.each {|rb| require rb} end %W[galaxy/virtual_base galaxy/models/models galaxy/*].each {|rb| require_libs(__FILE__, rb)}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
galaxy-0.0.2 | lib/galaxy.rb |