diff options
author | Eric Wong <e@80x24.org> | 2016-01-02 22:29:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-01-02 22:29:28 +0000 |
commit | 9e24bae3428f726800da2963a8f2695f7d4064cd (patch) | |
tree | dd4ce29efffa4f0da9c6d9ada903a277ec81196b /lib/yahns/rackup_handler.rb | |
parent | 1105a6957eed26a922a27bd6e6dbbc457524b664 (diff) | |
download | yahns-9e24bae3428f726800da2963a8f2695f7d4064cd.tar.gz |
There are likely yet-to-be-discovered bugs in here. Also, keeping explicit #freeze calls for 2.2 users, since most users have not migrated to 2.3, yet.
Diffstat (limited to 'lib/yahns/rackup_handler.rb')
-rw-r--r-- | lib/yahns/rackup_handler.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/yahns/rackup_handler.rb b/lib/yahns/rackup_handler.rb index 3d7beab..a0756bb 100644 --- a/lib/yahns/rackup_handler.rb +++ b/lib/yahns/rackup_handler.rb @@ -1,5 +1,6 @@ # Copyright (C) 2013-2014, all contributors # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) +# frozen_string_literal: true require_relative '../yahns' module Yahns::RackupHandler # :nodoc: @@ -38,6 +39,7 @@ module Yahns::RackupHandler # :nodoc: Yahns::Server.new(cfg).start.join end + # this is called by Rack::Server def self.valid_options # these should be the most common options { |