Sha256: cc4392b8f94c11c2ebe6c0d208a5d946e035ee8a724e29361265bbccfa58181f
Contents?: true
Size: 457 Bytes
Versions: 12
Compression:
Stored size: 457 Bytes
Contents
require 'delegate' require 'shellwords' # Aruba module Aruba # Platforms module Platforms # This is a command which should be run class UnixCommandString < SimpleDelegator def initialize(cmd) __setobj__ cmd end # Convert to array def to_a [__getobj__] end if RUBY_VERSION < '1.9' def to_s __getobj__.to_s end alias inspect to_s end end end end
Version data entries
12 entries across 12 versions & 2 rubygems