ri: Ruby reference offline
Settle that picnic squabble about the difference between .map
and .collect
with offline documentation:
$ ri map
$ ri collect
Distinguish a Class and instance method with careful punctuation:
$ ri Hash#each # instance method
$ ri Math::sqrt # Class method
Written by Melanie Archer
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#