-
Notifications
You must be signed in to change notification settings - Fork 455
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
Removed the section about ri, added --no-ri and --no-rdoc flags. #75
Conversation
I agree with all this. The only issues are:
|
@alexch had a reason to keep ri. Also I've started using it again now that I do a lot of hacking on airplanes. I'd like him to weigh in before we nix ri. I was for it once, I can be for it again but ri is a pretty underrated tool these days. |
ri is awesome and the only reason people don't use it is because A few times I've taken a stab at patching rubygems to build docs in the |
What's confusing about "ri String" or "ri String.reverse" ? |
I don't mean to bash "ri/rdoc", it's just that I've been skipping this section when I teach because I don't use it, and a few other teachers told me the same thing so I thought I'd submit a PR. I think it's more beneficial if we teach them to search for stuff online, and we should probably write that section regardless. At the minimum though, the doc gen should be moved to install fest rather than in the class notes. |
Foo.bar finds both class methods and instance methods. (Foo::bar or Foo#bar
Correct, but noobs will have to learn that sooner or later, and it's
It does?
Fair enough, but I think by default just hitting space works, right? Maybe
True -- and I definitely recommend teaching them -- but command-line typing
Oh, there is no such section? There definitely should be. At the minimum though, the doc gen should be moved to install fest rather
Moved or copied, sure. |
I have to say, in my beginner class on Saturday the queries didn't work (so I guess I'm still a shell 'noob' of some sort!), and I just showed them how to google and get a much better, much prettier, more informative version of what I agree that for planes and other disconnected places, it's nice, but those are getting farther and fewer between and mostly I need to do too much other googling when coding anyway, that the little snippets I could get done otherwise, by using And if I do any amount coding anyway, I want to I vote to ditch it, even though it might be useful to a small percentage of them, some of the time... |
I know I can't convince you that "ri Process.fork" is one gesture and |
I use ri! :) As a side note, one other alternative not mentioned is DuckDuckGo.com's |
DuckDuckGo is my full time search engine, in fact I'm the one who originally suggested putting !ruby, !rubydoc, and !rubygems in the command library. The amusing thing about the bang commands on ddg is that they're useful specifically because they're a return to the say-what-you-want command-line ethos. |
Aha! Thank you sir, |
I always said, Google is the command line for the Web. They've dumbed it down a bit lately but I'm glad DDG is picking up the slack. On Jul 3, 2012, at 5:09 PM, Steven! Ragnarökreply@reply.github.com wrote:
|
Hilariously, this thread has increased my ri usage about 400% and I now have Vim and Alfred bindings to ri. I think at this point I'd like to keep ri in the curriculum but it's currently in a strange place (as with all of our Ruby non Rails work). With the mailing list discussions of deep curricula extensions I think an in-depth intro to Ruby would be an excellent place to talk about ri, rdoc, and That would solve the problem of discussing ri and then basically telling people to forget about it while leaving it in the curriculum in a place where it is most likely to be useful to students and volunteers alike. |
just submitted rubygems/rubygems#352 -- go give it some +1 love (unless that's gauche -- I'm never sure) and maybe this debate will be moot soon |
Since the @alexch rubygems change to build the docs in the background has already been merged, it seems like this PR has been obviated, but the comments about having better docs for the installfest and curriculum for pointing users toward self-help are still relevant. How do we get there from here? |
Install XCode from App Store traduction
rvm docs generate
during class is a waste of timeI don't think anyone is going to miss them :P