class Yardstick::Rules::ExampleTag
This applies only for public methods
Checks if method has @example tag
def valid?
- Api: - private
Returns:
-
(Boolean)
-
Other tags:
- See: class - description
def valid? has_tag?('example') end
def validatable?
- Api: - private
Returns:
-
(Boolean)
-
Other tags:
- See: class - description
def validatable? !api?(%w[ private ]) && tag_types('return') != %w[ undefined ] end