pry/pry — pull request #462 by moxie (2012-02-04 13:02:14+00:00)
Title: Convert start_line in code.rb to integer before comparing it with the index

This addresses this issue:
https://github.com/pry/pry/issues/459

I'm not sure what the implications of this fix are, but it seems trivial enough. This got my show-method working again. See below.

```
[2] pry(main)> show-method Blog.classify_blogs

From: /Users/joepeduto/.rvm/gems/ree-1.8.7-2011.03@ss/gems/pry-0.9.8.1/lib/pry/method.rb @ line 300:
Number of lines: 14
Owner: #
Visibility: public

def self.classify_blogs
ga_verified.auto_classifiable.each do |blog|
next if blog.average_daily_visitors.blank? || blog.average_daily_visitors.zero?

begin
transaction do
blog.lock!
blog.classify!
end
rescue Exception => err
logger.error("Error classifying blog #{blog.id}: #{err}")
end
end
end
```