Is it possible to find the environment inside a route block?
I can use ENV['RACK_ENV'], but I was wondering if the environment plugin makes it any easier!
Code sample below.
class App < Roda
configure :development, :production do
route do |r|
# can I find the environment here using the 'environment' plugin?
'you are on /'