RubyGems.org

pry-hack

0.1

Using a lexical parser, this gem allows you to add hacks to your REPL session allowing you to have shortcut syntax. Things such as [0] pry(main)> object.@ivar => :im_the_return_of_an_instance_variable Or [0] pry(main)> %S{hello symbol world} => [:hello, :symbol, :world] And even the most desired ruby syntax of all is planned to come, that's right. Increment and decrement operators. [0] pry(main)> i++ => 1 [1] pry(main)> i-- => 0

installgem install pry-hack
Authors

Matthew Carey

745 total downloads 745 for this version
Owners

8268a5c120ac6e1881e27eef09e61022

Gemfile
gem 'pry-hack', '~> 0.1'
Versions
  1. 0.1 November 19, 2012 (6.5 KB)