Ajout du commentaire pour les "frozen literals"

This commit is contained in:
Jérémy Lecour 2021-01-20 13:45:05 +01:00 committed by Jérémy Lecour
parent 2c5ce478b2
commit 8ded622dfe
7 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Email
include ActiveModel::Model
include ActiveModel::Attributes

View file

@ -1,2 +1,4 @@
# frozen_string_literal: true
class MetadataMapping < ApplicationRecord
end

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class EmailImporter
attr_accessor :email_class
attr_accessor :metadata_mapping_class

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module HtmlToText
class Error < ::StandardError

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module HtmlToText
class Elinks < Base

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module HtmlToText
class Nokogiri < Base