diff --git a/lib/rdoc.rb b/lib/rdoc.rb index af05b57116..ee448e661d 100644 --- a/lib/rdoc.rb +++ b/lib/rdoc.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true $DEBUG_RDOC = nil # :main: README.rdoc diff --git a/lib/rdoc/alias.rb b/lib/rdoc/alias.rb index 1e06fb96e5..858e053049 100644 --- a/lib/rdoc/alias.rb +++ b/lib/rdoc/alias.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Represent an alias, which is an old_name/new_name pair associated with a # particular context diff --git a/lib/rdoc/anon_class.rb b/lib/rdoc/anon_class.rb index 098bfdfcf9..d02a38c2cf 100644 --- a/lib/rdoc/anon_class.rb +++ b/lib/rdoc/anon_class.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # An anonymous class like: # diff --git a/lib/rdoc/any_method.rb b/lib/rdoc/any_method.rb index 5dbdf9e0ef..e61f263cdc 100644 --- a/lib/rdoc/any_method.rb +++ b/lib/rdoc/any_method.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # AnyMethod is the base class for objects representing methods diff --git a/lib/rdoc/attr.rb b/lib/rdoc/attr.rb index f77a5c04a7..f780b3b976 100644 --- a/lib/rdoc/attr.rb +++ b/lib/rdoc/attr.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # An attribute created by \#attr, \#attr_reader, \#attr_writer or # \#attr_accessor diff --git a/lib/rdoc/class_module.rb b/lib/rdoc/class_module.rb index 33a8baa6a6..fdd56e236b 100644 --- a/lib/rdoc/class_module.rb +++ b/lib/rdoc/class_module.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # ClassModule is the base class for objects representing either a class or a # module. diff --git a/lib/rdoc/code_object.rb b/lib/rdoc/code_object.rb index 11c682b7fa..48a6761b87 100644 --- a/lib/rdoc/code_object.rb +++ b/lib/rdoc/code_object.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Base class for the RDoc code tree. # diff --git a/lib/rdoc/code_objects.rb b/lib/rdoc/code_objects.rb index 564849e1d1..434a25ac7f 100644 --- a/lib/rdoc/code_objects.rb +++ b/lib/rdoc/code_objects.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # This file was used to load all the RDoc::CodeObject subclasses at once. Now # autoload handles this. diff --git a/lib/rdoc/comment.rb b/lib/rdoc/comment.rb index c655763b3e..f8482e2754 100644 --- a/lib/rdoc/comment.rb +++ b/lib/rdoc/comment.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A comment holds the text comment for a RDoc::CodeObject and provides a # unified way of cleaning it up and parsing it into an RDoc::Markup::Document. diff --git a/lib/rdoc/constant.rb b/lib/rdoc/constant.rb index 7e1e10da72..0c3d7505a1 100644 --- a/lib/rdoc/constant.rb +++ b/lib/rdoc/constant.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A constant diff --git a/lib/rdoc/context.rb b/lib/rdoc/context.rb index 3294b2561c..52f01be809 100644 --- a/lib/rdoc/context.rb +++ b/lib/rdoc/context.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'cgi' ## diff --git a/lib/rdoc/context/section.rb b/lib/rdoc/context/section.rb index 7c3c8c603d..64877f944c 100644 --- a/lib/rdoc/context/section.rb +++ b/lib/rdoc/context/section.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A section of documentation like: # diff --git a/lib/rdoc/cross_reference.rb b/lib/rdoc/cross_reference.rb index 0e40d23159..d76ebaf2d0 100644 --- a/lib/rdoc/cross_reference.rb +++ b/lib/rdoc/cross_reference.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # RDoc::CrossReference is a reusable way to create cross references for names. diff --git a/lib/rdoc/encoding.rb b/lib/rdoc/encoding.rb index 44881d043c..150865b623 100644 --- a/lib/rdoc/encoding.rb +++ b/lib/rdoc/encoding.rb @@ -1,5 +1,5 @@ # coding: US-ASCII -# frozen_string_literal: false +# frozen_string_literal: true ## # This class is a wrapper around File IO and Encoding that helps RDoc load diff --git a/lib/rdoc/erb_partial.rb b/lib/rdoc/erb_partial.rb index d17dda20a9..8dc2c46013 100644 --- a/lib/rdoc/erb_partial.rb +++ b/lib/rdoc/erb_partial.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Allows an ERB template to be rendered in the context (binding) of an # existing ERB template evaluation. diff --git a/lib/rdoc/erbio.rb b/lib/rdoc/erbio.rb index a2aaa90e67..42ce895fb3 100644 --- a/lib/rdoc/erbio.rb +++ b/lib/rdoc/erbio.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'erb' ## diff --git a/lib/rdoc/extend.rb b/lib/rdoc/extend.rb index 30b51a1dbd..e1b182902e 100644 --- a/lib/rdoc/extend.rb +++ b/lib/rdoc/extend.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A Module extension to a class with \#extend # diff --git a/lib/rdoc/generator.rb b/lib/rdoc/generator.rb index 6efc5e4474..340dcbf7ae 100644 --- a/lib/rdoc/generator.rb +++ b/lib/rdoc/generator.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # RDoc uses generators to turn parsed source code in the form of an # RDoc::CodeObject tree into some form of output. RDoc comes with the HTML diff --git a/lib/rdoc/generator/darkfish.rb b/lib/rdoc/generator/darkfish.rb index 94e1320ded..f7e4761d4f 100644 --- a/lib/rdoc/generator/darkfish.rb +++ b/lib/rdoc/generator/darkfish.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # -*- mode: ruby; ruby-indent-level: 2; tab-width: 2 -*- require 'erb' diff --git a/lib/rdoc/generator/json_index.rb b/lib/rdoc/generator/json_index.rb index ea9384e6d3..2a9db9bfc4 100644 --- a/lib/rdoc/generator/json_index.rb +++ b/lib/rdoc/generator/json_index.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'json' begin require 'zlib' diff --git a/lib/rdoc/generator/markup.rb b/lib/rdoc/generator/markup.rb index 3ca423bb69..fef982d378 100644 --- a/lib/rdoc/generator/markup.rb +++ b/lib/rdoc/generator/markup.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Handle common RDoc::Markup tasks for various CodeObjects # diff --git a/lib/rdoc/generator/pot.rb b/lib/rdoc/generator/pot.rb index e2cf22d730..8a1e0b4bd0 100644 --- a/lib/rdoc/generator/pot.rb +++ b/lib/rdoc/generator/pot.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Generates a POT file. # diff --git a/lib/rdoc/generator/pot/message_extractor.rb b/lib/rdoc/generator/pot/message_extractor.rb index 0dd2497c26..313dfd2dc7 100644 --- a/lib/rdoc/generator/pot/message_extractor.rb +++ b/lib/rdoc/generator/pot/message_extractor.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Extracts message from RDoc::Store diff --git a/lib/rdoc/generator/pot/po.rb b/lib/rdoc/generator/pot/po.rb index 60e14db831..8cb61b8a1c 100644 --- a/lib/rdoc/generator/pot/po.rb +++ b/lib/rdoc/generator/pot/po.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Generates a PO format text diff --git a/lib/rdoc/generator/pot/po_entry.rb b/lib/rdoc/generator/pot/po_entry.rb index 515d02b48d..d537cb85e3 100644 --- a/lib/rdoc/generator/pot/po_entry.rb +++ b/lib/rdoc/generator/pot/po_entry.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A PO entry in PO diff --git a/lib/rdoc/generator/ri.rb b/lib/rdoc/generator/ri.rb index 830777e587..0eef1d03f5 100644 --- a/lib/rdoc/generator/ri.rb +++ b/lib/rdoc/generator/ri.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Generates ri data files diff --git a/lib/rdoc/ghost_method.rb b/lib/rdoc/ghost_method.rb index a1f75bfe4b..2488feb9d7 100644 --- a/lib/rdoc/ghost_method.rb +++ b/lib/rdoc/ghost_method.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # GhostMethod represents a method referenced only by a comment diff --git a/lib/rdoc/i18n.rb b/lib/rdoc/i18n.rb index 14a3739c1c..4cb5986155 100644 --- a/lib/rdoc/i18n.rb +++ b/lib/rdoc/i18n.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # This module provides i18n related features. diff --git a/lib/rdoc/i18n/locale.rb b/lib/rdoc/i18n/locale.rb index 4d55f6965d..6a70d6c986 100644 --- a/lib/rdoc/i18n/locale.rb +++ b/lib/rdoc/i18n/locale.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A message container for a locale. # diff --git a/lib/rdoc/i18n/text.rb b/lib/rdoc/i18n/text.rb index fcfe7611bc..517abf1540 100644 --- a/lib/rdoc/i18n/text.rb +++ b/lib/rdoc/i18n/text.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # An i18n supported text. # diff --git a/lib/rdoc/include.rb b/lib/rdoc/include.rb index efce43bffb..b3ad610649 100644 --- a/lib/rdoc/include.rb +++ b/lib/rdoc/include.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A Module included in a class with \#include # diff --git a/lib/rdoc/known_classes.rb b/lib/rdoc/known_classes.rb index 8d9421255b..4d7f4aa995 100644 --- a/lib/rdoc/known_classes.rb +++ b/lib/rdoc/known_classes.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true module RDoc ## diff --git a/lib/rdoc/markdown/entities.rb b/lib/rdoc/markdown/entities.rb index d32ae51053..d2cf610293 100644 --- a/lib/rdoc/markdown/entities.rb +++ b/lib/rdoc/markdown/entities.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # HTML entity name map for RDoc::Markdown diff --git a/lib/rdoc/markdown/literals.rb b/lib/rdoc/markdown/literals.rb index b6bb89e0c6..641d5af453 100644 --- a/lib/rdoc/markdown/literals.rb +++ b/lib/rdoc/markdown/literals.rb @@ -1,5 +1,5 @@ # coding: UTF-8 -# frozen_string_literal: false +# frozen_string_literal: true # :markup: markdown ## diff --git a/lib/rdoc/markup.rb b/lib/rdoc/markup.rb index 982bc13e88..08ecc6f7df 100644 --- a/lib/rdoc/markup.rb +++ b/lib/rdoc/markup.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # RDoc::Markup parses plain text documents and attempts to decompose them into # their constituent parts. Some of these parts are high-level: paragraphs, diff --git a/lib/rdoc/markup/attr_changer.rb b/lib/rdoc/markup/attr_changer.rb index 9a1a9c8c66..4c4bc6479e 100644 --- a/lib/rdoc/markup/attr_changer.rb +++ b/lib/rdoc/markup/attr_changer.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true class RDoc::Markup AttrChanger = Struct.new :turn_on, :turn_off # :nodoc: diff --git a/lib/rdoc/markup/attr_span.rb b/lib/rdoc/markup/attr_span.rb index 4d9e5b0217..63aace60d2 100644 --- a/lib/rdoc/markup/attr_span.rb +++ b/lib/rdoc/markup/attr_span.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # An array of attributes which parallels the characters in a string. diff --git a/lib/rdoc/markup/attribute_manager.rb b/lib/rdoc/markup/attribute_manager.rb index 3296d17af2..efa2f68387 100644 --- a/lib/rdoc/markup/attribute_manager.rb +++ b/lib/rdoc/markup/attribute_manager.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Manages changes of attributes in a block of text diff --git a/lib/rdoc/markup/attributes.rb b/lib/rdoc/markup/attributes.rb index 8776c4ed29..ec30160d3d 100644 --- a/lib/rdoc/markup/attributes.rb +++ b/lib/rdoc/markup/attributes.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # We manage a set of attributes. Each attribute has a symbol name and a bit # value. diff --git a/lib/rdoc/markup/blank_line.rb b/lib/rdoc/markup/blank_line.rb index 2b1ab91b47..3129ab5e7f 100644 --- a/lib/rdoc/markup/blank_line.rb +++ b/lib/rdoc/markup/blank_line.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # An empty line. This class is a singleton. diff --git a/lib/rdoc/markup/block_quote.rb b/lib/rdoc/markup/block_quote.rb index 3be022f9dd..7a4b3e36b0 100644 --- a/lib/rdoc/markup/block_quote.rb +++ b/lib/rdoc/markup/block_quote.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A quoted section which contains markup items. diff --git a/lib/rdoc/markup/document.rb b/lib/rdoc/markup/document.rb index 0692c3522f..f3a5de1fc3 100644 --- a/lib/rdoc/markup/document.rb +++ b/lib/rdoc/markup/document.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A Document containing lists, headings, paragraphs, etc. diff --git a/lib/rdoc/markup/formatter.rb b/lib/rdoc/markup/formatter.rb index 197ff003e3..5dc71d2242 100644 --- a/lib/rdoc/markup/formatter.rb +++ b/lib/rdoc/markup/formatter.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Base class for RDoc markup formatters # diff --git a/lib/rdoc/markup/formatter_test_case.rb b/lib/rdoc/markup/formatter_test_case.rb index a5b4933de4..076b7c81bb 100644 --- a/lib/rdoc/markup/formatter_test_case.rb +++ b/lib/rdoc/markup/formatter_test_case.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'minitest/unit' ## diff --git a/lib/rdoc/markup/hard_break.rb b/lib/rdoc/markup/hard_break.rb index 5898bfb644..046068d5c2 100644 --- a/lib/rdoc/markup/hard_break.rb +++ b/lib/rdoc/markup/hard_break.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A hard-break in the middle of a paragraph. diff --git a/lib/rdoc/markup/heading.rb b/lib/rdoc/markup/heading.rb index 5229287d5b..233774c5c4 100644 --- a/lib/rdoc/markup/heading.rb +++ b/lib/rdoc/markup/heading.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A heading with a level (1-6) and text diff --git a/lib/rdoc/markup/include.rb b/lib/rdoc/markup/include.rb index 891be71b85..ad7c4a9640 100644 --- a/lib/rdoc/markup/include.rb +++ b/lib/rdoc/markup/include.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A file included at generation time. Objects of this class are created by # RDoc::RD for an extension-less include. diff --git a/lib/rdoc/markup/indented_paragraph.rb b/lib/rdoc/markup/indented_paragraph.rb index 56a96bd3c9..d42b2e52b8 100644 --- a/lib/rdoc/markup/indented_paragraph.rb +++ b/lib/rdoc/markup/indented_paragraph.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # An Indented Paragraph of text diff --git a/lib/rdoc/markup/inline.rb b/lib/rdoc/markup/inline.rb index 58072fef06..aba7ec21ce 100644 --- a/lib/rdoc/markup/inline.rb +++ b/lib/rdoc/markup/inline.rb @@ -1,2 +1,2 @@ -# frozen_string_literal: false +# frozen_string_literal: true warn "requiring rdoc/markup/inline is deprecated and will be removed in RDoc 4." if $-w diff --git a/lib/rdoc/markup/list.rb b/lib/rdoc/markup/list.rb index bcaea7d7c1..05c3609202 100644 --- a/lib/rdoc/markup/list.rb +++ b/lib/rdoc/markup/list.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A List is a homogeneous set of ListItems. # diff --git a/lib/rdoc/markup/list_item.rb b/lib/rdoc/markup/list_item.rb index 115ec0412c..d22554ee73 100644 --- a/lib/rdoc/markup/list_item.rb +++ b/lib/rdoc/markup/list_item.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # An item within a List that contains paragraphs, headings, etc. # diff --git a/lib/rdoc/markup/paragraph.rb b/lib/rdoc/markup/paragraph.rb index fefa12f9ef..a2e45ef009 100644 --- a/lib/rdoc/markup/paragraph.rb +++ b/lib/rdoc/markup/paragraph.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A Paragraph of text diff --git a/lib/rdoc/markup/parser.rb b/lib/rdoc/markup/parser.rb index 22cca20420..9e6505da9d 100644 --- a/lib/rdoc/markup/parser.rb +++ b/lib/rdoc/markup/parser.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'strscan' ## diff --git a/lib/rdoc/markup/pre_process.rb b/lib/rdoc/markup/pre_process.rb index e2115f0c56..c3c51b765c 100644 --- a/lib/rdoc/markup/pre_process.rb +++ b/lib/rdoc/markup/pre_process.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Handle common directives that can occur in a block of text: # diff --git a/lib/rdoc/markup/raw.rb b/lib/rdoc/markup/raw.rb index 8012d2cea6..85e2c8b825 100644 --- a/lib/rdoc/markup/raw.rb +++ b/lib/rdoc/markup/raw.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A section of text that is added to the output document as-is diff --git a/lib/rdoc/markup/rule.rb b/lib/rdoc/markup/rule.rb index b96d4fb293..38c1dc7f56 100644 --- a/lib/rdoc/markup/rule.rb +++ b/lib/rdoc/markup/rule.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A horizontal rule with a weight diff --git a/lib/rdoc/markup/special.rb b/lib/rdoc/markup/special.rb index 4d834b9e37..57261b44a7 100644 --- a/lib/rdoc/markup/special.rb +++ b/lib/rdoc/markup/special.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Hold details of a special sequence diff --git a/lib/rdoc/markup/text_formatter_test_case.rb b/lib/rdoc/markup/text_formatter_test_case.rb index 1c8882aa36..22a762b5f0 100644 --- a/lib/rdoc/markup/text_formatter_test_case.rb +++ b/lib/rdoc/markup/text_formatter_test_case.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Test case for creating new plain-text RDoc::Markup formatters. See also # RDoc::Markup::FormatterTestCase diff --git a/lib/rdoc/markup/to_ansi.rb b/lib/rdoc/markup/to_ansi.rb index 56cd1fe446..6cc3b70e93 100644 --- a/lib/rdoc/markup/to_ansi.rb +++ b/lib/rdoc/markup/to_ansi.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Outputs RDoc markup with vibrant ANSI color! diff --git a/lib/rdoc/markup/to_bs.rb b/lib/rdoc/markup/to_bs.rb index 9a1c7c6ccd..fea017e89d 100644 --- a/lib/rdoc/markup/to_bs.rb +++ b/lib/rdoc/markup/to_bs.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Outputs RDoc markup with hot backspace action! You will probably need a # pager to use this output format. diff --git a/lib/rdoc/markup/to_html.rb b/lib/rdoc/markup/to_html.rb index d2c9a23a79..c5e1f073f8 100644 --- a/lib/rdoc/markup/to_html.rb +++ b/lib/rdoc/markup/to_html.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'cgi' ## diff --git a/lib/rdoc/markup/to_html_crossref.rb b/lib/rdoc/markup/to_html_crossref.rb index 3f03c65898..2911aee954 100644 --- a/lib/rdoc/markup/to_html_crossref.rb +++ b/lib/rdoc/markup/to_html_crossref.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Subclass of the RDoc::Markup::ToHtml class that supports looking up method # names, classes, etc to create links. RDoc::CrossReference is used to diff --git a/lib/rdoc/markup/to_html_snippet.rb b/lib/rdoc/markup/to_html_snippet.rb index 75c1df94d9..24aa1d32d9 100644 --- a/lib/rdoc/markup/to_html_snippet.rb +++ b/lib/rdoc/markup/to_html_snippet.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Outputs RDoc markup as paragraphs with inline markup only. diff --git a/lib/rdoc/markup/to_joined_paragraph.rb b/lib/rdoc/markup/to_joined_paragraph.rb index 293258c092..5b63e43cf4 100644 --- a/lib/rdoc/markup/to_joined_paragraph.rb +++ b/lib/rdoc/markup/to_joined_paragraph.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Joins the parts of an RDoc::Markup::Paragraph into a single String. # diff --git a/lib/rdoc/markup/to_label.rb b/lib/rdoc/markup/to_label.rb index bdf08b7aee..9f179013f2 100644 --- a/lib/rdoc/markup/to_label.rb +++ b/lib/rdoc/markup/to_label.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'cgi' ## diff --git a/lib/rdoc/markup/to_markdown.rb b/lib/rdoc/markup/to_markdown.rb index 9074547b4c..d471032f9f 100644 --- a/lib/rdoc/markup/to_markdown.rb +++ b/lib/rdoc/markup/to_markdown.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # :markup: markdown ## diff --git a/lib/rdoc/markup/to_rdoc.rb b/lib/rdoc/markup/to_rdoc.rb index a40c09859f..1cb4d6bab2 100644 --- a/lib/rdoc/markup/to_rdoc.rb +++ b/lib/rdoc/markup/to_rdoc.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Outputs RDoc markup as RDoc markup! (mostly) diff --git a/lib/rdoc/markup/to_table_of_contents.rb b/lib/rdoc/markup/to_table_of_contents.rb index eae7c59d94..f68b90bcf6 100644 --- a/lib/rdoc/markup/to_table_of_contents.rb +++ b/lib/rdoc/markup/to_table_of_contents.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Extracts just the RDoc::Markup::Heading elements from a # RDoc::Markup::Document to help build a table of contents diff --git a/lib/rdoc/markup/to_test.rb b/lib/rdoc/markup/to_test.rb index 7b1fa8c630..61d3cffaf0 100644 --- a/lib/rdoc/markup/to_test.rb +++ b/lib/rdoc/markup/to_test.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # This Markup outputter is used for testing purposes. diff --git a/lib/rdoc/markup/to_tt_only.rb b/lib/rdoc/markup/to_tt_only.rb index ba20fcdd00..4f43546e3d 100644 --- a/lib/rdoc/markup/to_tt_only.rb +++ b/lib/rdoc/markup/to_tt_only.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Extracts sections of text enclosed in plus, tt or code. Used to discover # undocumented parameters. diff --git a/lib/rdoc/markup/verbatim.rb b/lib/rdoc/markup/verbatim.rb index a0b1d05928..7f1bc29a09 100644 --- a/lib/rdoc/markup/verbatim.rb +++ b/lib/rdoc/markup/verbatim.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A section of verbatim text diff --git a/lib/rdoc/meta_method.rb b/lib/rdoc/meta_method.rb index 408c089dd1..7927a9ce9c 100644 --- a/lib/rdoc/meta_method.rb +++ b/lib/rdoc/meta_method.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # MetaMethod represents a meta-programmed method diff --git a/lib/rdoc/method_attr.rb b/lib/rdoc/method_attr.rb index 50eab141be..a1625a8872 100644 --- a/lib/rdoc/method_attr.rb +++ b/lib/rdoc/method_attr.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Abstract class representing either a method or an attribute. diff --git a/lib/rdoc/mixin.rb b/lib/rdoc/mixin.rb index 14f04c15e7..379d7cc526 100644 --- a/lib/rdoc/mixin.rb +++ b/lib/rdoc/mixin.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A Mixin adds features from a module into another context. RDoc::Include and # RDoc::Extend are both mixins. diff --git a/lib/rdoc/normal_class.rb b/lib/rdoc/normal_class.rb index eb53e964dd..9278011778 100644 --- a/lib/rdoc/normal_class.rb +++ b/lib/rdoc/normal_class.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A normal class, neither singleton nor anonymous diff --git a/lib/rdoc/normal_module.rb b/lib/rdoc/normal_module.rb index d046c8cbfe..8f364be41c 100644 --- a/lib/rdoc/normal_module.rb +++ b/lib/rdoc/normal_module.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A normal module, like NormalClass diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index 60cfb5e553..e4fe4f75e9 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'optparse' require 'pathname' diff --git a/lib/rdoc/parser.rb b/lib/rdoc/parser.rb index 823a6d014c..2b826d9284 100644 --- a/lib/rdoc/parser.rb +++ b/lib/rdoc/parser.rb @@ -1,5 +1,5 @@ # -*- coding: us-ascii -*- -# frozen_string_literal: false +# frozen_string_literal: true ## # A parser is simple a class that subclasses RDoc::Parser and implements #scan diff --git a/lib/rdoc/parser/c.rb b/lib/rdoc/parser/c.rb index 5c940ab28e..10061bfc7d 100644 --- a/lib/rdoc/parser/c.rb +++ b/lib/rdoc/parser/c.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'tsort' ## diff --git a/lib/rdoc/parser/changelog.rb b/lib/rdoc/parser/changelog.rb index c6c2d2bb23..f460321d3a 100644 --- a/lib/rdoc/parser/changelog.rb +++ b/lib/rdoc/parser/changelog.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'time' ## diff --git a/lib/rdoc/parser/markdown.rb b/lib/rdoc/parser/markdown.rb index feffb26ced..9ff478f872 100644 --- a/lib/rdoc/parser/markdown.rb +++ b/lib/rdoc/parser/markdown.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Parse a Markdown format file. The parsed RDoc::Markup::Document is attached # as a file comment. diff --git a/lib/rdoc/parser/rd.rb b/lib/rdoc/parser/rd.rb index e6693b9ac8..25f5711731 100644 --- a/lib/rdoc/parser/rd.rb +++ b/lib/rdoc/parser/rd.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Parse a RD format file. The parsed RDoc::Markup::Document is attached as a # file comment. diff --git a/lib/rdoc/parser/ruby.rb b/lib/rdoc/parser/ruby.rb index a840fd6614..301b25a295 100644 --- a/lib/rdoc/parser/ruby.rb +++ b/lib/rdoc/parser/ruby.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # This file contains stuff stolen outright from: # diff --git a/lib/rdoc/parser/ruby_tools.rb b/lib/rdoc/parser/ruby_tools.rb index ecd7065e4f..1f621cd32e 100644 --- a/lib/rdoc/parser/ruby_tools.rb +++ b/lib/rdoc/parser/ruby_tools.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Collection of methods for writing parsers diff --git a/lib/rdoc/parser/simple.rb b/lib/rdoc/parser/simple.rb index f2ab27a92e..bef6da177f 100644 --- a/lib/rdoc/parser/simple.rb +++ b/lib/rdoc/parser/simple.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Parse a non-source file. We basically take the whole thing as one big # comment. diff --git a/lib/rdoc/parser/text.rb b/lib/rdoc/parser/text.rb index 1a13fd1186..01de0cc595 100644 --- a/lib/rdoc/parser/text.rb +++ b/lib/rdoc/parser/text.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Indicates this parser is text and doesn't contain code constructs. # diff --git a/lib/rdoc/rd.rb b/lib/rdoc/rd.rb index 39af3294f5..0d3d3cea85 100644 --- a/lib/rdoc/rd.rb +++ b/lib/rdoc/rd.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # RDoc::RD implements the RD format from the rdtool gem. # diff --git a/lib/rdoc/rd/inline.rb b/lib/rdoc/rd/inline.rb index 011ec67e33..cf37ed9f05 100644 --- a/lib/rdoc/rd/inline.rb +++ b/lib/rdoc/rd/inline.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Inline keeps track of markup and labels to create proper links. diff --git a/lib/rdoc/rdoc.rb b/lib/rdoc/rdoc.rb index adcb65b13b..48c2d099b6 100644 --- a/lib/rdoc/rdoc.rb +++ b/lib/rdoc/rdoc.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc' require 'find' diff --git a/lib/rdoc/require.rb b/lib/rdoc/require.rb index f565ffad78..91f9c24e5d 100644 --- a/lib/rdoc/require.rb +++ b/lib/rdoc/require.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A file loaded by \#require diff --git a/lib/rdoc/ri.rb b/lib/rdoc/ri.rb index 388cb12c70..c798c1fc49 100644 --- a/lib/rdoc/ri.rb +++ b/lib/rdoc/ri.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc' ## diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 51d633be58..fa0e040a42 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'abbrev' require 'optparse' diff --git a/lib/rdoc/ri/formatter.rb b/lib/rdoc/ri/formatter.rb index d0c85dbe6b..832a101e6c 100644 --- a/lib/rdoc/ri/formatter.rb +++ b/lib/rdoc/ri/formatter.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # For RubyGems backwards compatibility diff --git a/lib/rdoc/ri/paths.rb b/lib/rdoc/ri/paths.rb index 94db2216a2..d41e610591 100644 --- a/lib/rdoc/ri/paths.rb +++ b/lib/rdoc/ri/paths.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/ri' ## diff --git a/lib/rdoc/ri/store.rb b/lib/rdoc/ri/store.rb index 66e234f521..9f4b03734a 100644 --- a/lib/rdoc/ri/store.rb +++ b/lib/rdoc/ri/store.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true module RDoc::RI Store = RDoc::Store # :nodoc: diff --git a/lib/rdoc/ri/task.rb b/lib/rdoc/ri/task.rb index cc0a85d4b7..6a6ea572bf 100644 --- a/lib/rdoc/ri/task.rb +++ b/lib/rdoc/ri/task.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true begin gem 'rdoc' rescue Gem::LoadError diff --git a/lib/rdoc/rubygems_hook.rb b/lib/rdoc/rubygems_hook.rb index e9351b7280..90b0541fcf 100644 --- a/lib/rdoc/rubygems_hook.rb +++ b/lib/rdoc/rubygems_hook.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rubygems/user_interaction' require 'fileutils' require 'rdoc' diff --git a/lib/rdoc/servlet.rb b/lib/rdoc/servlet.rb index dfc71436b8..89f26553ac 100644 --- a/lib/rdoc/servlet.rb +++ b/lib/rdoc/servlet.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc' require 'time' require 'json' diff --git a/lib/rdoc/single_class.rb b/lib/rdoc/single_class.rb index 7affa027e1..6a7b67deb3 100644 --- a/lib/rdoc/single_class.rb +++ b/lib/rdoc/single_class.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A singleton class diff --git a/lib/rdoc/stats.rb b/lib/rdoc/stats.rb index 354e904b19..bd6c0ef23a 100644 --- a/lib/rdoc/stats.rb +++ b/lib/rdoc/stats.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # RDoc statistics collector which prints a summary and report of a project's # documentation totals. diff --git a/lib/rdoc/stats/normal.rb b/lib/rdoc/stats/normal.rb index 9f7ca59c34..9ab878e7e8 100644 --- a/lib/rdoc/stats/normal.rb +++ b/lib/rdoc/stats/normal.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true begin require 'io/console/size' rescue LoadError diff --git a/lib/rdoc/stats/quiet.rb b/lib/rdoc/stats/quiet.rb index 561c272ef7..bc4161b2d4 100644 --- a/lib/rdoc/stats/quiet.rb +++ b/lib/rdoc/stats/quiet.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Stats printer that prints nothing diff --git a/lib/rdoc/stats/verbose.rb b/lib/rdoc/stats/verbose.rb index e04edade52..6ace8937a2 100644 --- a/lib/rdoc/stats/verbose.rb +++ b/lib/rdoc/stats/verbose.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # Stats printer that prints everything documented, including the documented # status diff --git a/lib/rdoc/store.rb b/lib/rdoc/store.rb index aaefff8f13..999aa76f92 100644 --- a/lib/rdoc/store.rb +++ b/lib/rdoc/store.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'fileutils' ## diff --git a/lib/rdoc/task.rb b/lib/rdoc/task.rb index 1074de0197..323d00eabc 100644 --- a/lib/rdoc/task.rb +++ b/lib/rdoc/task.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true #-- # Copyright (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel # diff --git a/lib/rdoc/test_case.rb b/lib/rdoc/test_case.rb index 594fb31272..501f5c3b8b 100644 --- a/lib/rdoc/test_case.rb +++ b/lib/rdoc/test_case.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true begin gem 'minitest', '~> 4.0' unless defined?(Test::Unit) rescue NoMethodError, Gem::LoadError diff --git a/lib/rdoc/text.rb b/lib/rdoc/text.rb index 88ff255f01..2890d1901f 100644 --- a/lib/rdoc/text.rb +++ b/lib/rdoc/text.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # For RDoc::Text#to_html diff --git a/lib/rdoc/token_stream.rb b/lib/rdoc/token_stream.rb index 2b69e943cd..9e8cce19fa 100644 --- a/lib/rdoc/token_stream.rb +++ b/lib/rdoc/token_stream.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A TokenStream is a list of tokens, gathered during the parse of some entity # (say a method). Entities populate these streams by being registered with the diff --git a/lib/rdoc/tom_doc.rb b/lib/rdoc/tom_doc.rb index d760849938..66a5ae7a33 100644 --- a/lib/rdoc/tom_doc.rb +++ b/lib/rdoc/tom_doc.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # :markup: tomdoc # A parser for TomDoc based on TomDoc 1.0.0-rc1 (02adef9b5a) diff --git a/lib/rdoc/top_level.rb b/lib/rdoc/top_level.rb index 38be646ad0..6186722772 100644 --- a/lib/rdoc/top_level.rb +++ b/lib/rdoc/top_level.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ## # A TopLevel context is a representation of the contents of a single file diff --git a/test/test_rdoc_alias.rb b/test/test_rdoc_alias.rb index fa0ab0f366..89ae2d5a56 100644 --- a/test/test_rdoc_alias.rb +++ b/test/test_rdoc_alias.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocAlias < XrefTestCase diff --git a/test/test_rdoc_any_method.rb b/test/test_rdoc_any_method.rb index 20d041bd7e..55793255ba 100644 --- a/test/test_rdoc_any_method.rb +++ b/test/test_rdoc_any_method.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocAnyMethod < XrefTestCase diff --git a/test/test_rdoc_attr.rb b/test/test_rdoc_attr.rb index e4062d1807..ae702ac702 100644 --- a/test/test_rdoc_attr.rb +++ b/test/test_rdoc_attr.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocAttr < RDoc::TestCase diff --git a/test/test_rdoc_class_module.rb b/test/test_rdoc_class_module.rb index 503492fca5..273a21120f 100644 --- a/test/test_rdoc_class_module.rb +++ b/test/test_rdoc_class_module.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocClassModule < XrefTestCase diff --git a/test/test_rdoc_code_object.rb b/test/test_rdoc_code_object.rb index be4ca268e4..bdf6d8ae85 100644 --- a/test/test_rdoc_code_object.rb +++ b/test/test_rdoc_code_object.rb @@ -1,5 +1,5 @@ # coding: US-ASCII -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ diff --git a/test/test_rdoc_comment.rb b/test/test_rdoc_comment.rb index 3b0927212f..9eba298017 100644 --- a/test/test_rdoc_comment.rb +++ b/test/test_rdoc_comment.rb @@ -1,5 +1,5 @@ # coding: us-ascii -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' diff --git a/test/test_rdoc_constant.rb b/test/test_rdoc_constant.rb index a03ab97a7d..e715131579 100644 --- a/test/test_rdoc_constant.rb +++ b/test/test_rdoc_constant.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocConstant < XrefTestCase diff --git a/test/test_rdoc_context.rb b/test/test_rdoc_context.rb index ceac14ac90..a7d6a58716 100644 --- a/test/test_rdoc_context.rb +++ b/test/test_rdoc_context.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocContext < XrefTestCase diff --git a/test/test_rdoc_context_section.rb b/test/test_rdoc_context_section.rb index b008c60c57..ff88b9b66a 100644 --- a/test/test_rdoc_context_section.rb +++ b/test/test_rdoc_context_section.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocContextSection < RDoc::TestCase diff --git a/test/test_rdoc_cross_reference.rb b/test/test_rdoc_cross_reference.rb index c39d6ad356..a294553704 100644 --- a/test/test_rdoc_cross_reference.rb +++ b/test/test_rdoc_cross_reference.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocCrossReference < XrefTestCase diff --git a/test/test_rdoc_encoding.rb b/test/test_rdoc_encoding.rb index e579fd5cc7..d9298880d7 100644 --- a/test/test_rdoc_encoding.rb +++ b/test/test_rdoc_encoding.rb @@ -1,5 +1,5 @@ # coding: US-ASCII -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' diff --git a/test/test_rdoc_extend.rb b/test/test_rdoc_extend.rb index bc50a657ac..f4c8425864 100644 --- a/test/test_rdoc_extend.rb +++ b/test/test_rdoc_extend.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocExtend < XrefTestCase diff --git a/test/test_rdoc_generator_darkfish.rb b/test/test_rdoc_generator_darkfish.rb index bbe351c0f6..c004bb271e 100644 --- a/test/test_rdoc_generator_darkfish.rb +++ b/test/test_rdoc_generator_darkfish.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocGeneratorDarkfish < RDoc::TestCase diff --git a/test/test_rdoc_generator_json_index.rb b/test/test_rdoc_generator_json_index.rb index 52c35a564d..154dfe7c4b 100644 --- a/test/test_rdoc_generator_json_index.rb +++ b/test/test_rdoc_generator_json_index.rb @@ -1,5 +1,5 @@ # coding: US-ASCII -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' diff --git a/test/test_rdoc_generator_markup.rb b/test/test_rdoc_generator_markup.rb index d546c2f87f..d13f5119be 100644 --- a/test/test_rdoc_generator_markup.rb +++ b/test/test_rdoc_generator_markup.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocGeneratorMarkup < RDoc::TestCase diff --git a/test/test_rdoc_generator_pot.rb b/test/test_rdoc_generator_pot.rb index 3f1bee70c9..5675f96b75 100644 --- a/test/test_rdoc_generator_pot.rb +++ b/test/test_rdoc_generator_pot.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocGeneratorPOT < RDoc::TestCase diff --git a/test/test_rdoc_generator_pot_po.rb b/test/test_rdoc_generator_pot_po.rb index ae60ff004e..8786f632c0 100644 --- a/test/test_rdoc_generator_pot_po.rb +++ b/test/test_rdoc_generator_pot_po.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocGeneratorPOTPO < RDoc::TestCase diff --git a/test/test_rdoc_generator_pot_po_entry.rb b/test/test_rdoc_generator_pot_po_entry.rb index 36b85df864..5c24c2d70d 100644 --- a/test/test_rdoc_generator_pot_po_entry.rb +++ b/test/test_rdoc_generator_pot_po_entry.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocGeneratorPOTPOEntry < RDoc::TestCase diff --git a/test/test_rdoc_generator_ri.rb b/test/test_rdoc_generator_ri.rb index d9f7b7ebc6..02bcee8904 100644 --- a/test/test_rdoc_generator_ri.rb +++ b/test/test_rdoc_generator_ri.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocGeneratorRI < RDoc::TestCase diff --git a/test/test_rdoc_i18n_locale.rb b/test/test_rdoc_i18n_locale.rb index e9dce78472..ff9836f9a6 100644 --- a/test/test_rdoc_i18n_locale.rb +++ b/test/test_rdoc_i18n_locale.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocI18nLocale < RDoc::TestCase diff --git a/test/test_rdoc_i18n_text.rb b/test/test_rdoc_i18n_text.rb index 4169b92079..be5ff581f5 100644 --- a/test/test_rdoc_i18n_text.rb +++ b/test/test_rdoc_i18n_text.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocI18nText < RDoc::TestCase diff --git a/test/test_rdoc_include.rb b/test/test_rdoc_include.rb index 6a34f5d4b8..67d3dfd88e 100644 --- a/test/test_rdoc_include.rb +++ b/test/test_rdoc_include.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocInclude < XrefTestCase diff --git a/test/test_rdoc_markdown.rb b/test/test_rdoc_markdown.rb index 79b0175293..26a6015afe 100644 --- a/test/test_rdoc_markdown.rb +++ b/test/test_rdoc_markdown.rb @@ -1,5 +1,5 @@ # coding: UTF-8 -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' require 'rdoc/markup/block_quote' diff --git a/test/test_rdoc_markdown_test.rb b/test/test_rdoc_markdown_test.rb index e738832fed..8664ac45a0 100644 --- a/test/test_rdoc_markdown_test.rb +++ b/test/test_rdoc_markdown_test.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'minitest/autorun' require 'pp' diff --git a/test/test_rdoc_markup.rb b/test/test_rdoc_markup.rb index ad13211f7b..8e4e8b968e 100644 --- a/test/test_rdoc_markup.rb +++ b/test/test_rdoc_markup.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkup < RDoc::TestCase diff --git a/test/test_rdoc_markup_attribute_manager.rb b/test/test_rdoc_markup_attribute_manager.rb index c0f7666a01..58741f2331 100644 --- a/test/test_rdoc_markup_attribute_manager.rb +++ b/test/test_rdoc_markup_attribute_manager.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupAttributeManager < RDoc::TestCase diff --git a/test/test_rdoc_markup_attributes.rb b/test/test_rdoc_markup_attributes.rb index 077b6a5474..1fad62208c 100644 --- a/test/test_rdoc_markup_attributes.rb +++ b/test/test_rdoc_markup_attributes.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupAttributes < RDoc::TestCase diff --git a/test/test_rdoc_markup_document.rb b/test/test_rdoc_markup_document.rb index e5a61daea5..d817f1b9aa 100644 --- a/test/test_rdoc_markup_document.rb +++ b/test/test_rdoc_markup_document.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupDocument < RDoc::TestCase diff --git a/test/test_rdoc_markup_formatter.rb b/test/test_rdoc_markup_formatter.rb index 02a6844a3a..1b0a011e6f 100644 --- a/test/test_rdoc_markup_formatter.rb +++ b/test/test_rdoc_markup_formatter.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupFormatter < RDoc::TestCase diff --git a/test/test_rdoc_markup_hard_break.rb b/test/test_rdoc_markup_hard_break.rb index 5d2d359646..d93d52eeda 100644 --- a/test/test_rdoc_markup_hard_break.rb +++ b/test/test_rdoc_markup_hard_break.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupHardBreak < RDoc::TestCase diff --git a/test/test_rdoc_markup_heading.rb b/test/test_rdoc_markup_heading.rb index 463df7ef43..33e29e90e6 100644 --- a/test/test_rdoc_markup_heading.rb +++ b/test/test_rdoc_markup_heading.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupHeading < RDoc::TestCase diff --git a/test/test_rdoc_markup_include.rb b/test/test_rdoc_markup_include.rb index e72a0ac1bb..28712fa7ed 100644 --- a/test/test_rdoc_markup_include.rb +++ b/test/test_rdoc_markup_include.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupInclude < RDoc::TestCase diff --git a/test/test_rdoc_markup_indented_paragraph.rb b/test/test_rdoc_markup_indented_paragraph.rb index efcd840453..53d44dcec2 100644 --- a/test/test_rdoc_markup_indented_paragraph.rb +++ b/test/test_rdoc_markup_indented_paragraph.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupIndentedParagraph < RDoc::TestCase diff --git a/test/test_rdoc_markup_paragraph.rb b/test/test_rdoc_markup_paragraph.rb index 6da6658c6f..dce3ed8efd 100644 --- a/test/test_rdoc_markup_paragraph.rb +++ b/test/test_rdoc_markup_paragraph.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupParagraph < RDoc::TestCase diff --git a/test/test_rdoc_markup_parser.rb b/test/test_rdoc_markup_parser.rb index 849d19f8c7..fa4730a06f 100644 --- a/test/test_rdoc_markup_parser.rb +++ b/test/test_rdoc_markup_parser.rb @@ -1,5 +1,5 @@ # coding: utf-8 -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' diff --git a/test/test_rdoc_markup_pre_process.rb b/test/test_rdoc_markup_pre_process.rb index be3fdcbef3..13e3ec13c0 100644 --- a/test/test_rdoc_markup_pre_process.rb +++ b/test/test_rdoc_markup_pre_process.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' diff --git a/test/test_rdoc_markup_raw.rb b/test/test_rdoc_markup_raw.rb index 1453333b9e..aaf4e48439 100644 --- a/test/test_rdoc_markup_raw.rb +++ b/test/test_rdoc_markup_raw.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupRaw < RDoc::TestCase diff --git a/test/test_rdoc_markup_to_ansi.rb b/test/test_rdoc_markup_to_ansi.rb index 8bd49271c1..d06ad98fa3 100644 --- a/test/test_rdoc_markup_to_ansi.rb +++ b/test/test_rdoc_markup_to_ansi.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToAnsi < RDoc::Markup::TextFormatterTestCase diff --git a/test/test_rdoc_markup_to_bs.rb b/test/test_rdoc_markup_to_bs.rb index 153a121d78..9b798c92b3 100644 --- a/test/test_rdoc_markup_to_bs.rb +++ b/test/test_rdoc_markup_to_bs.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToBs < RDoc::Markup::TextFormatterTestCase diff --git a/test/test_rdoc_markup_to_html.rb b/test/test_rdoc_markup_to_html.rb index b5edeb04d2..ef28d6dd4b 100644 --- a/test/test_rdoc_markup_to_html.rb +++ b/test/test_rdoc_markup_to_html.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToHtml < RDoc::Markup::FormatterTestCase diff --git a/test/test_rdoc_markup_to_html_crossref.rb b/test/test_rdoc_markup_to_html_crossref.rb index b9b5629554..73b76de4d9 100644 --- a/test/test_rdoc_markup_to_html_crossref.rb +++ b/test/test_rdoc_markup_to_html_crossref.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocMarkupToHtmlCrossref < XrefTestCase diff --git a/test/test_rdoc_markup_to_html_snippet.rb b/test/test_rdoc_markup_to_html_snippet.rb index 19c534863e..fa59de434f 100644 --- a/test/test_rdoc_markup_to_html_snippet.rb +++ b/test/test_rdoc_markup_to_html_snippet.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToHtmlSnippet < RDoc::Markup::FormatterTestCase diff --git a/test/test_rdoc_markup_to_joined_paragraph.rb b/test/test_rdoc_markup_to_joined_paragraph.rb index 414b7d3732..0a6a864bfa 100644 --- a/test/test_rdoc_markup_to_joined_paragraph.rb +++ b/test/test_rdoc_markup_to_joined_paragraph.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToJoinedParagraph < RDoc::TestCase diff --git a/test/test_rdoc_markup_to_label.rb b/test/test_rdoc_markup_to_label.rb index 35df69c2ac..23ab8cbfab 100644 --- a/test/test_rdoc_markup_to_label.rb +++ b/test/test_rdoc_markup_to_label.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToLabel < RDoc::Markup::FormatterTestCase diff --git a/test/test_rdoc_markup_to_markdown.rb b/test/test_rdoc_markup_to_markdown.rb index a72f30ee01..f5ea8d05da 100644 --- a/test/test_rdoc_markup_to_markdown.rb +++ b/test/test_rdoc_markup_to_markdown.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToMarkdown < RDoc::Markup::TextFormatterTestCase diff --git a/test/test_rdoc_markup_to_rdoc.rb b/test/test_rdoc_markup_to_rdoc.rb index 0dce0a0d5a..31761eb44d 100644 --- a/test/test_rdoc_markup_to_rdoc.rb +++ b/test/test_rdoc_markup_to_rdoc.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToRDoc < RDoc::Markup::TextFormatterTestCase diff --git a/test/test_rdoc_markup_to_table_of_contents.rb b/test/test_rdoc_markup_to_table_of_contents.rb index acfa807948..f21dbfe748 100644 --- a/test/test_rdoc_markup_to_table_of_contents.rb +++ b/test/test_rdoc_markup_to_table_of_contents.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToTableOfContents < RDoc::Markup::FormatterTestCase diff --git a/test/test_rdoc_markup_to_tt_only.rb b/test/test_rdoc_markup_to_tt_only.rb index a7918c90ab..b08362cd0b 100644 --- a/test/test_rdoc_markup_to_tt_only.rb +++ b/test/test_rdoc_markup_to_tt_only.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupToTtOnly < RDoc::Markup::FormatterTestCase diff --git a/test/test_rdoc_markup_verbatim.rb b/test/test_rdoc_markup_verbatim.rb index 6fdf8fde28..3b05100a33 100644 --- a/test/test_rdoc_markup_verbatim.rb +++ b/test/test_rdoc_markup_verbatim.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocMarkupVerbatim < RDoc::TestCase diff --git a/test/test_rdoc_method_attr.rb b/test/test_rdoc_method_attr.rb index 70f129ef32..68a9d6cc21 100644 --- a/test/test_rdoc_method_attr.rb +++ b/test/test_rdoc_method_attr.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocMethodAttr < XrefTestCase diff --git a/test/test_rdoc_normal_class.rb b/test/test_rdoc_normal_class.rb index 9153bdc839..874eaaa88c 100644 --- a/test/test_rdoc_normal_class.rb +++ b/test/test_rdoc_normal_class.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocNormalClass < XrefTestCase diff --git a/test/test_rdoc_normal_module.rb b/test/test_rdoc_normal_module.rb index d92a72e7bf..68e776c41f 100644 --- a/test/test_rdoc_normal_module.rb +++ b/test/test_rdoc_normal_module.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocNormalModule < XrefTestCase diff --git a/test/test_rdoc_options.rb b/test/test_rdoc_options.rb index eef37b44b4..760cf9db55 100644 --- a/test/test_rdoc_options.rb +++ b/test/test_rdoc_options.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocOptions < RDoc::TestCase diff --git a/test/test_rdoc_parser.rb b/test/test_rdoc_parser.rb index b71d89b064..5d4da7e425 100644 --- a/test/test_rdoc_parser.rb +++ b/test/test_rdoc_parser.rb @@ -1,5 +1,5 @@ # -*- coding: us-ascii -*- -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' diff --git a/test/test_rdoc_parser_c.rb b/test/test_rdoc_parser_c.rb index 3b26e4d51c..2cc8ddf79a 100644 --- a/test/test_rdoc_parser_c.rb +++ b/test/test_rdoc_parser_c.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' =begin diff --git a/test/test_rdoc_parser_changelog.rb b/test/test_rdoc_parser_changelog.rb index 0135d26d87..46cbb0d9a3 100644 --- a/test/test_rdoc_parser_changelog.rb +++ b/test/test_rdoc_parser_changelog.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocParserChangeLog < RDoc::TestCase diff --git a/test/test_rdoc_parser_markdown.rb b/test/test_rdoc_parser_markdown.rb index a8a8402946..50893ecf99 100644 --- a/test/test_rdoc_parser_markdown.rb +++ b/test/test_rdoc_parser_markdown.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocParserMarkdown < RDoc::TestCase diff --git a/test/test_rdoc_parser_rd.rb b/test/test_rdoc_parser_rd.rb index 481d190ffe..e8f4250284 100644 --- a/test/test_rdoc_parser_rd.rb +++ b/test/test_rdoc_parser_rd.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocParserRd < RDoc::TestCase diff --git a/test/test_rdoc_parser_ruby.rb b/test/test_rdoc_parser_ruby.rb index db2e4e9927..bee4fdc9c8 100644 --- a/test/test_rdoc_parser_ruby.rb +++ b/test/test_rdoc_parser_ruby.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' diff --git a/test/test_rdoc_parser_simple.rb b/test/test_rdoc_parser_simple.rb index 0e2cf0d9a9..cdbcd7929d 100644 --- a/test/test_rdoc_parser_simple.rb +++ b/test/test_rdoc_parser_simple.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocParserSimple < RDoc::TestCase diff --git a/test/test_rdoc_rd.rb b/test/test_rdoc_rd.rb index 938c5569f9..ed67ae2caa 100644 --- a/test/test_rdoc_rd.rb +++ b/test/test_rdoc_rd.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocRd < RDoc::TestCase diff --git a/test/test_rdoc_rd_block_parser.rb b/test/test_rdoc_rd_block_parser.rb index 18ec30db0f..a73c206508 100644 --- a/test/test_rdoc_rd_block_parser.rb +++ b/test/test_rdoc_rd_block_parser.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocRdBlockParser < RDoc::TestCase diff --git a/test/test_rdoc_rd_inline.rb b/test/test_rdoc_rd_inline.rb index d4448e4397..2869681c6e 100644 --- a/test/test_rdoc_rd_inline.rb +++ b/test/test_rdoc_rd_inline.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocRdInline < RDoc::TestCase diff --git a/test/test_rdoc_rd_inline_parser.rb b/test/test_rdoc_rd_inline_parser.rb index eb022b240f..b4394019b3 100644 --- a/test/test_rdoc_rd_inline_parser.rb +++ b/test/test_rdoc_rd_inline_parser.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocRdInlineParser < RDoc::TestCase diff --git a/test/test_rdoc_rdoc.rb b/test/test_rdoc_rdoc.rb index 39f54555b5..724fda408a 100644 --- a/test/test_rdoc_rdoc.rb +++ b/test/test_rdoc_rdoc.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocRDoc < RDoc::TestCase diff --git a/test/test_rdoc_require.rb b/test/test_rdoc_require.rb index cfbdac7a57..46c225299a 100644 --- a/test/test_rdoc_require.rb +++ b/test/test_rdoc_require.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocRequire < XrefTestCase diff --git a/test/test_rdoc_ri_driver.rb b/test/test_rdoc_ri_driver.rb index 81c8469e25..687d0968df 100644 --- a/test/test_rdoc_ri_driver.rb +++ b/test/test_rdoc_ri_driver.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocRIDriver < RDoc::TestCase diff --git a/test/test_rdoc_ri_paths.rb b/test/test_rdoc_ri_paths.rb index 06968b5510..b0f368353a 100644 --- a/test/test_rdoc_ri_paths.rb +++ b/test/test_rdoc_ri_paths.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocRIPaths < RDoc::TestCase diff --git a/test/test_rdoc_rubygems_hook.rb b/test/test_rdoc_rubygems_hook.rb index ee16f3d95c..2fb79ff577 100644 --- a/test/test_rdoc_rubygems_hook.rb +++ b/test/test_rdoc_rubygems_hook.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rubygems/test_case' require 'rdoc/rubygems_hook' diff --git a/test/test_rdoc_servlet.rb b/test/test_rdoc_servlet.rb index 947d8c896c..4dd1f08ddd 100644 --- a/test/test_rdoc_servlet.rb +++ b/test/test_rdoc_servlet.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocServlet < RDoc::TestCase diff --git a/test/test_rdoc_single_class.rb b/test/test_rdoc_single_class.rb index 85a99d2229..5761bfef4d 100644 --- a/test/test_rdoc_single_class.rb +++ b/test/test_rdoc_single_class.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocSingleClass < RDoc::TestCase diff --git a/test/test_rdoc_stats.rb b/test/test_rdoc_stats.rb index 34e1417783..19fc2365b3 100644 --- a/test/test_rdoc_stats.rb +++ b/test/test_rdoc_stats.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocStats < RDoc::TestCase diff --git a/test/test_rdoc_store.rb b/test/test_rdoc_store.rb index d32eab3ec1..4a4cf3ac0f 100644 --- a/test/test_rdoc_store.rb +++ b/test/test_rdoc_store.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocStore < XrefTestCase diff --git a/test/test_rdoc_task.rb b/test/test_rdoc_task.rb index bb5d2ae134..ac3512f42a 100644 --- a/test/test_rdoc_task.rb +++ b/test/test_rdoc_task.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' begin require 'rake' diff --git a/test/test_rdoc_text.rb b/test/test_rdoc_text.rb index 7a125854b5..8d638bbc38 100644 --- a/test/test_rdoc_text.rb +++ b/test/test_rdoc_text.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' diff --git a/test/test_rdoc_token_stream.rb b/test/test_rdoc_token_stream.rb index 95c3ffd13e..abf1469bbc 100644 --- a/test/test_rdoc_token_stream.rb +++ b/test/test_rdoc_token_stream.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocTokenStream < RDoc::TestCase diff --git a/test/test_rdoc_tom_doc.rb b/test/test_rdoc_tom_doc.rb index 7076edfa72..6e60e67726 100644 --- a/test/test_rdoc_tom_doc.rb +++ b/test/test_rdoc_tom_doc.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocTomDoc < RDoc::TestCase diff --git a/test/test_rdoc_top_level.rb b/test/test_rdoc_top_level.rb index b8145e3f9d..00fc7a1bd5 100644 --- a/test/test_rdoc_top_level.rb +++ b/test/test_rdoc_top_level.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require File.expand_path '../xref_test_case', __FILE__ class TestRDocTopLevel < XrefTestCase diff --git a/test/xref_data.rb b/test/xref_data.rb index c712ab8891..bc20d8ed91 100644 --- a/test/xref_data.rb +++ b/test/xref_data.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true XREF_DATA = <<-XREF_DATA class C1 diff --git a/test/xref_test_case.rb b/test/xref_test_case.rb index 9b2f876e5a..9f709964c6 100644 --- a/test/xref_test_case.rb +++ b/test/xref_test_case.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true ENV['RDOC_TEST'] = 'yes' require 'rdoc'