Method: MRuby::Command#shellquote
- Defined in:
- ext/enterprise_script_service/mruby/lib/mruby/build/command.rb
#shellquote(s) ⇒ Object
27 28 29 30 31 32 33 |
# File 'ext/enterprise_script_service/mruby/lib/mruby/build/command.rb', line 27 def shellquote(s) if ENV['OS'] == 'Windows_NT' "\"#{s}\"" else "#{s}" end end |