I get lots of errors like this:
[error]: Unhandled exception in YARD::Handlers::Ruby::MethodHandler:
[error]: in `lib/homedir/package_discovery_loader.rb`:9:
9: def load_from_directory path
[error]: NoMethodError: undefined method `' for #<OpenStruct>
[error]: Stack trace:
/Users/docwhat/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.5/lib/yard/handlers/processor.rb:128:in `block (2 levels) in process'
/Users/docwhat/.rvm/gems/ruby-1.9.3-p0/gems/yard-0.7.5/lib/yard/handlers/processor.rb:126:in `block in process'
Nevermind. It works. It was a case of the real error being buried under lots of unhelpful errors. :-(
Though maybe it could be argued that yard-thor shouldn't causes problems when there was a problem.
In my case, the file gained an extra " which destroyed the syntax pars-ability of the file.
Hmm...no the documentation still isn't appearing. The normal yard stuff appears...
Let me look into this more.
yard is using OpenStructs instead of Hashes
This fixes issue #2
Okay, submitted a pull request...