Skip to content

Commit

Permalink
Merge pull request #131 from krpk1900/fix_typo_README
Browse files Browse the repository at this point in the history
Fixed typos in README
  • Loading branch information
sandstrom authored Mar 19, 2023
2 parents 8ff186b + 2857607 commit c94ff01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit c94ff01

Please sign in to comment.