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

NoMethodError: undefined method `parameters' for #<yardoc class CustomerUsageBehavior> #18

Closed
bfaloona opened this issue May 31, 2011 · 2 comments
Assignees

Comments

@bfaloona
Copy link
Contributor

Repro:

CustomerUsageBehavior = Struct.new(:weight, :days, :time, :location, :other_party, :usage_type, :direction, :quantity)

Result:

[error]: Exception occurred while generating 'CustomerUsageBehavior.html'
[error]: NoMethodError: undefined method `parameters' for #<yardoc class CustomerUsageBehavior>
[error]: Stack trace:
        /usr/local/lib/ruby/gems/1.8/gems/yard-0.7.1/lib/yard/code_objects/base.rb:328:in `method_missing'
        /usr/local/lib/ruby/gems/1.8/gems/yard-0.7.1/templates/default/tags/html/tag.erb:11:in `_erb_cache_41'
        /usr/local/lib/ruby/gems/1.8/gems/yard-0.7.1/templates/default/tags/html/tag.erb:3:in `each'
        /usr/local/lib/ruby/gems/1.8/gems/yard-0.7.1/templates/default/tags/html/tag.erb:3:in `_erb_cache_41'
        /usr/local/lib/ruby/gems/1.8/gems/yard-0.7.1/lib/yard/templates/template.rb:238:in `send'
        /usr/local/lib/ruby/gems/1.8/gems/yard-0.7.1/lib/yard/templates/template.rb:238:in `erb'
@ghost ghost assigned burtlo Jun 4, 2011
@burtlo
Copy link
Owner

burtlo commented Jun 4, 2011

I miss that Struct

@burtlo
Copy link
Owner

burtlo commented Nov 25, 2011

Re-open if this is still an issue.

@burtlo burtlo closed this as completed Nov 25, 2011
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