Class: Test::Unit::System

Inherits:
Object show all
Defined in:
lib/el4r/el4r-sub.rb

Overview

Use at Test::Unit::Assertions::AssertionMessage#convert

Instance Method Summary collapse

Constructor Details

#initialize(cmd) ⇒ System

Returns a new instance of System.



389
390
391
# File 'lib/el4r/el4r-sub.rb', line 389

def initialize(cmd)
  @cmd = cmd
end

Instance Method Details

#inspectObject



393
394
395
# File 'lib/el4r/el4r-sub.rb', line 393

def inspect
  `#{@cmd}`.to_s
end