Project

motion-pp

0.0
No release in over 3 years
Low commit activity in last 3 years
Pretty-printer for RubyMotion objects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
 Project Readme

motion-pp

Pretty-printer for RubyMotion objects.

Installation

Add this line to your application's Gemfile:

gem 'motion-pp'

And then execute:

$ bundle

Or install it yourself as:

$ [sudo] gem install motion-pp

Usage

This gem can be used in Rakefile of your RubyMotion project by requiring.

require 'motion-pp'

And then, you would write the code, like:

  ary = Array.new(5) { {:foobar => :baz} }
  pp ary
  #=> [{:foobar=>:baz},
       {:foobar=>:baz},
       {:foobar=>:baz},
       {:foobar=>:baz},
       {:foobar=>:baz}]

This library provides the same APIs as standard Ruby. You could see the APIs references at http://ruby-doc.org/stdlib-1.9.3/libdoc/pp/rdoc/