RubyGems Navigation menu

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

Gemfile
          gem 'pry-hack', '~> 0.1'
  
  
  
  
  
  
  

install
          gem install pry-hack
  
  
  
  
  
  
  

Authors:

  • Matthew Carey

Owners:

Total downloads 810

For this version 810

Required Ruby Version: None

Links:

Versions:

  1. 0.1 - November 19, 2012 (6.5 KB)