Sha256: 39d4168f686e860a2e1b3b06bf3e8408906f4641f07ea116f78a89aba5f80f87

Contents?: true

Size: 250 Bytes

Versions: 14

Compression:

Stored size: 250 Bytes

Contents

module OdaniaOps
	module Helper
		module Shell
			class << self
				def execute(cmd)
					unless system(cmd)
						$logger.error "Error executing command '#{cmd}'"
						raise "Error executing command '#{cmd}'"
					end
				end
			end
		end
	end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
odania_ops-0.0.14 lib/odania_ops/helper/shell.rb
odania_ops-0.0.13 lib/odania_ops/helper/shell.rb
odania_ops-0.0.12 lib/odania_ops/helper/shell.rb
odania_ops-0.0.11 lib/odania_ops/helper/shell.rb
odania_ops-0.0.10 lib/odania_ops/helper/shell.rb
odania_ops-0.0.9 lib/odania_ops/helper/shell.rb
odania_ops-0.0.8 lib/odania_ops/helper/shell.rb
odania_ops-0.0.7 lib/odania_ops/helper/shell.rb
odania_ops-0.0.6 lib/odania_ops/helper/shell.rb
odania_ops-0.0.5 lib/odania_ops/helper/shell.rb
odania_ops-0.0.4 lib/odania_ops/helper/shell.rb
odania_ops-0.0.3 lib/odania_ops/helper/shell.rb
odania_ops-0.0.2 lib/odania_ops/helper/shell.rb
odania_ops-0.0.1 lib/odania_ops/helper/shell.rb