Skip to content

Commit

Permalink
Make quote_literal private.
Browse files Browse the repository at this point in the history
  • Loading branch information
pulver committed May 26, 2023
1 parent d50d7f3 commit d6a02b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rexml/parsers/xpathparser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def predicate_to_string( path, &block )
return string.squeeze(" ")
end

private
def quote_literal( literal )
case literal
when String
Expand All @@ -203,7 +204,6 @@ def quote_literal( literal )
end
end

private
#LocationPath
# | RelativeLocationPath
# | '/' RelativeLocationPath?
Expand Down

0 comments on commit d6a02b9

Please sign in to comment.