From d67b6310d3e529b4d4a56ba8d850aa5bccfb83b5 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Tue, 18 Oct 2022 10:16:22 -0500 Subject: [DOC] Link to packed data doc (#6567) * Link to packed data doc * Update pack.rb Co-authored-by: Peter Zhu * Update pack.rb Co-authored-by: Peter Zhu * Update pack.rb Co-authored-by: Peter Zhu Co-authored-by: Peter Zhu --- doc/packed_data.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/packed_data.rdoc b/doc/packed_data.rdoc index 252fae3c85..9ba585c90b 100644 --- a/doc/packed_data.rdoc +++ b/doc/packed_data.rdoc @@ -1,4 +1,4 @@ -== Packed Data +== Packed \Data Certain Ruby core methods deal with packing and unpacking data: @@ -10,7 +10,7 @@ Certain Ruby core methods deal with packing and unpacking data: forming objects that become the elements of a new array; returns that array. - \Method String#unpack1: - Does the same, but returns only the first extracted object. + Does the same, but unpacks and returns only the first extracted object. Each of these methods accepts a string +template+, consisting of zero or more _directive_ characters, -- cgit v1.2.3