lib/mail/elements/content_location_element.rb
# encoding: utf-8 # frozen_string_literal: true require 'mail/parsers/content_location_parser' module Mail class ContentLocationElement #:nodoc: attr_reader :location def initialize(string) @location = Mail::Parsers::ContentLocationParser.parse(string).location end def to_s(*args) location.to_s end end end
Source Files
- lib/mail.rb
- lib/mail/attachments_list.rb
- lib/mail/body.rb
- lib/mail/check_delivery_params.rb
- lib/mail/configuration.rb
- lib/mail/constants.rb
- lib/mail/elements.rb
- lib/mail/elements/address.rb
- lib/mail/elements/address_list.rb
- lib/mail/elements/content_disposition_element.rb
- lib/mail/elements/content_location_element.rb
- lib/mail/elements/content_transfer_encoding_element.rb
- lib/mail/elements/content_type_element.rb
- lib/mail/elements/date_time_element.rb
- lib/mail/elements/envelope_from_element.rb
- lib/mail/elements/message_ids_element.rb
- lib/mail/elements/mime_version_element.rb
- lib/mail/elements/phrase_list.rb
- lib/mail/elements/received_element.rb
- lib/mail/encodings.rb
- lib/mail/encodings/7bit.rb
- lib/mail/encodings/8bit.rb
- lib/mail/encodings/base64.rb
- lib/mail/encodings/binary.rb
- lib/mail/encodings/identity.rb
- lib/mail/encodings/quoted_printable.rb
- lib/mail/encodings/transfer_encoding.rb
- lib/mail/encodings/unix_to_unix.rb
- lib/mail/envelope.rb
- lib/mail/field.rb
- lib/mail/field_list.rb
- lib/mail/fields.rb
- lib/mail/fields/bcc_field.rb
- lib/mail/fields/cc_field.rb
- lib/mail/fields/comments_field.rb
- lib/mail/fields/common_address_field.rb
- lib/mail/fields/common_date_field.rb
- lib/mail/fields/common_field.rb
- lib/mail/fields/common_message_id_field.rb
- lib/mail/fields/content_description_field.rb
- lib/mail/fields/content_disposition_field.rb
- lib/mail/fields/content_id_field.rb
- lib/mail/fields/content_location_field.rb
- lib/mail/fields/content_transfer_encoding_field.rb
- lib/mail/fields/content_type_field.rb
- lib/mail/fields/date_field.rb
- lib/mail/fields/from_field.rb
- lib/mail/fields/in_reply_to_field.rb
- lib/mail/fields/keywords_field.rb
- lib/mail/fields/message_id_field.rb
- lib/mail/fields/mime_version_field.rb
- lib/mail/fields/named_structured_field.rb
- lib/mail/fields/named_unstructured_field.rb
- lib/mail/fields/optional_field.rb
- lib/mail/fields/parameter_hash.rb
- lib/mail/fields/received_field.rb
- lib/mail/fields/references_field.rb
- lib/mail/fields/reply_to_field.rb
- lib/mail/fields/resent_bcc_field.rb
- lib/mail/fields/resent_cc_field.rb
- lib/mail/fields/resent_date_field.rb
- lib/mail/fields/resent_from_field.rb
- lib/mail/fields/resent_message_id_field.rb
- lib/mail/fields/resent_sender_field.rb
- lib/mail/fields/resent_to_field.rb
- lib/mail/fields/return_path_field.rb
- lib/mail/fields/sender_field.rb
- lib/mail/fields/structured_field.rb
- lib/mail/fields/subject_field.rb
- lib/mail/fields/to_field.rb
- lib/mail/fields/unstructured_field.rb
- lib/mail/header.rb
- lib/mail/indifferent_hash.rb
- lib/mail/mail.rb
- lib/mail/matchers/attachment_matchers.rb
- lib/mail/matchers/has_sent_mail.rb
- lib/mail/message.rb
- lib/mail/multibyte.rb
- lib/mail/multibyte/chars.rb
- lib/mail/multibyte/unicode.rb
- lib/mail/multibyte/utils.rb
- lib/mail/network.rb
- lib/mail/network/delivery_methods/exim.rb
- lib/mail/network/delivery_methods/file_delivery.rb
- lib/mail/network/delivery_methods/logger_delivery.rb
- lib/mail/network/delivery_methods/sendmail.rb
- lib/mail/network/delivery_methods/smtp.rb
- lib/mail/network/delivery_methods/smtp_connection.rb
- lib/mail/network/delivery_methods/test_mailer.rb
- lib/mail/network/retriever_methods/base.rb
- lib/mail/network/retriever_methods/imap.rb
- lib/mail/network/retriever_methods/pop3.rb
- lib/mail/network/retriever_methods/test_retriever.rb
- lib/mail/parser_tools.rb
- lib/mail/parsers.rb
- lib/mail/parsers/address_lists_parser.rb
- lib/mail/parsers/content_disposition_parser.rb
- lib/mail/parsers/content_location_parser.rb
- lib/mail/parsers/content_transfer_encoding_parser.rb
- lib/mail/parsers/content_type_parser.rb
- lib/mail/parsers/date_time_parser.rb
- lib/mail/parsers/envelope_from_parser.rb
- lib/mail/parsers/message_ids_parser.rb
- lib/mail/parsers/mime_version_parser.rb
- lib/mail/parsers/phrase_lists_parser.rb
- lib/mail/parsers/received_parser.rb
- lib/mail/part.rb
- lib/mail/parts_list.rb
- lib/mail/smtp_envelope.rb
- lib/mail/utilities.rb
- lib/mail/version.rb
- lib/mail/yaml.rb