Azu::Environment
Inherits Enum < Comparable < Value < Object
Allows to test which environment Azu is running in.
The current application environment is determined via the CRYSTAL_ENV variable from your .env file.
Constants
Build environment ideal for building images and compiling
Development environment normally developer local development computer
Test environment for running unit tests and component integration tests
Integration environment for running integration tests across network
Acceptance/System test environment to evaluate the system's compliance with the business requirements and assess whether it is acceptable for delivery
For running in a pipeline environment
Staging environment nearly exact replica of a production environment for software testing
where software and other products are actually put into operation for their intended uses by end users
Instance methods
Checks if the current environment is in any of the environment listed
Checks if the current environment matches another environment