class Amber::Environment::Env
- Amber::Environment::Env
- Reference
- Object
Defined in:
environment/env.crConstant Summary
-
AMBER_ENV =
"AMBER_ENV"
Constructors
Instance Method Summary
- #==(env2 : EnvType)
- #in?(env_list : Array(EnvType))
-
#in?(*env_list : Object)
Returns
true
ifself
is included in the collection argument. - #to_s(io)
Macro Summary
Constructor Detail
Instance Method Detail
def in?(*env_list : Object)
#
Description copied from class 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