Enable Rubocop Style/FrozenStringLiteralComment (#23793)

This commit is contained in:
Nick Schonning
2023-07-12 03:47:08 -04:00
committed by GitHub
parent 9e8bc56d5a
commit 1d557305d2
394 changed files with 784 additions and 399 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
RSS::Builder.build do |doc|
doc.title(display_name(@account))
doc.description(I18n.t('rss.descriptions.account', acct: @account.local_username_and_domain))

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
RSS::Builder.build do |doc|
doc.title("##{@tag.display_name}")
doc.description(I18n.t('rss.descriptions.tag', hashtag: @tag.display_name))

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
doc = Ox::Document.new(version: '1.0')
doc << Ox::Element.new('XRD').tap do |xrd|