Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/rexml/functions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module REXML
# (2) all method calls from XML will have "-" replaced with "_".
# Therefore, in XML, "local-name()" is identical (and actually becomes)
# "local_name()"
class FunctionsClass
class FunctionsClass # :nodoc:
@@available_functions = {}

def initialize
Expand Down Expand Up @@ -434,5 +434,5 @@ def send(name, *args)
# Using this singleton instance may cause thread-safety issues
# especially when accessing variables, context and namespace_context.
# Consider instantiating your own FunctionsClass object.
Functions = FunctionsClass.new
Functions = FunctionsClass.new # :nodoc:
end
2 changes: 1 addition & 1 deletion lib/rexml/output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require_relative 'encoding'

module REXML
class Output
class Output # :nodoc:
include Encoding

attr_reader :encoding
Expand Down
2 changes: 1 addition & 1 deletion lib/rexml/parsers/xpathparser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Parsers
# for this class. Believe me. You don't want to poke around in here.
# There is strange, dark magic at work in this code. Beware. Go back! Go
# back while you still can!
class XPathParser
class XPathParser # :nodoc:
include XMLTokens
LITERAL = /^'([^']*)'|^"([^"]*)"/u

Expand Down
8 changes: 4 additions & 4 deletions lib/rexml/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

module REXML
if StringScanner::Version < "1.0.0"
module StringScannerCheckScanString
module StringScannerCheckScanString # :nodoc:
refine StringScanner do
def check(pattern)
pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
Expand All @@ -35,7 +35,7 @@ def skip(pattern)
end

# Generates Source-s. USE THIS CLASS.
class SourceFactory
class SourceFactory # :nodoc:
# Generates a Source object
# @param arg Either a String, or an IO
# @return a Source, or nil if a bad argument was given
Expand All @@ -58,7 +58,7 @@ def SourceFactory::create_from(arg)

# A Source can be searched for patterns, and wraps buffers and other
# objects and provides consumption of text
class Source
class Source # :nodoc: all
include Encoding
# The line number of the last consumed text
attr_reader :line
Expand Down Expand Up @@ -217,7 +217,7 @@ def encoding_updated

# A Source that wraps an IO. See the Source class for method
# documentation
class IOSource < Source
class IOSource < Source # :nodoc:
#attr_reader :block_size

# block_size has been deprecated
Expand Down