class Inert::CLI
Public Instance Methods
build()
click to toggle source
# File lib/inert/cli.rb, line 10 def build ENV["RACK_ENV"] = "production" Inert.build end
server()
click to toggle source
# File lib/inert/cli.rb, line 19 def server ENV["RACK_ENV"] = "development" Inert.start(server: options.server, host: options.bind, port: options.port) end