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:
Diffstat (limited to 'qa/qa/resource/base.rb')
-rw-r--r--qa/qa/resource/base.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/qa/resource/base.rb b/qa/qa/resource/base.rb
index e12a8f97d95..459670add36 100644
--- a/qa/qa/resource/base.rb
+++ b/qa/qa/resource/base.rb
@@ -17,7 +17,8 @@ module QA
class << self
# Initialize new instance of class without fabrication
#
- # @param [Proc] prepare_block
+ # @yieldparam [self] instance of page object
+ # @return [self]
def init(&prepare_block)
new.tap(&prepare_block)
end