サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
github.com/prymitive
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
github.com/pry
The show-stack command is used to display the current backtrace. Unlike the normal Ruby caller method, it only displays those frames that are accessible to Pry -- so frames for C functions are skipped. show-stack also displays more information about each frame, including the frame type, and the class-name. The following options are supported: Use the -v option to include extra information such as
Back to Main Menu Quick Menu: With the pry-rails plugin (Rails3, 4+ only) - recommended With Pry in your Gemfile Without Pry in your Gemfile Rails 3.2+ fix With ~/.irbrc file On Heroku Overview This page will show you how to configure your Rails application to use Pry instead of IRB. With the pry-rails plugin (Rails3, 4+ only) - recommended This is a gem which causes rails console to open pry as w
pry-stack_explorer Walk the stack in a Pry session Pry::StackExplorer is a plugin for Pry that allows navigating the call stack. From the point a Pry session is started, the user can move up the stack through parent frames, examine state, and even evaluate code. Unlike ruby-debug, pry-stack_explorer incurs no runtime cost and enables navigation right up the call-stack to the birth of the program.
The standard (and recommended) way to invoke Pry at runtime is to use binding.pry. Starting Pry this way ensures that all local variables and other relevant state (such as default definee and cref) are inherited by the session. It also causes the whereami command to be invoked automatically - and so the surounding context of the session (a few lines either side of the invocation line) are displaye
Overview: See the CHANGELOG for more information on what's changed Welcome to the official wiki for the Pry REPL: a powerful IRB alternative and runtime developer console for Ruby. Note that not every aspect of Pry is covered in the material below, just a very significant chunk. For basic information on getting started it is recommended you watch the introductory screencast. At the moment, the sup
このページを最初にブックマークしてみませんか?
『The Pry REPL』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く