Class: Shell::BuiltInCommand

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

Direct Known Subclasses

AppendIO, Cat, Concat, Echo, Glob, Tee, Void

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)


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

def active?
  true
end

#wait?Boolean

Returns:

  • (Boolean)


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

def wait?
  false
end