Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example.rb is not a valid quiz #2

Closed
jeady opened this issue May 14, 2012 · 1 comment
Closed

example.rb is not a valid quiz #2

jeady opened this issue May 14, 2012 · 1 comment

Comments

@jeady
Copy link
Contributor

jeady commented May 14, 2012

It looks like maybe lib/fill_in.rb is missing? When attempting to generate a quiz from the supplied example.rb file, I receive the following error.

Artemis% ./quiz example.rb html5 --template=./html_template/template.html.erb > questionfile.html
./quiz:42:in `instance_eval': undefined method `fill_in' for #<Quiz:0x007fc46b1b8578> (NoMethodError)
    from /Users/jmeady/Code/saas-class/quiz/lib/quiz.rb:101:in `instance_eval'
    from /Users/jmeady/Code/saas-class/quiz/lib/quiz.rb:101:in `quiz'
    from (eval):4:in `main'
    from ./quiz:42:in `instance_eval'
    from ./quiz:42:in `main'
    from ./quiz:47:in `<main>'
Artemis% grep -r -n fill_in .
./example.rb:19:  fill_in :points => 2 do
./example.rb:25:  fill_in do
./example.rb:31:  fill_in :order => false do
@richardxia
Copy link
Contributor

Fixed by jeady's recent commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants