Home Ruby Sinatra中获得当前的env(productiondevelopmenttest)
Post
Cancel

Ruby Sinatra中获得当前的env(productiondevelopmenttest)

参考:https://rubyplus.com/articles/2271-Sinatra-Basics-The-Current-Environment

puts Sinatra::Application.environment

This post is licensed under CC BY 4.0 by the author.