Module | Amalgalite::Paths
In: | lib/amalgalite/paths.rb lib/amalgalite/paths.rb

Paths contains helpful methods to determine paths of files inside the Amalgalite library

### Methods

config_path config_path data_path data_path ext_path ext_path lib_path lib_path root_dir root_dir spec_path spec_path sub_path sub_path

### Public Class methods

config_path(*args)

returns: | [String] The full expanded path of the `config` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if args are not present.

config_path(*args)

returns: | [String] The full expanded path of the `config` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if args are not present.

data_path(*args)

returns: | [String] The full expanded path of the `data` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if _*args_ are not present.

data_path(*args)

returns: | [String] The full expanded path of the `data` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if _*args_ are not present.

ext_path(*args)

returns: | [String] The full expanded path of the `ext` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if _*args_ are not present.

ext_path(*args)

returns: | [String] The full expanded path of the `ext` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if _*args_ are not present.

lib_path(*args)

returns: | [String] The full expanded path of the `lib` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if _*args_ are not present.

lib_path(*args)

returns: | [String] The full expanded path of the `lib` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if _*args_ are not present.

root_dir()

The root directory of the project is considered to be the parent directory of the ‘lib’ directory.

returns: | [String] The full expanded path of the parent directory of ‘lib’ going up the path from the current file. Trailing File::SEPARATOR is guaranteed.

root_dir()

The root directory of the project is considered to be the parent directory of the ‘lib’ directory.

returns: | [String] The full expanded path of the parent directory of ‘lib’ going up the path from the current file. Trailing File::SEPARATOR is guaranteed.

spec_path(*args)

returns: | [String] The full expanded path of the `spec` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if _*args_ are not present.

spec_path(*args)

returns: | [String] The full expanded path of the `spec` directory below root_dir. All parameters passed in are joined onto the result. Trailing File::SEPARATOR is guaranteed if _*args_ are not present.

sub_path(sub,*args)
sub_path(sub,*args)

[Validate]