Class: Yaparc::Fail
Constant Summary
Constants included from Parsable
Parsable::IS_ALPHANUM, Parsable::IS_CR, Parsable::IS_DIGIT, Parsable::IS_LOWER, Parsable::IS_SPACE, Parsable::IS_WHITESPACE
Instance Attribute Summary
Attributes included from Parsable
Instance Method Summary collapse
-
#initialize ⇒ Fail
constructor
A new instance of Fail.
Methods included from Parsable
Constructor Details
#initialize ⇒ Fail
Returns a new instance of Fail.
62 63 64 65 66 |
# File 'lib/yaparc.rb', line 62 def initialize @parser = lambda do |input| Result::Fail.new(:input => input) end end |