0.03
No commit activity in last 3 years
No release in over 3 years
Unofficial implementation of String#undump, does inverse of String#dump
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

String#undump

Unofficial implementation of String#undump, does inverse of String#dump. See Feature #12275 for details.

Usage

require 'string_undump'

puts '\u3059\u3054\u30FC\u3044'.undump #=> すごーい
puts '\xE3\x81\x9F\xE3\x81\xAE\xE3\x81\x97\xE3\x83\xBC'.undump #=> たのしー
puts '\u{1F43E}'.undump #=> 🐾

See testcase also.

Installation

Add this line to your application's Gemfile:

gem 'string_undump'

And then execute:

$ bundle

Or install it yourself as:

$ gem install string_undump

Supported Ruby versions

2.0.0 or later.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tadd/string_undump.

License

Ruby's. See COPYING.