summaryrefslogtreecommitdiff
path: root/app/models/commit_range.rb
diff options
context:
space:
mode:
authorYatish Mehta <yatishmehta27@gmail.com>2016-06-04 11:15:08 -0400
committerYatish Mehta <yatish.mehta@coupa.com>2016-06-20 11:12:04 -0700
commit77d17719fd47d6a71de28bd97c8083cd19cfef1f (patch)
treecc6a41befbc7ccf9acf4b3c730bfb3db6f219e46 /app/models/commit_range.rb
parent0e987ee7a24635fba2fa1dc30c279d4fd1e17c0a (diff)
downloadgitlab-ce-77d17719fd47d6a71de28bd97c8083cd19cfef1f.tar.gz
Fix comment for project argument in commit_range.rb
Diffstat (limited to 'app/models/commit_range.rb')
-rw-r--r--app/models/commit_range.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/commit_range.rb b/app/models/commit_range.rb
index 4066958f67c..630ee9601e0 100644
--- a/app/models/commit_range.rb
+++ b/app/models/commit_range.rb
@@ -23,7 +23,7 @@ class CommitRange
attr_reader :commit_from, :notation, :commit_to
attr_reader :ref_from, :ref_to
- # Optional Project model
+ # The Project model
attr_accessor :project
# The beginning and ending refs can be named or SHAs, and
@@ -56,7 +56,7 @@ class CommitRange
# Initialize a CommitRange
#
# range_string - The String commit range.
- # project - An optional Project model.
+ # project - The Project model.
#
# Raises ArgumentError if `range_string` does not match `PATTERN`.
def initialize(range_string, project)