From b07dd0f4c49ed42e1dd005118630da56228e4c9c Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 30 Oct 2015 19:29:42 +0100 Subject: Replace home grown config with sinatra-config-file --- lib/config.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 lib/config.rb (limited to 'lib') diff --git a/lib/config.rb b/lib/config.rb deleted file mode 100644 index bc42c34..0000000 --- a/lib/config.rb +++ /dev/null @@ -1,14 +0,0 @@ -require 'yaml' - -class Config - attr_reader :contact_email - - def self.load - conf = YAML.load(IO.read("config.yml")) - Config.new(conf) - end - - def initialize(conf) - @contact_email = conf['contact_email'] - end -end -- cgit v1.2.3