class ABNF::Parser::Rules::Terminal::CharacterRange

Public Instance Methods

match?(potential_match) click to toggle source
# File lib/abnf/parser/rules/terminal.rb, line 48
def match? potential_match
  pattern.include? potential_match
end
octets() click to toggle source
# File lib/abnf/parser/rules/terminal.rb, line 52
def octets
  1
end