Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Some Pry Features
Search
Yann VERY
November 04, 2015
Programming
97
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Some Pry Features
lighting talk made at paris.rb 2015/11/03
Yann VERY
November 04, 2015
Other Decks in Programming
See All in Programming
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
170
ジョジョの世界をXRで再現する
mofurune
0
170
Workers Cache を知る
syumai
0
370
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
750
最近”作らせてる” ローカルAIアプリの話
akit37
0
480
The Rails Doctrine Decade
koic
2
590
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.4k
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
1.6k
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
How to build a perfect <img>
jonoalderson
1
6.1k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
Navigating Weather and Climate Data
rabernat
0
560
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Statistics for Hackers
jakevdp
799
230k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
The World Runs on Bad Software
bkeepers
PRO
72
12k
Transcript
Some Pry Features @yannvery
IRB is great to experiment Pry is more
1 - Basics ls - list methods ? - show
documentation $ - show source code
2 - History [4] pry(main)> hist 1: (0..5).each do |number|
2: puts number 3: end
2 - History - replay [5] pry(main)> hist --replay 1..3
0 1 …
2 - History - all [35] pry(main)> hist --all --tail
100 Use --all option to list all pry history
[6] pry(main)> def fullname [7] pry(main)> [first, last].compact.join(' ') [8]
pry(main)> edit 3 - Editor
3 - Editor
3 - Editor [9] pry(main)> fullname('John', 'Doe') => "John Doe"
3 - Editor configure your editor edit .pryrc file Pry.config.editor
= 'subl -w'
4 - Copy to clipboard gem install gist [9] pry(main)>
clipit fullname Copied content to clipboad!
5 - Reload # Ruby load 'lib/user.rb' #Rails reload! with
IRB
5 - Reload [1] pry(main)> user = User.last [2] pry(main)>
edit user with PRY
5 - Reload with PRY
[1] pry(main)> user = User.last [2] pry(main)> edit user [2]
pry(main)> user.fullname => "John Doe" 5 - Reload with PRY
Questions ?! Pry • https://github.com/pry/pry/wiki Yann VERY (@yannvery) • http://ribium.com