Class: OLIParser
Instance Attribute Summary collapse
-
#nextParser ⇒ Object
Returns the value of attribute nextParser.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Parser
Constructor Details
This class inherits a constructor from Parser
Instance Attribute Details
#nextParser ⇒ Object
Returns the value of attribute nextParser.
7 8 9 |
# File 'lib/Parsers/OLIParser.rb', line 7 def nextParser @nextParser end |
Class Method Details
.isOLI(paragraph) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/Parsers/OLIParser.rb', line 9 def self.isOLI(paragraph) if paragraph.nil? false else paragraph.type == "OLI" end end |