From: Mike Stok Date: 2013-05-25T06:58:48+09:00 Subject: Re: Learning and stuck `OpenStruct` standard library of Ruby On 2013-05-24, at 5:49 PM, Mike Stok wrote: > > On 2013-05-24, at 3:34 PM, Love U Ruby wrote: > >> Mike Stok wrote in post #1110034: >>> On 2013-05-24, at 6:44 AM, Love U Ruby wrote: >> >>>> Can any one help me to understand the same? >>> >>> You might be able to help yourself by using a tool like pry >>> http://pryrepl.org to look at the variables and source. For example >> >>> I have found pry and its add-ons to be very useful for exploring bits of >>> ruby code. >>> >> >> first time, I saw `pry`. You mentioned some `add-ons` you are using. >> What are they? How are they useful? any more suggestions please? >> >> >> Thanks > > By default I install bundler, pry, and pry-plus as gems for my basic ruby installs. > > https://github.com/rking/pry-plus is a bundle of useful pry add-on gems. > > There are many extras for pry, I haven't yet learned all of pry and pry-plus so I should not be considered any kind of authority! https://www.youtube.com/watch?v=jDXsEzOHb2M is a pry presentation from railsconf 2013 -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply.