Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ambience
v0.4.1
Ambience
Application
Env
InvalidPathException
Built with Crystal 1.9.2
2023-10-08 14:50:59 UTC
class
Ambience::Application
Ambience::Application
Reference
Object
Defined in:
ambience/application.cr
Constant Summary
DEFAULT_ENVIRONMENT
=
"development"
Constructors
.new
(path, environment : String =
DEFAULT_ENVIRONMENT
)
Instance Method Summary
#env
: Hash(String, String)
#environment
: String
#load
Constructor Detail
def self.
new
(path, environment : String =
DEFAULT_ENVIRONMENT
)
#
[
View source
]
Instance Method Detail
def
env
: Hash(String, String)
#
[
View source
]
def
environment
: String
#
[
View source
]
def
load
#
[
View source
]