Skip to content

Commit 6a7b230

Browse files
committed
Mark Node::Context as a long class
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.
1 parent 2e5ceba commit 6a7b230

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/openapi3_parser/node/context.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module Node
1414
# node
1515
# @attr_reader [Source::Location] source_location The location in a
1616
# source file of this
17+
# rubocop:disable Metrics/ClassLength
1718
class Context
1819
# Create a context for the root of a document
1920
#
@@ -210,5 +211,6 @@ def openapi_version
210211
document.openapi_version
211212
end
212213
end
214+
# rubocop:enable Metrics/ClassLength
213215
end
214216
end

0 commit comments

Comments
 (0)