Closed bfaloona closed 12 years ago
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'
I miss that Struct
Re-open if this is still an issue.
Repro:
Result: