Skip to content

Commit

Permalink
Add support for ruby2_keywords.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 10, 2020
1 parent 256dfb8 commit cf02c22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rack/freeze/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
# THE SOFTWARE.

require 'rack/builder'
require 'ruby2_keywords'

require_relative 'freezer'

module Rack
module Freeze
module Builder
def use(klass, *arguments, &block)
ruby2_keywords def use(klass, *arguments, &block)
super Freezer.new(klass), *arguments, &block
end

Expand Down

0 comments on commit cf02c22

Please sign in to comment.