Sha256: e00daf55b1dd6b547af11a277fbba64441f5035817696853d28a45f03aebe1ea
Contents?: true
Size: 342 Bytes
Versions: 12
Compression:
Stored size: 342 Bytes
Contents
def create_dir(dir) # FIXME move later cmd = "mkdir -p #{dir} >/dev/null 2>&1" result = system(cmd) raise "Can't create #{dir}" unless result end def interpolate(str) wrap = "<<-EOS\n#{str}\nEOS" eval wrap end def error(err) # FIXME - this is duplicated str = "\n Error: #{err}" puts str puts err.backtrace # [0] end
Version data entries
12 entries across 12 versions & 1 rubygems