Mention/explain example_helper.rb/stroke_axis at the beginning of the manual #287

Closed
edruder opened this Issue Oct 18, 2011 · 1 comment

Projects

None yet

2 participants

@edruder
edruder commented Oct 18, 2011

As a user new to prawn, I faithfully started to play with prawn by copying the code in the examples in the manual into my own little test app, to see for myself the effects of the code. One of the first Basic Concepts, origin.rb, calls stroke_axis which fails mightily (and mysteriously, since the error message doesn't give a clear indication of what happened), since stroke_axis is defined in example_helper.rb, which I hadn't required in my test app.

@bradediger
Member

Thanks for the comment. I've added a note to the manual's introduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment