Parses save game files from the Prison Architect game.
Add this line to your application's Gemfile:
gem 'prison_parser'
And then execute:
$ bundle
Or install it yourself as:
$ gem install prison_parser
> require "prison_parser"
> prison = PrisonParser.new(File.read("your_save_game.prison"))
> prison["Rooms"] #=> Array of room hashes
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request