class ABNF::Char
Core Rules
I tried to preserve the RFC names where possible.
Public Class Methods
new(c)
click to toggle source
# File lib/abnf.rb, line 225 def initialize(c) @char = c.ord end
Public Instance Methods
predicate(c)
click to toggle source
# File lib/abnf.rb, line 229 def predicate(c) c == @char end