class ABNF::AlternateChars

Public Class Methods

new(string, &blk) click to toggle source
# File lib/abnf.rb, line 108
def initialize(string, &blk)
  @choices = string.each_char.map { |c| Char.new(c) }
  @blk = blk
end