Sha256: 5b81e4016b7c16219cc9864c3859a69d265b25d811d2ff778cf542b1666c90e1
Contents?: true
Size: 257 Bytes
Versions: 6
Compression:
Stored size: 257 Bytes
Contents
class Stencil class Cmd class <<self def run(path, cmd=nil) if cmd.nil? cmd, path = path, cmd else path = "cd #{path} && " end `#{[ path, cmd ].compact.join}` end end end end
Version data entries
6 entries across 6 versions & 1 rubygems