Method: Puma::DSL#environment
- Defined in:
- lib/puma/dsl.rb
#environment(environment) ⇒ Object
Set the environment in which the rack’s app will run. The value must be a string.
The default is “development”.
406 407 408 |
# File 'lib/puma/dsl.rb', line 406 def environment(environment) @options[:environment] = environment end |