lib/rack/contrib/simple_endpoint.rb in rack-contrib-2.2.0 vs lib/rack/contrib/simple_endpoint.rb in rack-contrib-2.3.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Rack # Create simple endpoints with routing rules, similar to Sinatra actions. # # Simplest example: # @@ -76,6 +78,6 @@ def valid_method?(method) @verbs.empty? || @verbs.include?(method) end end -end \ No newline at end of file +end