Class: Shell::Void

Inherits:
BuiltInCommand show all
Defined in:
lib/shell/builtin-command.rb

Instance Attribute Summary

Attributes inherited from Filter

#input

Instance Method Summary (collapse)

Methods inherited from BuiltInCommand

#active?, #wait?

Methods inherited from Filter

#+, #<, #>, #>>, #inspect, #to_a, #to_s, #|

Methods included from Enumerable

#to_set

Constructor Details

- (Void) initialize(sh, *opts)

A new instance of Void



25
26
27
# File 'lib/shell/builtin-command.rb', line 25

def initialize(sh, *opts)
  super sh
end

Instance Method Details

- (Object) each(rs = nil)



29
30
31
# File 'lib/shell/builtin-command.rb', line 29

def each(rs = nil)
  # do nothing
end