This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit 1a277c50 authored by Robert Speicher's avatar Robert Speicher
Browse files

Minor documentation updates

parent feedaf2d319e
......@@ -25,7 +25,7 @@ def mentionable_attrs
# By default this will be the class name and the result of calling
# `to_reference` on the object.
def gfm_reference
# Convert "MergeRequest" to "merge request"
# "MergeRequest" > "merge_request" > "Merge request" > "merge request"
friendly_name = self.class.to_s.underscore.humanize.downcase
"#{friendly_name} #{to_reference}"
......
......@@ -40,7 +40,7 @@ def reference_prefix
#
# This must be overridden by the including class.
#
# Returns Regexp
# Returns a Regexp
def reference_pattern
raise NotImplementedError,
%Q{#{self} does not implement "reference_pattern"}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment