You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimal code I was able to create for reproducing the issue:
classBaseWrapperdefdescription(text)@object.description=text.gsub(/^[ \t]+/,'')# remove spaces at a beginning of each line.gsub(/\A\n|\n\s*\Z/,'')endclassPostProcessProxyendend
What's going on after this is instead of PostProcessProxy there is ostProcessProxy in docs (and all the other entity names after problematic method is screwed this or that way).
Specifically, problem is created by those two lines:
.gsub(/^[ \t]+/,'')# remove spaces at a beginning of each line.gsub(/\A\n|\n\s*\Z/,'')
If I'll remove the second with complicated regexp -- everything becomes ok. If I remove the comment from the first of them -- everything becomes ok. But in current state of those lines everything is screwed up.
Environment details:
OS: Ubuntu 14.04
Ruby version (ruby -v): ruby 2.2.4p230 (2015-12-16 revision 53155) [i686-linux]
YARD version (yard -v): yard 0.9.5
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Minimal code I was able to create for reproducing the issue:
What's going on after this is instead of
PostProcessProxy
there isostProcessProxy
in docs (and all the other entity names after problematic method is screwed this or that way).Specifically, problem is created by those two lines:
If I'll remove the second with complicated regexp -- everything becomes ok. If I remove the comment from the first of them -- everything becomes ok. But in current state of those lines everything is screwed up.
Environment details:
ruby -v
):ruby 2.2.4p230 (2015-12-16 revision 53155) [i686-linux]
yard -v
):yard 0.9.5
The text was updated successfully, but these errors were encountered: