summaryrefslogtreecommitdiff
path: root/lib/banzai/reference_extractor.rb
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2018-10-06 16:10:08 -0700
committergfyoung <gfyoung17@gmail.com>2018-10-06 17:02:50 -0700
commitd598e4fd937797a7f7778f5b4158ebf73139ce7f (patch)
treeaaf16bddfbd7b9aeba06b15e893c474b4f125506 /lib/banzai/reference_extractor.rb
parentc3389c8006443e2b4d994eb15e60bd249fc4732f (diff)
downloadgitlab-ce-d598e4fd937797a7f7778f5b4158ebf73139ce7f.tar.gz
Enable more frozen string in lib/**/*.rb
Enables frozen for the following: * lib/*.rb * lib/banzai/**/*.rb * lib/bitbucket/**/*.rb * lib/constraints/**/*.rb * lib/container_registry/**/*.rb * lib/declarative_policy/**/*.rb Partially addresses #47424.
Diffstat (limited to 'lib/banzai/reference_extractor.rb')
-rw-r--r--lib/banzai/reference_extractor.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/banzai/reference_extractor.rb b/lib/banzai/reference_extractor.rb
index 78588299c18..3fc3ae02088 100644
--- a/lib/banzai/reference_extractor.rb
+++ b/lib/banzai/reference_extractor.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Banzai
# Extract possible GFM references from an arbitrary String for further processing.
class ReferenceExtractor