Class: Shell::BuiltInCommand

Inherits:
Filter
  • Object
show all
Defined in:
lib/shell/builtin-command.rb

Direct Known Subclasses

AppendIO, Cat, Concat, Echo, Glob, Tee

Instance Attribute Summary

Attributes inherited from Filter

#input

Instance Method Summary collapse

Methods inherited from Filter

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

Constructor Details

This class inherits a constructor from Shell::Filter

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/shell/builtin-command.rb', line 20

def active?
  true
end

#wait?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/shell/builtin-command.rb', line 17

def wait?
  false
end