Sha256: 499091b10d76cd6821575090afef2c7cbbadd23485359a4ef8f9584de1b499c7
Contents?: true
Size: 388 Bytes
Versions: 3
Compression:
Stored size: 388 Bytes
Contents
# encoding: utf-8 module Yardstick module Rules # Checks if method has a @return tag # class ReturnTag < Rule self.description = 'The @return tag should be specified' # @see class description # # @return [Boolean] # true if has return tag # # @api private def valid? has_tag?('return') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yardstick-0.9.9 | lib/yardstick/rules/return_tag.rb |
yardstick-0.9.8 | lib/yardstick/rules/return_tag.rb |
yardstick-0.9.7 | lib/yardstick/rules/return_tag.rb |