diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-07-18 19:03:33 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-07-19 00:07:50 +0300 |
commit | 0cf45debb45cc7a412fd1b290c215280aaca6a45 (patch) | |
tree | 2909b74ae6ea55f922ecce5b1155f3f40bbf677d /app/services/protected_tags | |
parent | 1df32177a8dfd0f1f948a48ee9cf87ba74f43417 (diff) |
Enable more frozen string in app/services/**/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/services/protected_tags')
-rw-r--r-- | app/services/protected_tags/create_service.rb | 2 | ||||
-rw-r--r-- | app/services/protected_tags/destroy_service.rb | 2 | ||||
-rw-r--r-- | app/services/protected_tags/update_service.rb | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/app/services/protected_tags/create_service.rb b/app/services/protected_tags/create_service.rb index faba7865a17..9aff55986b2 100644 --- a/app/services/protected_tags/create_service.rb +++ b/app/services/protected_tags/create_service.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ProtectedTags class CreateService < BaseService attr_reader :protected_tag diff --git a/app/services/protected_tags/destroy_service.rb b/app/services/protected_tags/destroy_service.rb index c868d7ad8e6..dc4a1b39848 100644 --- a/app/services/protected_tags/destroy_service.rb +++ b/app/services/protected_tags/destroy_service.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ProtectedTags class DestroyService < BaseService def execute(protected_tag) diff --git a/app/services/protected_tags/update_service.rb b/app/services/protected_tags/update_service.rb index aea6a48968d..3eb5f4955ee 100644 --- a/app/services/protected_tags/update_service.rb +++ b/app/services/protected_tags/update_service.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ProtectedTags class UpdateService < BaseService def execute(protected_tag) |