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

13 commits

Author SHA1 Message Date
Conrad Irwin
2ad1b3a1c2 add color more confidently 2014-05-01 01:53:53 -07:00
Kyrylo Silin
5aa7e38e63 lib/pry/code/code_file.rb: refactor #code_path
Make the code slightly more self-documenting.
2013-11-25 23:41:28 +02:00
Kyrylo Silin
2ca3f9d4de lib/pry/code/code_file.rb: make use of the @filename ivar 2013-11-25 23:31:36 +02:00
Shannon Skipper
957b2b246b Adjust indentions to be uniform. 2013-11-24 15:04:16 -08:00
Shannon Skipper
173bbd02da Shorten #readable_source? to #readable?. 2013-11-23 14:52:21 -08:00
Shannon Skipper
95110424c6 Refactored. 2013-11-23 14:46:56 -08:00
Kyrylo Silin
3a1dad7c3f lib/pry/code/code_file.rb: fix typo in #code 2013-11-23 23:04:53 +02:00
Kyrylo Silin
e26725978c lib/pry/code.rb,lib/pry/code/code_file.rb: add docs 2013-11-23 23:03:39 +02:00
Kyrylo Silin
973af56441 lib/pry/code.rb: factor out code related to filename handling
Factor out it to `lib/pry/code/code_file.rb`.
2013-11-23 23:01:40 +02:00
Conrad Irwin
d6ef67cfa7 Remove warnings [Fixes #869] 2013-03-02 16:01:55 -08:00
Kyrylo Silin
8a610e40f3 Code::LOC: add #== and use it in Code#==
And fix a typo in comments.

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2013-01-07 17:51:43 +02:00
Kyrylo Silin
13f8c1e688 Code::LOC: tuple should be "reader"
There is no need to expose the "writer" method.

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2013-01-07 17:51:43 +02:00
Kyrylo Silin
80e612b6a1 Move LOC and CodeRange to their own files
`Pry::Code` is not cluttered anymore.

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2013-01-05 14:32:12 +02:00