class ABNF::Literal
Public Class Methods
new(string, &blk)
click to toggle source
# File lib/abnf.rb, line 144 def initialize(string, &blk) @choices = string.each_char.map { |c| Char.new(c) } @blk = blk end
# File lib/abnf.rb, line 144 def initialize(string, &blk) @choices = string.each_char.map { |c| Char.new(c) } @blk = blk end