app/environment.rb in sqlui-0.1.16 vs app/environment.rb in sqlui-0.1.17
- old
+ new
@@ -1,5 +1,8 @@
+# frozen_string_literal: true
+
+# Parses and provides access to environment variables.
class Environment
SERVER_ENV = ENV.fetch('SERVER_ENV', 'development').to_sym
SERVER_PORT = ENV.fetch('SERVER_PORT', 8080)
def self.server_env
@@ -15,6 +18,6 @@
end
def self.server_port
SERVER_PORT
end
-end
\ No newline at end of file
+end