1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

21 commits

Author SHA1 Message Date
John Mair
2b416705e5 Pry::Code#module_source_location now respects rbx
* it also only uses methods defined on the actual class (rather than ancestors)
2012-04-11 16:46:16 +12:00
John Mair
536166f697 added Pry::Code.from_module and Pry::Code.module_source_location
* Also added a few other important helpers to Pry::Code; a lot of this is machinery to get show-source and show-doc to properly
display module source/docs
2012-04-11 02:17:35 +12:00
John Mair
8d0fa78ce5 moved Pry#complete_expression? et al to Pry::Code
* This is so we can use it without needing a Pry instance present, it also feels like a more natural home for it.
2012-04-11 02:17:35 +12:00
Ryan Fitzgerald
10b223855e Merge remote-tracking branch 'golive/master'
Conflicts:
	lib/pry/default_commands/input.rb
2012-03-17 22:21:12 -07:00
Jordon Bedwell
46f97884bf Add an extra newline to Pry::Code.raw. 2012-03-05 06:06:04 -06:00
Gerbert Olivé
645821e4d8 Apply hist --tail or --head after --grep 2012-02-10 22:53:12 +01:00
Joe Peduto
e83241e41e convert start_line to an integer 2012-02-04 07:57:52 -05:00
Ryan Fitzgerald
239c0fa14a add Code#raw (fixes #427) 2012-01-20 21:56:42 -08:00
Ryan Fitzgerald
8879dfc6de fix line/index confusion in Code#between 2012-01-15 14:16:18 -08:00
Ryan Fitzgerald
25ae1c4d15 speed up hist --exclude-pry 2012-01-15 13:42:09 -08:00
Ryan Fitzgerald
b13d07516a add a few composition tests 2012-01-15 12:26:12 -08:00
Ryan Fitzgerald
696a2f1a82 very minor api tweak 2012-01-14 23:03:41 -08:00
Ryan Fitzgerald
710a60ebee restore extension-checking to cat 2012-01-14 22:06:24 -08:00
Ryan Fitzgerald
b62457e695 add tests for Pry::Code 2012-01-14 21:19:30 -08:00
Ryan Fitzgerald
d393de4ba1 add documentation for Pry::Code (plus alter method) 2012-01-14 20:07:16 -08:00
Ryan Fitzgerald
ed3cabfb18 refactor hist 2012-01-08 00:11:30 -08:00
Ryan Fitzgerald
c6da40778a minor refactoring 2012-01-07 23:56:42 -08:00
Ryan Fitzgerald
e7fed21ded refactor cat 2012-01-07 22:01:15 -08:00
Ryan Fitzgerald
006f0e0e9c use Code for show-command 2011-12-04 16:33:47 -08:00
Ryan Fitzgerald
c230c1f596 use Pry::Code for show-input and show-method 2011-12-04 16:33:47 -08:00
Ryan Fitzgerald
9f51d100f2 working implementation of Pry::Code w/ whereami 2011-12-04 16:33:47 -08:00