Skip to content

Commit

Permalink
Remove useless private clause (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
iguchi1124 committed Mar 13, 2020
1 parent c2705ce commit 3d11d9f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/sinatra/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ def params
raise BadRequest, "Invalid query parameters: #{Rack::Utils.escape_html(e.message)}"
end

private

class AcceptEntry
attr_accessor :params
attr_reader :entry
Expand Down Expand Up @@ -675,8 +673,6 @@ def with_params(temp_params)
end
end

private

# Template rendering methods. Each method takes the name of a template
# to render as a Symbol and returns a String with the rendered output,
# as well as an optional hash with additional options.
Expand Down

0 comments on commit 3d11d9f

Please sign in to comment.