Sha256: b909734ea1683f0b2119ffe085d30958e88b80b56c08fb4126f52b1239aaf4cf
Contents?: true
Size: 891 Bytes
Versions: 2
Compression:
Stored size: 891 Bytes
Contents
require 'date' require 'time' require 'pathname' require 'ipaddr' require 'pp' require 'maxcube/version' # Root project module that contains only project-related utilities module MaxCube # Gets path to project root directory # @return [String] path to project root directory def self.root_dir File.dirname __dir__ end # Gets path to +bin/+ project directory with executables # @return [String] path to +bin/+ project directory def self.bin_dir File.join(root_dir, 'bin') end # Gets path to +lib/+ project directory with Ruby source files # @return [String] path to +lib/+ project directory def self.lib_dir File.join(root_dir, 'lib') end # Gets path to +data/+ project directory # with input/output data for clients and servers # @return [String] path to +data/+ project directory def self.data_dir File.join(root_dir, 'data') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maxcube-client-0.5.1 | lib/maxcube.rb |
maxcube-client-0.5.0 | lib/maxcube.rb |