Sha256: aae9ec1913bc6ae504123457dbd94987d4ca59fba872c8336f8e9242553115d1
Contents?: true
Size: 783 Bytes
Versions: 1
Compression:
Stored size: 783 Bytes
Contents
= squarecoder Squarecoder encapsulates a Squarecoder::Transcoder singleton that encodes and decodes a string using the {square code}[link:http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html] method. You will also find two new String methods: String.square_encode and String.square_decode. == Installation $ gem install squarecoder Or # in Gemfile gem 'squarecoder' $ bundle install == Examples Squarecoder::Transcoder.encode("haveaniceday") # => "hae and via ecy" Squarecoder::Transcoder.decode("hae and via ecy") # => "haveaniceday" "haveaniceday".square_encode # => "hae and via ecy" "hae and via ecy".square_decode # => "haveaniceday" == Copyright Copyright (c) 2011-2013 Aaron Breckenridge. See LICENSE.txt for further details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
squarecoder-0.0.2 | README.rdoc |