Hello,
How to find ruby’s help document?
for example, I want to know what’s the difference between two
functions of “p” and “print”, but don’t know where to search.
Thanks.
Hello,
How to find ruby’s help document?
for example, I want to know what’s the difference between two
functions of “p” and “print”, but don’t know where to search.
Thanks.
These are described in the Pickaxe book which is distributed with Ruby.
Also you can use ri.
2009/11/22 nas [email protected]:
Here are the core docs RDoc Documentation
and here the standard library docs RDoc Documentation
Thanks all.
So, is there a convenient way to check the usage of a function?
like unix’s man printf
or Perl’s perldoc -f print
Regards.
In message [email protected], Haoqi
Haoqi [email protected] writes
man ri
Or for Windows users:
ri --help
man ri
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs