summaryrefslogtreecommitdiff
path: root/lib/method_source.rb
Commit message (Collapse)AuthorAgeFilesLines
* version 0.3.0, some ruby 1.8 supportdevJohn Mair2011-02-281-12/+36
|
* refactor to use File block instead of manually closingJohn Mair2010-12-191-26/+23
|
* removed kruft (stringio and explicit receiver for valid_expression?)John Mair2010-12-181-2/+1
|
* version 0.2.0, support for method comments (and a few minor changes), thanks ↵Adam Sanderson2010-12-181-17/+61
| | | | | | | | | | to Adam Sanderson * Merged in Adam's changes * Refactored source_helper to reflect comment_helper style * Made some adjustments to Adam's code: removed buffer.strip, now doing an lstrip on each line before adding to buffer * No longer including blank lines in comment buffer (blank lines ignored) * Added large number of comment-related tests
* replaced RubyVM::ISeq with Ripper; method_source should now work on all 1.9 ↵John Mair2010-12-171-17/+5
| | | | Ruby implementations that support Ripper
* added warning about YARV only (due to RubyVM, so not JRuby compatible). Also ↵John Mair2010-12-171-0/+4
| | | | added support and tests for Proc#source
* first commitJohn Mair2010-12-171-0/+94