lib/yardstick/rule_description/classifier.rb
# Classify a token by returning the first match
#
# @param token [String] markup text
#
# @return [Token]
#
# @api private
Classify a token by returning the first match
Classify a token by returning the first match
def classify(token)
          classifiers.each do |classifier|
            classified = classifier.try(token)
            break classified if classified
          end
        end
def classify ( token ) classifiers . each do | classifier | classified = classifier . try ( token ) break classified if classified end end
Classify a token by returning the first match
Classify a token by returning the first match
None
Token
token
None
api
None