tkersey/isbn

`NoMethodError` raised when passing a nil value to `ISBN.valid?`

Closed this issue · 1 comments

private method `delete' called for nil:NilClass
.../isbn-2.0.6/lib/isbn.rb:68:in `valid?'

I would expect it to be returning false instead. I can put together a pull request request with tests as needed for this later.

Pull request would be great.

Tim Kersey

On Tue, May 3, 2011 at 3:40 PM, ambethia <
reply@reply.github.com>wrote:

private method `delete' called for nil:NilClass
.../isbn-2.0.6/lib/isbn.rb:68:in `valid?'

I would expect it to be returning false instead. I can put together a
pull request request with tests as needed for this later.

Reply to this email directly or view it on GitHub:
#2