Enable frozen string literals.
Make all string literals immutable by default.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class PostPresenter
|
||||
attr_reader :pool, :next_post_in_pool
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# rdoc
|
||||
# A tag set represents a set of tags that are displayed together.
|
||||
# This class makes it easy to fetch the categories for all the
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class UserPresenter
|
||||
attr_reader :user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user