Sha256: ff48cf7f43e563f512e9b15007cce374f3e691d5e060a41dcfa2f346d1564fd2
Contents?: true
Size: 288 Bytes
Versions: 18
Compression:
Stored size: 288 Bytes
Contents
# frozen_string_literal: true require_relative '../../protocol' # shell(bash) protocol class Shell # @implements LanguageImpl def build(code, _) ['set -e', code].join "\n" end def run_script(env, fname, _) run_cmd(env, "bash #{fname}") end end creator :shell, Shell
Version data entries
18 entries across 18 versions & 1 rubygems