yob/pdf-reader — Issue #33: page.text : wrong number of arguments (1 for 6)
Author: proxygear
Created: 2011-11-03 08:22:25+00:00
State: open

GemFile

```ruby

gem 'pdf-reader', :git => "git://github.com/yob/pdf-reader.git"

```
I make a simple test in my app :
``` ruby

describe PDF do
describe PDF::Reader do
it "should parse target pdf" do
reader = ::PDF::Reader.new("./spec/resources/target.pdf")
pages = reader.pages
puts "pages : #{pages.count}"
pages.each do |page|
t = page.text
end
end
end
end

```
I get the following error :

2) PDF PDF::Reader should parse target pdf
Failure/Error: t = page.text
ArgumentError:
wrong number of arguments (1 for 6)
# ./spec/models/pdf_spec.rb:10
# ./spec/models/pdf_spec.rb:9:in `each'
# ./spec/models/pdf_spec.rb:9

Seams there is something broken