Is there a way to get a guide to Ruby functions from the command line?
Like the ?func man pages in R.
?func
The ri tool can help here.
ri
ri Array ri Array.sort ri Hash#each ri Math::sqrt
I have the following shell script that I use because it does color formatting in the terminal:
wesbailey@feynman :~/insiderpages> cat `which rim` ri -Tf ansi -w 150 $1 wesbailey@feynman :~/insiderpages> rim Array
...
Source: https://habr.com/ru/post/1342899/More articles:Where to declare a class - c #Faster alternatives for "IN" statements? - mysqlHibernate HQL query to search for records older than 3 hours - javaCan QPointer be the key to std :: map - c ++JNDI jdbc data source in embedded tomcat 7 - tomcatjquery masonry: nth-child () will not work? - jqueryAre there binutils for llvm? - gccHow can I get performance tests for using socket.io in a Nodejs app - benchmarkingconverting a general list to an array of strings - listHow to check on my server that the application was successfully purchased through the Android Market? - androidAll Articles