class DParse::Parsers::CharIn

Public Class Methods

new(chars) click to toggle source
# File lib/d-parse/parsers/highlevel/char_in.rb, line 4
def self.new(chars)
  DParse::Parsers::Alt.new(*chars.map { |c| DParse::Parsers::Char.new(c) })
end
new(*) click to toggle source
# File lib/d-parse/parsers/highlevel/char_in.rb, line 8
def initialize(*)
  raise ArgumentError, "#{self.class} is not supposed to be initialized"
end