class Makanai::Settings

Constants

DEFAULT_APP_ROOT_PATH
DEFAULT_DATABASE_PATH
DEFAULT_MIGRATION_ROOT_PATH
DEFAULT_RACK_APP_CONFIG
DEFAULT_TEMPLATE_ENGINE
DEFAULT_TEMPLATE_ROOT_PATH

Attributes

app_root_path[RW]
database_path[RW]
databse_client[RW]
databse_config[RW]
migration_root_path[RW]
rack_app_config[RW]
template_engine[RW]
template_root_path[RW]

Public Class Methods

database_full_path() click to toggle source
# File lib/makanai/settings.rb, line 54
def database_full_path
  File.join(app_root_path, database_path)
end
migration_full_path() click to toggle source
# File lib/makanai/settings.rb, line 62
def migration_full_path
  File.join(app_root_path, migration_root_path)
end
template_full_path() click to toggle source
# File lib/makanai/settings.rb, line 58
def template_full_path
  File.join(app_root_path, template_root_path)
end