diff --git a/lib/rexml/functions.rb b/lib/rexml/functions.rb index 1a0f85ec..a526546d 100644 --- a/lib/rexml/functions.rb +++ b/lib/rexml/functions.rb @@ -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 @@ -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 diff --git a/lib/rexml/output.rb b/lib/rexml/output.rb index 88a5fb37..c7948eb9 100644 --- a/lib/rexml/output.rb +++ b/lib/rexml/output.rb @@ -2,7 +2,7 @@ require_relative 'encoding' module REXML - class Output + class Output # :nodoc: include Encoding attr_reader :encoding diff --git a/lib/rexml/parsers/xpathparser.rb b/lib/rexml/parsers/xpathparser.rb index f8b7b718..7cca0975 100644 --- a/lib/rexml/parsers/xpathparser.rb +++ b/lib/rexml/parsers/xpathparser.rb @@ -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 diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb index 8b8ba0da..11ca5aad 100644 --- a/lib/rexml/source.rb +++ b/lib/rexml/source.rb @@ -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) @@ -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 @@ -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 @@ -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