diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/shell.rb | 3 | ||||
-rw-r--r-- | lib/shell/builtin-command.rb | 14 | ||||
-rw-r--r-- | lib/shell/command-processor.rb | 3 |
4 files changed, 6 insertions, 20 deletions
@@ -1,3 +1,9 @@ +Fri Aug 22 12:32:15 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> + + * lib/shell.rb: removed commented-out code. + * lib/shell/builtin-command.rb: ditto. + * lib/shell/command-processor.rb: ditto. + Fri Aug 22 12:21:46 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> * lib/complex.rb: removed deprecated library. diff --git a/lib/shell.rb b/lib/shell.rb index 2204e27cc6..90d55d021c 100644 --- a/lib/shell.rb +++ b/lib/shell.rb @@ -92,7 +92,6 @@ class Shell include Error extend Exception2MessageMapper -# @cascade = true # debug: true -> normal debug # debug: 1 -> eval definition debug # debug: 2 -> detail inspect debug @@ -108,7 +107,6 @@ class Shell attr_accessor :cascade, :debug, :verbose -# alias cascade? cascade alias debug? debug alias verbose? verbose @verbose = true @@ -448,7 +446,6 @@ class Shell yield mes if iterator? if _head _head = false -# "shell" " + mes prefix + mes else " "* prefix.size + mes 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"]], |