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

? getting stripped #220

Closed
vipulnsward opened this issue Apr 24, 2013 · 4 comments
Closed

? getting stripped #220

vipulnsward opened this issue Apr 24, 2013 · 4 comments
Labels
Milestone

Comments

@vipulnsward
Copy link

With ref to ruby/ruby#292 and http://ruby-doc.org/core-2.0/String.html#method-i-include-3F

"hello".include? ?h #=> true

gets converted to

"hello".include? h #=> true

@leejarvis
Copy link
Contributor

I think maybe this is specific to the output formatter? Either that or it's already been fixed in rdoc, and ruby-doc.org displays this as a footnote: Generated with the Ruby-doc Rdoc Generator 0.22.7.

@Neurogami
Copy link

I get the same results using the default Darkfish template, with RDoc 4.0.1 (BTW, that footer refers to the version of the rubydoc template, not the version of the rdoc gem)

@leejarvis
Copy link
Contributor

(BTW, that footer refers to the version of the rubydoc template, not the version of the rdoc gem)

Of course :)

I still can't reproduce this when using the same example in custom code, though.

@vipulnsward
Copy link
Author

thanks @drbrain

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

No branches or pull requests

3 participants