Class: Yaparc::CR
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 Method Summary collapse
-
#initialize ⇒ CR
constructor
A new instance of CR.
Methods included from Parsable
Constructor Details
#initialize ⇒ CR
Returns a new instance of CR.
7 8 9 |
# File 'lib/yaparc/cr.rb', line 7 def initialize @parser = proc { Regex.new(/\A[ \t]+\n[ \t\n]+/) } end |