Skip to content

Commit

Permalink
Mark Node::Context as a long class
Browse files Browse the repository at this point in the history
This is unfortunately rather long, but there doesn't seem any clear
single responsibility opportunities that can be embraced so I'm taking
the coward/assertive route of telling the linter: no.
  • Loading branch information
kevindew committed Apr 10, 2022
1 parent 2e5ceba commit 6a7b230
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/openapi3_parser/node/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module Node
# node
# @attr_reader [Source::Location] source_location The location in a
# source file of this
# rubocop:disable Metrics/ClassLength
class Context
# Create a context for the root of a document
#
Expand Down Expand Up @@ -210,5 +211,6 @@ def openapi_version
document.openapi_version
end
end
# rubocop:enable Metrics/ClassLength
end
end

0 comments on commit 6a7b230

Please sign in to comment.