summaryrefslogtreecommitdiff
path: root/lib/method_source/code_helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Be more careful about separating out the rbx-only regexesRyan Fitzgerald2013-07-271-6/+6
|
* Remove colons from rbx regexps, separate from generic onesRyan Fitzgerald2013-07-271-4/+19
|
* Fix 'assigned but unused variable' warningJack Nagel2013-04-061-1/+1
|
* Basic ruby-2.0 supportConrad Irwin2012-09-111-1/+1
|
* Allow embedded documents in incomplete expressions [Fixes pry#622]Conrad Irwin2012-07-021-0/+2
| | | | Also import complete_expression? tests from Pry.
* properly documented :consume parameterJohn Mair2012-07-021-5/+11
|
* define a consume parameter for expression_at and extract_first_expressionJohn Mair2012-06-291-5/+11
| | | | | | When consume is > 0 it prefills the expression buffer with `consume` lines of input. This enables you to rapidly check a large chunk of code for validity as you skip over the initial portion you know is valid without having to perform an expensive eval() on each line.
* Import some CodeHelpers from Pry.Conrad Irwin2012-06-031-0/+125
The hope is that they can live in this gem permanently, and Pry can also include MethodSource::CodeHelpers in the relevant places.