class

Amber::Environment::Env

Inherits Reference < Object

Constants

AMBER_ENV = "AMBER_ENV"

Constructors

new(env : String = ENV[AMBER_ENV]? || "development")
Source

Instance methods

==(env2 : EnvType)
Source
in?(env_list : Array(EnvType))
Source
in?(*env_list : Object)

Returns true if self is included in the collection argument.

10.in?(0..100)     # => true
10.in?({0, 1, 10}) # => true
10.in?(0, 1, 10)   # => true
10.in?(:foo, :bar) # => false
Source
to_s(io)
Source

Macros

method_missing(call)
Source