Robert Gleeson
|
e5ecf91291
|
update 'ls' command to go through `_pry_.config`. closes #1126.
|
2014-02-08 19:17:37 +01:00 |
Conrad Irwin
|
15d4a77353
|
sp.
|
2014-02-05 15:35:24 -08:00 |
Conrad Irwin
|
a01265881d
|
Fix ls on Fixnum [Fixes #1120]
|
2014-02-05 15:35:24 -08:00 |
Conrad Irwin
|
c7386aebc2
|
Remove level of indirection
|
2014-01-24 00:25:03 -08:00 |
yui-knk
|
b05b6edd4c
|
Refactor lib/pry/commands/ls/globals.rb format method.
|
2013-12-28 10:03:36 +09:00 |
yui-knk
|
f3394b42ba
|
Fix 'ls -g' shows colored results. If Ruby is post 1.9.2 global_variables returns Array of symbol. So change them to string to compare BUILTIN_GLOBALS or PSEUDO_GLOBALS.
|
2013-12-24 23:35:37 +09:00 |
Kyrylo Silin
|
b0fe06d988
|
lib/pry/commands/ls/ls_entity.rb: use `Proc#call` instead of `Proc#[]`
The boys disliked my procs :(
I changed my procs.
My procs look beautiful now.
The boys like it :)
|
2013-12-03 10:19:53 +02:00 |
Kyrylo Silin
|
7bf6c15893
|
Wrap entities into the LsEntity facility
And thus simplify "#process".
|
2013-12-01 18:47:50 +02:00 |
Kyrylo Silin
|
11c3e335e9
|
lib/pry/commands/ls/*.rb: tweak visibility of the methods
|
2013-12-01 04:48:19 +02:00 |
Kyrylo Silin
|
e7f0872de8
|
lib/pry/commands/ls/methods*: include JRubyHacks in the right place
|
2013-12-01 04:07:32 +02:00 |
Kyrylo Silin
|
18055d0e47
|
Command::Ls: get rid of the superfluous "not"
And also "require" files in the places where I forgot to do that.
|
2013-12-01 03:14:29 +02:00 |
Kyrylo Silin
|
5a68874a6c
|
lib/pry/commands/ls/methods*: move #below_ceiling
Since it's used only in one place, it shouldn't be in the module. Also,
add the missing switch.
|
2013-12-01 02:59:21 +02:00 |
Kyrylo Silin
|
0787e42ed0
|
Refactor the way how `ls` displays local variables
|
2013-12-01 02:37:49 +02:00 |
Kyrylo Silin
|
e36cdc678e
|
Refactor the way how `ls` displays local names
|
2013-12-01 02:15:35 +02:00 |
Kyrylo Silin
|
41ae33a7ed
|
Refactor the way how `ls` displays ivars
|
2013-12-01 01:56:53 +02:00 |
Kyrylo Silin
|
b2f32f3088
|
Refactor the way how `ls` displays self methods
|
2013-12-01 01:34:14 +02:00 |
Kyrylo Silin
|
94db19efc1
|
Refactor the way how `ls` displays methods
Also, split a lot of code into the nice small modules.
|
2013-11-30 17:49:18 +02:00 |
Kyrylo Silin
|
63f12424d1
|
Refactor the way how `ls` displays constants
I also had to refactor global variables a bit, because the more entities
I have to display, the harder the code is.
|
2013-11-30 16:02:53 +02:00 |
Kyrylo Silin
|
acdab50b25
|
lib/pry/commands/ls/globals.rb: simplify/refactor some code
|
2013-11-30 14:26:28 +02:00 |
Kyrylo Silin
|
f67830d9a5
|
Refactor the way how `ls` displays global variables
This is just a facility, "ls.rb" still uses the old code for the time
being. I'm going to assemble everything when I prepare all the code.
|
2013-11-30 14:26:28 +02:00 |