Class: Yaparc::Space
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 ⇒ Space
constructor
A new instance of Space.
Methods included from Parsable
Constructor Details
#initialize ⇒ Space
Returns a new instance of Space.
358 359 360 361 362 363 |
# File 'lib/yaparc.rb', line 358 def initialize @parser = lambda do |input| #Many.new(Satisfy.new(IS_SPACE),"") Regex.new(/\A[ ]*/) end end |