lib/licensee/matchers/copyright_matcher.rb in licensee-8.5.0 vs lib/licensee/matchers/copyright_matcher.rb in licensee-8.6.0
- old
+ new
@@ -1,8 +1,10 @@
# encoding=utf-8
module Licensee
module Matchers
class Copyright
+ attr_reader :file
+
# rubocop:disable Metrics/LineLength
REGEX = /\s*(Copyright|\(c\)) (©|\(c\)|\xC2\xA9)? ?(\d{4}|\[year\])(.*)?\s*/i
def initialize(file)
@file = file