lib/changelog/changelog_line/changelog_line.rb in danger-changelog-0.7.0 vs lib/changelog/changelog_line/changelog_line.rb in danger-changelog-0.7.1
- old
+ new
@@ -4,11 +4,10 @@
class ChangelogLine
NON_DELIMITERS = /[^(){}\[\]]*/.freeze
PAIRED = /\(#{NON_DELIMITERS}\)|\{#{NON_DELIMITERS}\}|\[#{NON_DELIMITERS}\]/.freeze
DELIMITER = /[(){}\[\]]/.freeze
- attr_accessor :line
- attr_accessor :validation_result
+ attr_accessor :line, :validation_result
def initialize(line)
self.line = line
self.validation_result = nil
end