Class: Burly::Parsers::PlaintextParser Private
- Inherits:
-
Burly::Parser
- Object
- Burly::Parser
- Burly::Parsers::PlaintextParser
- Defined in:
- lib/burly/parsers/plaintext_parser.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from Burly::Parser
Burly::Parser::URI_PARSER, Burly::Parser::URI_REGEXP
Instance Method Summary collapse
-
#parse ⇒ Array<String>
private
Parse a plaintext document for absolute URLs.
Methods inherited from Burly::Parser
Constructor Details
This class inherits a constructor from Burly::Parser
Instance Method Details
#parse ⇒ Array<String>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Parse a plaintext document for absolute URLs.
14 15 16 |
# File 'lib/burly/parsers/plaintext_parser.rb', line 14 def parse URI_PARSER.extract(@document, ["http", "https"]) end |