Method: Gitlab::Help.ri_cmd
- Defined in:
- lib/gitlab/help.rb
permalink .ri_cmd ⇒ String
Finds the location of ‘ri’ on a system.
35 36 37 38 39 40 |
# File 'lib/gitlab/help.rb', line 35 def ri_cmd which_ri = `which ri`.chomp raise "'ri' tool not found in $PATH. Please install it to use the help." if which_ri.empty? which_ri end |