module MaxCube
Root project module that contains only project-related utilities
Constants
- VERSION
Project (package) version
Public Class Methods
bin_dir()
click to toggle source
Gets path to bin/
project directory with executables @return [String] path to bin/
project directory
# File lib/maxcube.rb, line 20 def self.bin_dir File.join(root_dir, 'bin') end
data_dir()
click to toggle source
Gets path to data/
project directory with input/output data for clients and servers @return [String] path to data/
project directory
# File lib/maxcube.rb, line 33 def self.data_dir File.join(root_dir, 'data') end
lib_dir()
click to toggle source
Gets path to lib/
project directory with Ruby source files @return [String] path to lib/
project directory
# File lib/maxcube.rb, line 26 def self.lib_dir File.join(root_dir, 'lib') end
root_dir()
click to toggle source
Gets path to project root directory @return [String] path to project root directory
# File lib/maxcube.rb, line 14 def self.root_dir File.dirname __dir__ end