Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMałgorzata Ksionek <mksionek@gitlab.com>2019-07-16 18:17:21 +0300
committerMałgorzata Ksionek <mksionek@gitlab.com>2019-07-16 19:45:15 +0300
commit18535eb411887ac8283cc24b8ed1e384d3aabcc1 (patch)
tree7c08d43d993c463f7999099d31569175b86b1cf0 /app/serializers/group_analytics_stage_entity.rb
parente6c61c89527eb1a8f0f8affff5a76c81af656d8e (diff)
Add code review remarks
Change small things for better readability
Diffstat (limited to 'app/serializers/group_analytics_stage_entity.rb')
-rw-r--r--app/serializers/group_analytics_stage_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/group_analytics_stage_entity.rb b/app/serializers/group_analytics_stage_entity.rb
index 019a3086f68..81be20e7dd8 100644
--- a/app/serializers/group_analytics_stage_entity.rb
+++ b/app/serializers/group_analytics_stage_entity.rb
@@ -9,7 +9,7 @@ class GroupAnalyticsStageEntity < Grape::Entity
expose :description
expose :group_median, as: :value do |stage|
- # median returns a BatchLoader instance which we first have to unwrap by using to_f
+ # group_median returns a BatchLoader instance which we first have to unwrap by using to_f
# we use to_f to make sure results below 1 are presented to the end-user
stage.group_median.to_f.nonzero? ? distance_of_time_in_words(stage.group_median) : nil
end