Class: SilentCommand

Inherits:
Struct
  • Object
show all
Defined in:
lib/sh.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#strcmdObject

Returns the value of attribute strcmd

Returns:

  • (Object)

    the current value of strcmd



24
25
26
# File 'lib/sh.rb', line 24

def strcmd
  @strcmd
end

Instance Method Details

#to_sObject



25
26
27
# File 'lib/sh.rb', line 25

def to_s
  strcmd
end