Skip to content

Commit 1e4e296

Browse files
committed
📚 Add rdoc for FetchStruct#attr
1 parent 475c5fc commit 1e4e296

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/net/imap/fetch_data.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ class IMAP < Protocol
103103
# as <tt>BODY[#{specifier}]</tt> or <tt>BINARY[#{section}]</tt>.
104104
#
105105
class FetchStruct < Struct
106+
##
107+
# method: attr
108+
# :call-seq: attr -> hash
109+
#
110+
# Each key specifies a message attribute, and the value is the
111+
# corresponding data item. Standard data items have corresponding
112+
# accessor methods. The definitions of each attribute type is documented
113+
# on its accessor.
114+
106115
# :call-seq: attr_upcase -> hash
107116
#
108117
# A transformation of #attr, with all the keys converted to upper case.

0 commit comments

Comments
 (0)