Class: Burly::Parsers::PlaintextParser Private

Inherits:
Burly::Parser show all
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

Methods inherited from Burly::Parser

#initialize

Constructor Details

This class inherits a constructor from Burly::Parser

Instance Method Details

#parseArray<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