work/consider/ruby.rb
# Get current ruby shell command.
#
# @return [String] Ruby shell command.
Get current ruby shell command.
Get current ruby shell command .
def ruby_command
        @ruby_command ||= (
          require 'rbconfig'
          ENV['RUBY'] ||
            File.join(
              RbConfig::CONFIG['bindir'],
              RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']
            ).sub(/.*\s.*/m, '"\&"')
        )
      end
def ruby_command @ruby_command ||= ( require 'rbconfig' ENV [ 'RUBY' ] || File . join ( RbConfig :: CONFIG [ 'bindir' ] , RbConfig :: CONFIG [ 'ruby_install_name' ] + RbConfig :: CONFIG [ 'EXEEXT' ] ) . sub ( / .* \s .* /m , '"\&"' ) ) end
Get current ruby shell command.
Get current ruby shell command .
Ruby shell command.
Ruby shell command .
String