Project

hipku

0.0
No commit activity in last 3 years
No release in over 3 years
A simple gem to encode/decode IPv4 and IPv6 addresses as/from haiku. A port of http://gabrielmartin.net/projects/hipku/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

> 0
 Project Readme

Gem Version

hipku

Hipku – encode any IP address as a haiku

A simple gem to encode/decode IPv4 and IPv6 addresses as/from haiku. A port of http://gabrielmartin.net/projects/hipku/

Usage:

To encode:

require 'hipku'
Hipku.encode('127.0.0.1')
# => "The hungry white ape\naches in the ancient canyon.\nAutumn colors crunch.\n"

To decode:

require 'hipku'
Hipku.decode("The hungry white ape\naches in the ancient canyon.\nAutumn colors crunch.\n")
# => "127.0.0.1"