module BBLib::Command
Public Class Methods
quote(arg)
click to toggle source
# File lib/bblib/system/command.rb, line 3 def self.quote(arg) arg =~ /\s+/ ? "\"#{arg}\"" : arg.to_s end
# File lib/bblib/system/command.rb, line 3 def self.quote(arg) arg =~ /\s+/ ? "\"#{arg}\"" : arg.to_s end