summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsandstrom <mail+github@a16m.se>2023-03-19 11:53:02 +0100
committerGitHub <noreply@github.com>2023-03-19 11:53:02 +0100
commitc94ff01a4f665226d16693d37674bf003e9793b5 (patch)
treeaa96cca0da5a0c505c5ace1829d25ca3b7d80bbf
parent8ff186bd8d71da69fa33b999ff69be9d8885c424 (diff)
parent2857607c37fd0657963b2aa5e681e4028e537aa3 (diff)
downloadipaddress-master.tar.gz
Merge pull request #131 from krpk1900/fix_typo_READMEHEADmaster
Fixed typos in README
-rw-r--r--README.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rdoc b/README.rdoc
index 7d9600a..bb5cf72 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -158,7 +158,7 @@ If you need to print out the IPv4 address in a canonical form, you can
use `IPv4#to_string`:
ip.to_string
- #=> "172.16.10.l/24"
+ #=> "172.16.10.1/24"
=== Changing netmask
@@ -168,7 +168,7 @@ object. For example:
ip.prefix = 25
ip.to_string
- #=> "172.16.10.l/25"
+ #=> "172.16.10.1/25"
If you need to use a netmask in IPv4 format, you can achive so by
using the `IPv4#netmask=` method: