Sha256: ee521b77213e913ba2ba5eee2042db4f5f72ad5a740096712a6f83e3be14c2c9
Contents?: true
Size: 338 Bytes
Versions: 52
Compression:
Stored size: 338 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) =begin describe "``" do it "returns the output of the executed sub-process" do ip = 'world' `echo disc #{ip}`.should == "disc world\n" end end describe "%x" do it "is the same as ``" do ip = 'world' %x(echo disc #{ip}).should == "disc world\n" end end =end
Version data entries
52 entries across 52 versions & 2 rubygems