summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2021-06-22 06:56:46 +1000
committerJohn Bampton <[email protected]>2021-06-22 06:57:03 +1000
commit188e9b6fb01a8b228f4e4d7cce1d509e103f2610 (patch)
treebe30e63729f3ec039505b4b87a0ecded7e0bb9ed /mrbgems
parent8416e706ba1758e6d0f85adf0f2b3510ce711862 (diff)
downloadmruby-188e9b6fb01a8b228f4e4d7cce1d509e103f2610.tar.gz
mruby-188e9b6fb01a8b228f4e4d7cce1d509e103f2610.zip
Enable markdownlint rules MD003,MD005,MD007
Lint Markdown https://github.com/DavidAnson/markdownlint#rules--aliases
Diffstat (limited to 'mrbgems')
-rw-r--r--mrbgems/mruby-io/README.md3
-rw-r--r--mrbgems/mruby-method/README.md3
-rw-r--r--mrbgems/mruby-pack/README.md59
-rw-r--r--mrbgems/mruby-socket/README.md3
4 files changed, 32 insertions, 36 deletions
diff --git a/mrbgems/mruby-io/README.md b/mrbgems/mruby-io/README.md
index a518e6169..c07a6e89b 100644
--- a/mrbgems/mruby-io/README.md
+++ b/mrbgems/mruby-io/README.md
@@ -1,5 +1,4 @@
-mruby-io
-========
+# mruby-io
`IO` and `File` classes for mruby
diff --git a/mrbgems/mruby-method/README.md b/mrbgems/mruby-method/README.md
index f299718df..41130bb82 100644
--- a/mrbgems/mruby-method/README.md
+++ b/mrbgems/mruby-method/README.md
@@ -1,5 +1,4 @@
-mruby-method
-===
+# mruby-method
An implementation of class **Method** and **UnboundMethod** for mruby
diff --git a/mrbgems/mruby-pack/README.md b/mrbgems/mruby-pack/README.md
index 717c13ddc..712cf8e1c 100644
--- a/mrbgems/mruby-pack/README.md
+++ b/mrbgems/mruby-pack/README.md
@@ -1,5 +1,4 @@
-mruby-pack (pack / unpack)
-=========
+# mruby-pack (pack / unpack)
mruby-pack provides `Array#pack` and `String#unpack` for mruby.
@@ -15,34 +14,34 @@ There is no dependency on other mrbgems.
## Supported template string
- - A : arbitrary binary string (space padded, count is width)
- - a : arbitrary binary string (null padded, count is width)
- - C : 8-bit unsigned (unsigned char)
- - c : 8-bit signed (signed char)
- - D, d: 64-bit float, native format
- - E : 64-bit float, little endian byte order
- - e : 32-bit float, little endian byte order
- - F, f: 32-bit float, native format
- - G : 64-bit float, network (big-endian) byte order
- - g : 32-bit float, network (big-endian) byte order
- - H : hex string (high nibble first)
- - h : hex string (low nibble first)
- - I : unsigned integer, native endian (`unsigned int` in C)
- - i : signed integer, native endian (`int` in C)
- - L : 32-bit unsigned, native endian (`uint32_t`)
- - l : 32-bit signed, native endian (`int32_t`)
- - m : base64 encoded string (see RFC 2045, count is width)
- - N : 32-bit unsigned, network (big-endian) byte order
- - n : 16-bit unsigned, network (big-endian) byte order
- - Q : 64-bit unsigned, native endian (`uint64_t`)
- - q : 64-bit signed, native endian (`int64_t`)
- - S : 16-bit unsigned, native endian (`uint16_t`)
- - s : 16-bit signed, native endian (`int16_t`)
- - U : UTF-8 character
- - V : 32-bit unsigned, VAX (little-endian) byte order
- - v : 16-bit unsigned, VAX (little-endian) byte order
- - x : null byte
- - Z : same as "a", except that null is added with *
+- A : arbitrary binary string (space padded, count is width)
+- a : arbitrary binary string (null padded, count is width)
+- C : 8-bit unsigned (unsigned char)
+- c : 8-bit signed (signed char)
+- D, d: 64-bit float, native format
+- E : 64-bit float, little endian byte order
+- e : 32-bit float, little endian byte order
+- F, f: 32-bit float, native format
+- G : 64-bit float, network (big-endian) byte order
+- g : 32-bit float, network (big-endian) byte order
+- H : hex string (high nibble first)
+- h : hex string (low nibble first)
+- I : unsigned integer, native endian (`unsigned int` in C)
+- i : signed integer, native endian (`int` in C)
+- L : 32-bit unsigned, native endian (`uint32_t`)
+- l : 32-bit signed, native endian (`int32_t`)
+- m : base64 encoded string (see RFC 2045, count is width)
+- N : 32-bit unsigned, network (big-endian) byte order
+- n : 16-bit unsigned, network (big-endian) byte order
+- Q : 64-bit unsigned, native endian (`uint64_t`)
+- q : 64-bit signed, native endian (`int64_t`)
+- S : 16-bit unsigned, native endian (`uint16_t`)
+- s : 16-bit signed, native endian (`int16_t`)
+- U : UTF-8 character
+- V : 32-bit unsigned, VAX (little-endian) byte order
+- v : 16-bit unsigned, VAX (little-endian) byte order
+- x : null byte
+- Z : same as "a", except that null is added with *
## License
diff --git a/mrbgems/mruby-socket/README.md b/mrbgems/mruby-socket/README.md
index b727dc982..8084cdb70 100644
--- a/mrbgems/mruby-socket/README.md
+++ b/mrbgems/mruby-socket/README.md
@@ -1,5 +1,4 @@
-mruby-socket
-============
+# mruby-socket
"mruby-socket" mrbgem provides BSD socket interface for mruby.
API is compatible with CRuby's "socket" library.