summaryrefslogtreecommitdiff
path: root/lib/shell
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-22 03:32:36 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-22 03:32:36 +0000
commit4c91cbb9a82f2bf74bb7f48b758050fb071c15a1 (patch)
tree28320dfe254ccd7288891357d069e3fe8f645275 /lib/shell
parent6f74ab1d977e492c99f96f665243c48180b7bccb (diff)
* lib/shell.rb: removed commented-out code.
* lib/shell/builtin-command.rb: ditto. * lib/shell/command-processor.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell')
-rw-r--r--lib/shell/builtin-command.rb14
-rw-r--r--lib/shell/command-processor.rb3
2 files changed, 0 insertions, 17 deletions
diff --git a/lib/shell/builtin-command.rb b/lib/shell/builtin-command.rb
index b1ca5c38f6..80a0ce5534 100644
--- a/lib/shell/builtin-command.rb
+++ b/lib/shell/builtin-command.rb
@@ -83,20 +83,6 @@ class Shell
end
end
-# class Sort < Cat
-# def initialize(sh, *filenames)
-# super
-# end
-#
-# def each(rs = nil)
-# ary = []
-# super{|l| ary.push l}
-# for l in ary.sort!
-# yield l
-# end
-# end
-# end
-
class AppendIO < BuiltInCommand
def initialize(sh, io, filter)
super sh
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index b2070db11b..13bc50c3fe 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -24,7 +24,6 @@ class Shell
# Alternatively, you can execute any command via
# Shell::CommandProcessor#system even if it is not defined.
class CommandProcessor
-# include Error
#
# initialize of Shell and related classes.
@@ -125,7 +124,6 @@ class Shell
end
end
end
- # public :open
# call-seq:
# unlink(path)
@@ -650,7 +648,6 @@ class Shell
["mtime", ["FILENAME"]],
["readlink", ["FILENAME"]],
["rename", ["FILENAME_FROM", "FILENAME_TO"]],
- # ["size", ["FILENAME"]],
["split", ["pathname"]],
["stat", ["FILENAME"]],
["symlink", ["FILENAME_O", "FILENAME_N"]],