Skip to content

Commit

Permalink
fix: don't make context and pluck_path protected
Browse files Browse the repository at this point in the history
but keep them as undocumented for now
  • Loading branch information
flavorjones committed Apr 24, 2024
1 parent ffdc4a9 commit a38e644
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/nokogiri/html5/inference.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ def context(input) # :nodoc:
else "body"
end
end
protected :context

#
# call-seq: pluck_path(input) => (String | nil)
Expand All @@ -185,7 +184,6 @@ def pluck_path(input) # :nodoc:
when PluckRegexp::BODY_OUTER then "body"
end
end
protected :pluck_path
end
end
end
Expand Down

0 comments on commit a38e644

Please sign in to comment.