ruby-sh 2.2.6 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/rubsh/shell.rb DELETED
@@ -1,24 +0,0 @@
1
- module Rubsh
2
- class Shell
3
- # @!attribute [r] env
4
- # @return [Env]
5
- attr_reader :env
6
-
7
- def initialize
8
- @env = Env.new
9
- end
10
-
11
- # @return [Command]
12
- def command(prog)
13
- Command.new(self, prog)
14
- end
15
- alias_method :cmd, :command
16
-
17
- # @return [RunningPipeline]
18
- def pipeline(**kwarg)
19
- r = RunningPipeline.new(self).tap { |x| yield x }
20
- r.__run(**kwarg)
21
- r
22
- end
23
- end
24
- end