Enable Rubocop Style/FrozenStringLiteralComment (#23793)
This commit is contained in:
@ -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))
|
||||
|
@ -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))
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
doc = Ox::Document.new(version: '1.0')
|
||||
|
||||
doc << Ox::Element.new('XRD').tap do |xrd|
|
||||
|
Reference in New Issue
Block a user