27 lines
354 B
Ruby
27 lines
354 B
Ruby
module NoteOnDiff
|
|
extend ActiveSupport::Concern
|
|
|
|
def diff_note?
|
|
true
|
|
end
|
|
|
|
def diff_file
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def diff_line
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def for_line?(line)
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def diff_attributes
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def can_be_award_emoji?
|
|
false
|
|
end
|
|
end
|