Class: DParse::Parsers::Opt
- Inherits:
-
DParse::Parser
- Object
- DParse::Parser
- DParse::Parsers::Opt
- Defined in:
- lib/d-parse/parsers/highlevel/opt.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Opt
constructor
A new instance of Opt.
Methods inherited from DParse::Parser
#apply, #bind, #capture, #compact, #expectation_message, #first, #flatten, #ignore, #inspect, #map, #match?, #read, #second, #select_even, #select_odd, #to_s
Constructor Details
#initialize ⇒ Opt
Returns a new instance of Opt.
11 12 13 |
# File 'lib/d-parse/parsers/highlevel/opt.rb', line 11 def initialize(*) raise ArgumentError, "#{self.class} is not supposed to be initialized" end |