Sha256: f38680463a5a9286b873e2ebb216528c80357ac3b15dab6cb02ee4852b17d0f2
Contents?: true
Size: 410 Bytes
Versions: 19
Compression:
Stored size: 410 Bytes
Contents
module Mina module Backend class Local include Configuration::DSL attr_reader :commands def initialize(commands) @commands = commands end def prepare if fetch(:simulate) ['#!/usr/bin/env bash', '# Executing the following:', '#', commands, ' '].join("\n") else Shellwords.escape(commands) end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems