From 1e4e296f748393a6653502be083bbb75260e6d44 Mon Sep 17 00:00:00 2001 From: nick evans Date: Fri, 25 Oct 2024 16:43:43 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Add=20rdoc=20for=20FetchStruct#a?= =?UTF-8?q?ttr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/net/imap/fetch_data.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/net/imap/fetch_data.rb b/lib/net/imap/fetch_data.rb index 3d8554b5..271063ab 100644 --- a/lib/net/imap/fetch_data.rb +++ b/lib/net/imap/fetch_data.rb @@ -103,6 +103,15 @@ class IMAP < Protocol # as BODY[#{specifier}] or BINARY[#{section}]. # class FetchStruct < Struct + ## + # method: attr + # :call-seq: attr -> hash + # + # Each key specifies a message attribute, and the value is the + # corresponding data item. Standard data items have corresponding + # accessor methods. The definitions of each attribute type is documented + # on its accessor. + # :call-seq: attr_upcase -> hash # # A transformation of #attr, with all the keys converted to upper case.