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

6 commits

Author SHA1 Message Date
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
11c3e335e9 lib/pry/commands/ls/*.rb: tweak visibility of the methods 2013-12-01 04:48:19 +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