mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
added docs files
This commit is contained in:
parent
4d8a74584d
commit
c343f9c014
3033 changed files with 2754 additions and 0 deletions
40
lib/pry/core_docs_18/checksums
Normal file
40
lib/pry/core_docs_18/checksums
Normal file
|
@ -0,0 +1,40 @@
|
|||
range.c f56591088e2ec8b25ee20ba71e5d4f7bd6cebd80
|
||||
lex.c 2fb09da4fd0e597e908a758b2cb8861791d77fe0
|
||||
st.c de730738519f9d314642d643605daf0032cde5e8
|
||||
sprintf.c 38e24ae2792f3f0c788c12930f24df8967386584
|
||||
struct.c aeeb1c59b8feced0cb0ab5c8f2bb0f7db949294c
|
||||
util.c bf0f10904a55eb132e1dbff76abbfaa5c0b9645a
|
||||
re.c 0c7fb7c27754745b224b5d68e6f9360a2c27c392
|
||||
version.c 09c81d814237aa4c9d91b315336bf2998506b84b
|
||||
dmydln.c deae68321fe218cbece2c778eeee2cb1ed07f9dc
|
||||
object.c 63320c4caf35debfcea26701f38e552f0783a591
|
||||
random.c 49191bb7edda1923b7964c87356c65d7ce539929
|
||||
class.c 254e814ebb75cf1104927821200b014557755c27
|
||||
enum.c b25337156929ead15069399fb3f877d77dd84d0f
|
||||
compar.c 3cc33a5da41a461486f6c94d1a13c3d6f6af2491
|
||||
array.c 306a01939123a5e84b4967a70a857a64dfe55dd9
|
||||
numeric.c c3ab075b4360c127ae1d6f0a4c77195ca63ffaf5
|
||||
inits.c 9ca3e88702cfbaff13952b422a357c5b5d0a2c9d
|
||||
enumerator.c 8ebf946bb338cb5337ea05c2a0abff241243ad58
|
||||
main.c ca4ccfe720cc9b09e6bdc4adda8822cd28e97ef4
|
||||
pack.c 46f347e026df35603757f1ee88f9e5600089107a
|
||||
process.c 1f405125e81953e5f5ccfcadc0fbf23653849563
|
||||
string.c 7e436a583b230a560609f136eaa9a90eb8393323
|
||||
dmyext.c 0a5f623323d12032746f4b954fd362cce8139d4e
|
||||
regex.c 5ce25e880652ba773da3dcf4fd3773ad93536c5d
|
||||
time.c 52012e930b3683b70745c9ac46e765449fc59e02
|
||||
dir.c e81a961fc1ee266aa151270f54024e1e7a2bb5d4
|
||||
signal.c d82b5d5225baaa152d513090715303cf3a471efd
|
||||
error.c 027ab87587753aac879a87d14aed68ac469609ae
|
||||
hash.c 90a48add85816a628c4b7e84f34f181d3772e781
|
||||
dln.c 488c3f8d5989c8c0640dd0fb4dc14dbe29dfd292
|
||||
io.c 2fc691c76efad88f77da987e8720f54477fba70e
|
||||
variable.c feba3d4dbfb850e55e9c85d548be0eef01732b05
|
||||
file.c 5f8f03c9d63600dba17d07d5a7ed8ddf464e2049
|
||||
ruby.c d7be35d486d8b283761260ddc340d831fd6fb302
|
||||
prec.c 405d264141d7ee55ff51dbc17d4838d65066ce83
|
||||
bignum.c 34dbe3ba01a899937f92a441cced0e22a6036aa8
|
||||
math.c 958af177feac771f4f58efd124e5ea7b18da11c7
|
||||
marshal.c 0be9f8ddc3f3e8f7d6369c0ee6b557a9c354a701
|
||||
eval.c 58f7f1e768c09122e491cc122468a3cf5aa95669
|
||||
gc.c 7e688ca3d4dd056559de10ba5d38f18759889f2d
|
BIN
lib/pry/core_docs_18/objects/ArgumentError.dat
Normal file
BIN
lib/pry/core_docs_18/objects/ArgumentError.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/-_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/-_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_26_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_26_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_2A_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_2A_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_2B_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_2B_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_3C_3C_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_3C_3C_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_3C_3D_3E_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_3C_3D_3E_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_3D_3D_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_3D_3D_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_5B_5D_3D_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_5B_5D_3D_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_5B_5D_c.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_5B_5D_c.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_5B_5D_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_5B_5D_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/_7C_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/_7C_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/assoc_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/assoc_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/at_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/at_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/choice_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/choice_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/clear_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/clear_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/collect_21_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/collect_21_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/collect_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/collect_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/combination_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/combination_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/compact_21_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/compact_21_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/compact_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/compact_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/concat_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/concat_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/count_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/count_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/cycle_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/cycle_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/delete_at_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/delete_at_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/delete_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/delete_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/delete_if_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/delete_if_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/drop_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/drop_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/drop_while_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/drop_while_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/each_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/each_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/each_index_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/each_index_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/empty_3F_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/empty_3F_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/eql_3F_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/eql_3F_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/fetch_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/fetch_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/fill_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/fill_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/find_index_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/find_index_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/first_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/first_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/flatten_21_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/flatten_21_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/flatten_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/flatten_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/frozen_3F_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/frozen_3F_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/hash_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/hash_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/include_3F_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/include_3F_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/index_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/index_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/indexes_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/indexes_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/indices_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/indices_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/initialize_copy_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/initialize_copy_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/initialize_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/initialize_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/insert_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/insert_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/inspect_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/inspect_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/join_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/join_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/last_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/last_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/length_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/length_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/map_21_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/map_21_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/map_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/map_i.dat
Normal file
Binary file not shown.
BIN
lib/pry/core_docs_18/objects/Array/nitems_i.dat
Normal file
BIN
lib/pry/core_docs_18/objects/Array/nitems_i.dat
Normal file
Binary file not shown.
899
lib/pry/core_docs_18/objects/Array/pack_i.dat
Normal file
899
lib/pry/core_docs_18/objects/Array/pack_i.dat
Normal file
|
@ -0,0 +1,899 @@
|
|||
o:$YARD::CodeObjects::MethodObject:
|
||||
@name: pack:@docstringIC:YARD::Docstring"Packs the contents of <i>arr</i> into a binary sequence according to
|
||||
the directives in <i>aTemplateString</i> (see the table below)
|
||||
Directives ``A,'' ``a,'' and ``Z'' may be followed by a count,
|
||||
which gives the width of the resulting field. The remaining
|
||||
directives also may take a count, indicating the number of array
|
||||
elements to convert. If the count is an asterisk
|
||||
(``<code>*</code>''), all remaining array elements will be
|
||||
converted. Any of the directives ``<code>sSiIlL</code>'' may be
|
||||
followed by an underscore (``<code>_</code>'') to use the underlying
|
||||
platform's native size for the specified type; otherwise, they use a
|
||||
platform-independent size. Spaces are ignored in the template
|
||||
string. See also <code>String#unpack</code>.
|
||||
|
||||
a = [ "a", "b", "c" ]
|
||||
n = [ 65, 66, 67 ]
|
||||
a.pack("A3A3A3") #=> "a b c "
|
||||
a.pack("a3a3a3") #=> "a\000\000b\000\000c\000\000"
|
||||
n.pack("ccc") #=> "ABC"
|
||||
|
||||
Directives for +pack+.
|
||||
|
||||
Integer | Array |
|
||||
Directive | Element | Meaning
|
||||
------------------------------------------------------------------------
|
||||
C | Integer | 8-bit unsigned integer (unsigned char)
|
||||
S | Integer | 16-bit unsigned integer, native endian (uint16_t)
|
||||
L | Integer | 32-bit unsigned integer, native endian (uint32_t)
|
||||
Q | Integer | 64-bit unsigned integer, native endian (uint64_t)
|
||||
| |
|
||||
c | Integer | 8-bit signed integer (char)
|
||||
s | Integer | 16-bit signed integer, native endian (int16_t)
|
||||
l | Integer | 32-bit signed integer, native endian (int32_t)
|
||||
q | Integer | 64-bit signed integer, native endian (int64_t)
|
||||
| |
|
||||
S_ | Integer | unsigned short, native endian
|
||||
I, I_ | Integer | unsigned int, native endian
|
||||
L_ | Integer | unsigned long, native endian
|
||||
| |
|
||||
s_ | Integer | signed short, native endian
|
||||
i, i_ | Integer | signed int, native endian
|
||||
l_ | Integer | signed long, native endian
|
||||
| |
|
||||
n | Integer | 16-bit unsigned integer, network (big-endian) byte order
|
||||
N | Integer | 32-bit unsigned integer, network (big-endian) byte order
|
||||
v | Integer | 16-bit unsigned integer, VAX (little-endian) byte order
|
||||
V | Integer | 32-bit unsigned integer, VAX (little-endian) byte order
|
||||
| |
|
||||
U | Integer | UTF-8 character
|
||||
w | Integer | BER-compressed integer
|
||||
|
||||
Float | |
|
||||
Directive | | Meaning
|
||||
------------------------------------------------------------------------
|
||||
D, d | Float | double-precision float, native format
|
||||
F, f | Float | single-precision float, native format
|
||||
E | Float | double-precision float, little-endian byte order
|
||||
e | Float | single-precision float, little-endian byte order
|
||||
G | Float | double-precision float, network (big-endian) byte order
|
||||
g | Float | single-precision float, network (big-endian) byte order
|
||||
|
||||
String | |
|
||||
Directive | | Meaning
|
||||
------------------------------------------------------------------------
|
||||
A | String | arbitrary binary string (space padded, count is width)
|
||||
a | String | arbitrary binary string (null padded, count is width)
|
||||
Z | String | same as ``a'', except that null is added with *
|
||||
B | String | bit string (MSB first)
|
||||
b | String | bit string (LSB first)
|
||||
H | String | hex string (high nibble first)
|
||||
h | String | hex string (low nibble first)
|
||||
u | String | UU-encoded string
|
||||
M | String | quoted printable, MIME encoding (see RFC2045)
|
||||
m | String | base64 encoded string (see RFC 2045, count is width)
|
||||
P | String | pointer to a structure (fixed-length string)
|
||||
p | String | pointer to a null-terminated string
|
||||
|
||||
Misc. | |
|
||||
Directive | | Meaning
|
||||
------------------------------------------------------------------------
|
||||
@ | --- | moves to absolute position
|
||||
X | --- | back up a byte
|
||||
x | --- | null byte
|
||||
:@objectu:YARD::StubProxyArray#pack:
@summary0: @all"
|
||||
Packs the contents of <i>arr</i> into a binary sequence according to
|
||||
the directives in <i>aTemplateString</i> (see the table below)
|
||||
Directives ``A,'' ``a,'' and ``Z'' may be followed by a count,
|
||||
which gives the width of the resulting field. The remaining
|
||||
directives also may take a count, indicating the number of array
|
||||
elements to convert. If the count is an asterisk
|
||||
(``<code>*</code>''), all remaining array elements will be
|
||||
converted. Any of the directives ``<code>sSiIlL</code>'' may be
|
||||
followed by an underscore (``<code>_</code>'') to use the underlying
|
||||
platform's native size for the specified type; otherwise, they use a
|
||||
platform-independent size. Spaces are ignored in the template
|
||||
string. See also <code>String#unpack</code>.
|
||||
|
||||
a = [ "a", "b", "c" ]
|
||||
n = [ 65, 66, 67 ]
|
||||
a.pack("A3A3A3") #=> "a b c "
|
||||
a.pack("a3a3a3") #=> "a\000\000b\000\000c\000\000"
|
||||
n.pack("ccc") #=> "ABC"
|
||||
|
||||
Directives for +pack+.
|
||||
|
||||
Integer | Array |
|
||||
Directive | Element | Meaning
|
||||
------------------------------------------------------------------------
|
||||
C | Integer | 8-bit unsigned integer (unsigned char)
|
||||
S | Integer | 16-bit unsigned integer, native endian (uint16_t)
|
||||
L | Integer | 32-bit unsigned integer, native endian (uint32_t)
|
||||
Q | Integer | 64-bit unsigned integer, native endian (uint64_t)
|
||||
| |
|
||||
c | Integer | 8-bit signed integer (char)
|
||||
s | Integer | 16-bit signed integer, native endian (int16_t)
|
||||
l | Integer | 32-bit signed integer, native endian (int32_t)
|
||||
q | Integer | 64-bit signed integer, native endian (int64_t)
|
||||
| |
|
||||
S_ | Integer | unsigned short, native endian
|
||||
I, I_ | Integer | unsigned int, native endian
|
||||
L_ | Integer | unsigned long, native endian
|
||||
| |
|
||||
s_ | Integer | signed short, native endian
|
||||
i, i_ | Integer | signed int, native endian
|
||||
l_ | Integer | signed long, native endian
|
||||
| |
|
||||
n | Integer | 16-bit unsigned integer, network (big-endian) byte order
|
||||
N | Integer | 32-bit unsigned integer, network (big-endian) byte order
|
||||
v | Integer | 16-bit unsigned integer, VAX (little-endian) byte order
|
||||
V | Integer | 32-bit unsigned integer, VAX (little-endian) byte order
|
||||
| |
|
||||
U | Integer | UTF-8 character
|
||||
w | Integer | BER-compressed integer
|
||||
|
||||
Float | |
|
||||
Directive | | Meaning
|
||||
------------------------------------------------------------------------
|
||||
D, d | Float | double-precision float, native format
|
||||
F, f | Float | single-precision float, native format
|
||||
E | Float | double-precision float, little-endian byte order
|
||||
e | Float | single-precision float, little-endian byte order
|
||||
G | Float | double-precision float, network (big-endian) byte order
|
||||
g | Float | single-precision float, network (big-endian) byte order
|
||||
|
||||
String | |
|
||||
Directive | | Meaning
|
||||
------------------------------------------------------------------------
|
||||
A | String | arbitrary binary string (space padded, count is width)
|
||||
a | String | arbitrary binary string (null padded, count is width)
|
||||
Z | String | same as ``a'', except that null is added with *
|
||||
B | String | bit string (MSB first)
|
||||
b | String | bit string (LSB first)
|
||||
H | String | hex string (high nibble first)
|
||||
h | String | hex string (low nibble first)
|
||||
u | String | UU-encoded string
|
||||
M | String | quoted printable, MIME encoding (see RFC2045)
|
||||
m | String | base64 encoded string (see RFC 2045, count is width)
|
||||
P | String | pointer to a structure (fixed-length string)
|
||||
p | String | pointer to a null-terminated string
|
||||
|
||||
Misc. | |
|
||||
Directive | | Meaning
|
||||
------------------------------------------------------------------------
|
||||
@ | --- | moves to absolute position
|
||||
X | --- | back up a byte
|
||||
x | --- | null byte
|
||||
|
||||
:@ref_tags[ |