facets 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/CHANGES +25 -5
- data/MANIFEST +67 -34
- data/METADATA +2 -2
- data/NEWS +54 -46
- data/doc/news/NEWS-2.4.0 +52 -0
- data/doc/rdoc/core/classes/Array.html +198 -198
- data/doc/rdoc/core/classes/Binding.html +86 -192
- data/doc/rdoc/core/classes/Class.html +136 -136
- data/doc/rdoc/core/classes/Comparable.html +45 -45
- data/doc/rdoc/core/classes/Dir.html +64 -64
- data/doc/rdoc/core/classes/Enumerable.html +287 -281
- data/doc/rdoc/core/classes/Exception.html +16 -16
- data/doc/rdoc/core/classes/FalseClass.html +8 -8
- data/doc/rdoc/core/classes/File.html +100 -100
- data/doc/rdoc/core/classes/FileTest.html +8 -8
- data/doc/rdoc/core/classes/Float.html +32 -32
- data/doc/rdoc/core/classes/Friend.html +8 -8
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +439 -847
- data/doc/rdoc/{more → core}/classes/Indexable.html +115 -115
- data/doc/rdoc/core/classes/InstanceVariables.html +88 -88
- data/doc/rdoc/core/classes/Integer.html +142 -142
- data/doc/rdoc/core/classes/Kernel.html +602 -600
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +30 -30
- data/doc/rdoc/core/classes/Module.html +379 -327
- data/doc/rdoc/core/classes/NilClass.html +32 -32
- data/doc/rdoc/core/classes/Numeric.html +46 -46
- data/doc/rdoc/core/classes/Object.html +4 -4
- data/doc/rdoc/core/classes/Proc.html +46 -134
- data/doc/rdoc/core/classes/Range.html +60 -60
- data/doc/rdoc/core/classes/Regexp.html +28 -28
- data/doc/rdoc/{more → core}/classes/Stackable.html +38 -38
- data/doc/rdoc/core/classes/String.html +844 -504
- data/doc/rdoc/core/classes/Symbol.html +62 -62
- data/doc/rdoc/core/classes/Time.html +112 -112
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +22 -22
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +4 -1
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/{class/to_methodname_rb.html → enumerable/commonality_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/{class/to_pathname_rb.html → enumerable/frequency_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +6 -2
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +2 -1
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +7 -1
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/indexable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +15 -2
- data/doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +8 -1
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +8 -5
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +2 -1
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +3 -5
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/stackable_rb.html +3 -4
- data/doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/{module/clone_rb.html → string/methodize_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/{kernel/load_rb.html → string/pathize_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +8 -3
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +2 -1
- data/doc/rdoc/core/fr_class_index.html +2 -3
- data/doc/rdoc/core/fr_file_index.html +36 -16
- data/doc/rdoc/core/fr_method_index.html +778 -784
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Association.html +28 -28
- data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
- data/doc/rdoc/more/classes/Autoarray.html +12 -12
- data/doc/rdoc/more/classes/BBCode.html +34 -34
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BigDuration.html +30 -30
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +201 -0
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/BuildingBlock.html +32 -32
- data/doc/rdoc/more/classes/CLI.html +108 -0
- data/doc/rdoc/more/classes/CLI/Arguments.html +76 -76
- data/doc/rdoc/more/classes/CLI/Command.html +22 -22
- data/doc/rdoc/more/classes/CLI/NoCommandError.html +4 -4
- data/doc/rdoc/more/classes/CLI/NoOptionError.html +4 -4
- data/doc/rdoc/more/classes/CacheDecorator.html +21 -21
- data/doc/rdoc/more/classes/Capsule.html +41 -41
- data/doc/rdoc/more/classes/Chain.html +17 -17
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
- data/doc/rdoc/more/classes/Coroutine.html +28 -28
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssFilter.html +45 -45
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +228 -228
- data/doc/rdoc/more/classes/DictionaryMatcher.html +38 -38
- data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +4 -4
- data/doc/rdoc/more/classes/Downloader.html +56 -56
- data/doc/rdoc/more/classes/Duration.html +68 -68
- data/doc/rdoc/more/classes/Enumerable.html +44 -44
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/EventHook.html +8 -8
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/FileList.html +125 -125
- data/doc/rdoc/more/classes/FileShell.html +147 -147
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash.html +306 -14
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/IORedirect.html +19 -19
- data/doc/rdoc/more/classes/InfinityClass.html +36 -36
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +23 -23
- data/doc/rdoc/more/classes/Ini.html +37 -37
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantise.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/Kernel.html +77 -77
- data/doc/rdoc/more/classes/LRUCache.html +38 -38
- data/doc/rdoc/more/classes/LinkedList.html +68 -68
- data/doc/rdoc/more/classes/LinkedList/Node.html +4 -4
- data/doc/rdoc/{core → more}/classes/MissingArgument.html +1 -2
- data/doc/rdoc/more/classes/Module.html +171 -171
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +19 -19
- data/doc/rdoc/more/classes/NullClass.html +24 -24
- data/doc/rdoc/more/classes/ObjectReflection.html +12 -12
- data/doc/rdoc/more/classes/OpEsc.html +5 -5
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenCollection.html +8 -8
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/OpenObject.html +95 -95
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +11 -11
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/PathList.html +8 -8
- data/doc/rdoc/more/classes/PathList/Finder.html +8 -8
- data/doc/rdoc/more/classes/Platform.html +46 -46
- data/doc/rdoc/more/classes/Pool.html +18 -18
- data/doc/rdoc/more/classes/Proc.html +48 -4
- data/doc/rdoc/more/classes/ProgressBar.html +52 -52
- data/doc/rdoc/more/classes/Prototype.html +28 -28
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +9 -9
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Recorder.html +16 -16
- data/doc/rdoc/more/classes/Reference.html +19 -19
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Semaphore.html +36 -36
- data/doc/rdoc/more/classes/Settings.html +28 -28
- data/doc/rdoc/more/classes/Settings/Setting.html +13 -13
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +4 -4
- data/doc/rdoc/more/classes/SimpleStringIO.html +8 -8
- data/doc/rdoc/more/classes/Snapshot.html +16 -16
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +12 -12
- data/doc/rdoc/more/classes/String/Style.html +113 -113
- data/doc/rdoc/{core → more}/classes/String/Words.html +78 -78
- data/doc/rdoc/more/classes/Struct.html +8 -8
- data/doc/rdoc/more/classes/SyncArray.html +4 -4
- data/doc/rdoc/more/classes/SyncHash.html +4 -4
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +28 -28
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +28 -28
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/TracePoint.html +64 -62
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/UploadUtils.html +49 -49
- data/doc/rdoc/more/classes/VersionNumber.html +53 -53
- data/doc/rdoc/more/classes/Weekdays.html +28 -28
- data/doc/rdoc/more/classes/XOXO.html +9 -9
- data/doc/rdoc/more/classes/ZipUtils.html +58 -58
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +28 -28
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +28 -28
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +28 -28
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +1 -1
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/binding/opvars_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/stringify_keys_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/symbolize_keys_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core/facets/proc → more/files/lib/more/facets}/partial_rb.html +8 -7
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +13 -8
- data/doc/rdoc/more/fr_class_index.html +4 -2
- data/doc/rdoc/more/fr_file_index.html +9 -2
- data/doc/rdoc/more/fr_method_index.html +1013 -1009
- data/doc/ri/CLI/cdesc-CLI.yaml +7 -2
- data/doc/ri/Enumerable/probability-i.yaml +1 -1
- data/doc/ri/Module/append_features-i.yaml +4 -3
- data/doc/ri/Module/cdesc-Module.yaml +4 -3
- data/doc/ri/Module/methodize-i.yaml +14 -0
- data/doc/ri/Module/redefine_method-i.yaml +1 -1
- data/doc/ri/Module/redirect_method-i.yaml +3 -1
- data/doc/ri/Module/rename_method-i.yaml +1 -1
- data/doc/ri/created.rid +1 -1
- data/lib/core/facets/array.rb +3 -0
- data/lib/core/facets/binding.rb +0 -1
- data/lib/core/facets/class.rb +4 -4
- data/lib/core/facets/class/{to_methodname.rb → methodize.rb} +5 -2
- data/lib/core/facets/class/pathize.rb +14 -0
- data/lib/core/facets/enumerable.rb +5 -2
- data/lib/core/facets/enumerable/commonality.rb +33 -0
- data/lib/core/facets/enumerable/entropy.rb +37 -0
- data/lib/core/facets/enumerable/frequency.rb +18 -0
- data/lib/core/facets/enumerable/probability.rb +1 -98
- data/lib/core/facets/file.rb +1 -1
- data/lib/core/facets/hash.rb +6 -0
- data/lib/{more → core}/facets/indexable.rb +0 -0
- data/lib/core/facets/kernel.rb +15 -1
- data/lib/core/facets/kernel/require_all.rb +21 -0
- data/lib/core/facets/kernel/{load.rb → require_local.rb} +6 -23
- data/lib/core/facets/module.rb +7 -3
- data/lib/core/facets/module/integrate.rb +2 -0
- data/lib/core/facets/module/methodize.rb +14 -0
- data/lib/core/facets/module/pathize.rb +10 -7
- data/lib/core/facets/module/redefine_method.rb +35 -0
- data/lib/core/facets/module/redirect_method.rb +45 -0
- data/lib/core/facets/module/rename_method.rb +20 -0
- data/lib/core/facets/module/revise.rb +7 -113
- data/lib/core/facets/module/wrap_method.rb +28 -0
- data/lib/core/facets/numeric.rb +1 -1
- data/lib/core/facets/proc.rb +2 -3
- data/lib/{more → core}/facets/stackable.rb +0 -0
- data/lib/core/facets/string.rb +8 -6
- data/lib/core/facets/string/each_word.rb +13 -0
- data/lib/core/facets/string/methodize.rb +12 -0
- data/lib/core/facets/string/pathize.rb +12 -0
- data/lib/core/facets/string/word_wrap.rb +34 -0
- data/lib/core/facets/string/words.rb +6 -167
- data/lib/core/facets/symbol.rb +1 -0
- data/lib/more/facets/ansicode.rb +4 -4
- data/lib/{core → more}/facets/binding/opvars.rb +0 -0
- data/lib/{core → more}/facets/hash/stringify_keys.rb +0 -0
- data/lib/{core → more}/facets/hash/symbolize_keys.rb +5 -6
- data/lib/{core/facets/proc → more/facets}/partial.rb +0 -0
- data/lib/more/facets/string/words.rb +173 -0
- data/test/core/dir/test_multiglob.rb +1 -0
- data/test/core/dir/test_recurse.rb +1 -0
- data/test/core/enumerable/test_commonality.rb +15 -0
- data/test/core/enumerable/test_entropy.rb +15 -0
- data/test/core/enumerable/test_frequency.rb +11 -0
- data/test/core/enumerable/test_probability.rb +1 -34
- data/test/core/string/test_each_word.rb +14 -0
- data/test/core/string/test_fold.rb +1 -1
- data/test/core/string/test_word_wrap.rb +35 -0
- data/test/core/string/test_words.rb +12 -61
- data/test/more/test_command.rb +7 -9
- data/test/more/test_paramix.rb +4 -1
- data/test/{core/proc → more}/test_partial.rb +1 -1
- metadata +75 -38
- data/doc/rdoc/core/classes/Module/CloneExtensions.html +0 -287
- data/doc/ri/Module/CloneExtensions/cdesc-CloneExtensions.yaml +0 -20
- data/doc/ri/Module/CloneExtensions/clone_removing-i.yaml +0 -14
- data/doc/ri/Module/CloneExtensions/clone_renaming-i.yaml +0 -14
- data/doc/ri/Module/CloneExtensions/clone_using-i.yaml +0 -14
- data/lib/core/facets/class/to_pathname.rb +0 -12
- data/lib/core/facets/module/clone.rb +0 -57
- data/test/core/module/test_clone.rb +0 -45
@@ -91,35 +91,35 @@ prompt.
|
|
91
91
|
|
92
92
|
<div class="sectiontitle">Methods</div>
|
93
93
|
<ul>
|
94
|
-
<li><a href="#
|
95
|
-
<li><a href="#
|
96
|
-
<li><a href="#
|
97
|
-
<li><a href="#
|
98
|
-
<li><a href="#
|
99
|
-
<li><a href="#
|
100
|
-
<li><a href="#
|
101
|
-
<li><a href="#
|
102
|
-
<li><a href="#
|
103
|
-
<li><a href="#
|
104
|
-
<li><a href="#
|
105
|
-
<li><a href="#
|
106
|
-
<li><a href="#
|
107
|
-
<li><a href="#
|
108
|
-
<li><a href="#
|
109
|
-
<li><a href="#
|
110
|
-
<li><a href="#
|
111
|
-
<li><a href="#
|
112
|
-
<li><a href="#
|
113
|
-
<li><a href="#
|
114
|
-
<li><a href="#
|
115
|
-
<li><a href="#
|
116
|
-
<li><a href="#
|
117
|
-
<li><a href="#
|
118
|
-
<li><a href="#
|
119
|
-
<li><a href="#
|
120
|
-
<li><a href="#
|
121
|
-
<li><a href="#
|
122
|
-
<li><a href="#
|
94
|
+
<li><a href="#M000163">[]</a></li>
|
95
|
+
<li><a href="#M000167">cd</a></li>
|
96
|
+
<li><a href="#M000168">chdir</a></li>
|
97
|
+
<li><a href="#M000183">chmod</a></li>
|
98
|
+
<li><a href="#M000184">chmod_R</a></li>
|
99
|
+
<li><a href="#M000185">chown</a></li>
|
100
|
+
<li><a href="#M000186">chown_R</a></li>
|
101
|
+
<li><a href="#M000175">cp</a></li>
|
102
|
+
<li><a href="#M000176">cp_r</a></li>
|
103
|
+
<li><a href="#M000160">dryrun?</a></li>
|
104
|
+
<li><a href="#M000182">install</a></li>
|
105
|
+
<li><a href="#M000172">ln</a></li>
|
106
|
+
<li><a href="#M000173">ln_s</a></li>
|
107
|
+
<li><a href="#M000174">ln_sf</a></li>
|
108
|
+
<li><a href="#M000166">ls</a></li>
|
109
|
+
<li><a href="#M000169">mkdir</a></li>
|
110
|
+
<li><a href="#M000170">mkdir_p</a></li>
|
111
|
+
<li><a href="#M000178">move</a></li>
|
112
|
+
<li><a href="#M000177">mv</a></li>
|
113
|
+
<li><a href="#M000159">new</a></li>
|
114
|
+
<li><a href="#M000165">pwd</a></li>
|
115
|
+
<li><a href="#M000161">quiet?</a></li>
|
116
|
+
<li><a href="#M000179">rm</a></li>
|
117
|
+
<li><a href="#M000180">rm_r</a></li>
|
118
|
+
<li><a href="#M000181">rm_rf</a></li>
|
119
|
+
<li><a href="#M000171">rmdir</a></li>
|
120
|
+
<li><a href="#M000164">root?</a></li>
|
121
|
+
<li><a href="#M000187">touch</a></li>
|
122
|
+
<li><a href="#M000162">verbose?</a></li>
|
123
123
|
</ul>
|
124
124
|
|
125
125
|
|
@@ -140,11 +140,11 @@ prompt.
|
|
140
140
|
<div class="sectiontitle">Public Class methods</div>
|
141
141
|
<div class="method">
|
142
142
|
<div class="title">
|
143
|
-
<a name="
|
143
|
+
<a name="M000159"></a><b>new</b>(*root_and_options)
|
144
144
|
</div>
|
145
145
|
<div class="sourcecode">
|
146
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
147
|
-
<div id="
|
146
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">show source</a> ]</p>
|
147
|
+
<div id="M000159_source" class="dyn-source">
|
148
148
|
<pre>
|
149
149
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 31</span>
|
150
150
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">root_and_options</span>)
|
@@ -162,7 +162,7 @@ prompt.
|
|
162
162
|
<div class="sectiontitle">Public Instance methods</div>
|
163
163
|
<div class="method">
|
164
164
|
<div class="title">
|
165
|
-
<a name="
|
165
|
+
<a name="M000163"></a><b>[]</b>(name)
|
166
166
|
</div>
|
167
167
|
<div class="description">
|
168
168
|
<p>
|
@@ -170,8 +170,8 @@ Direct access to a directory or a file.
|
|
170
170
|
</p>
|
171
171
|
</div>
|
172
172
|
<div class="sourcecode">
|
173
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
174
|
-
<div id="
|
173
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000163_source')" id="l_M000163_source">show source</a> ]</p>
|
174
|
+
<div id="M000163_source" class="dyn-source">
|
175
175
|
<pre>
|
176
176
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 46</span>
|
177
177
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">name</span>)
|
@@ -189,24 +189,24 @@ Direct access to a directory or a file.
|
|
189
189
|
</div>
|
190
190
|
<div class="method">
|
191
191
|
<div class="title">
|
192
|
-
<a name="
|
192
|
+
<a name="M000167"></a><b>cd</b>(dir, options=nil, &yld)
|
193
193
|
</div>
|
194
194
|
<div class="description">
|
195
195
|
<p>
|
196
196
|
Change directory.
|
197
197
|
</p>
|
198
198
|
<p>
|
199
|
-
<a href="FileShell.html#
|
200
|
-
href="FileShell.html#
|
199
|
+
<a href="FileShell.html#M000167">cd</a>(dir, options) <a
|
200
|
+
href="FileShell.html#M000167">cd</a>(dir, options) {|dir| .… }
|
201
201
|
</p>
|
202
202
|
</div>
|
203
203
|
<div class="aka">
|
204
204
|
This method is also aliased as
|
205
|
-
<a href="FileShell.html#
|
205
|
+
<a href="FileShell.html#M000168">chdir</a>
|
206
206
|
</div>
|
207
207
|
<div class="sourcecode">
|
208
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
209
|
-
<div id="
|
208
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000167_source')" id="l_M000167_source">show source</a> ]</p>
|
209
|
+
<div id="M000167_source" class="dyn-source">
|
210
210
|
<pre>
|
211
211
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 78</span>
|
212
212
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cd</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>)
|
@@ -218,26 +218,26 @@ href="FileShell.html#M000166">cd</a>(dir, options) {|dir| .… }
|
|
218
218
|
</div>
|
219
219
|
<div class="method">
|
220
220
|
<div class="title">
|
221
|
-
<a name="
|
221
|
+
<a name="M000168"></a><b>chdir</b>(dir, options=nil, &yld)
|
222
222
|
</div>
|
223
223
|
<div class="description">
|
224
224
|
<p>
|
225
|
-
Alias for <a href="FileShell.html#
|
225
|
+
Alias for <a href="FileShell.html#M000167">cd</a>
|
226
226
|
</p>
|
227
227
|
</div>
|
228
228
|
</div>
|
229
229
|
<div class="method">
|
230
230
|
<div class="title">
|
231
|
-
<a name="
|
231
|
+
<a name="M000183"></a><b>chmod</b>(mode, list, options=nil)
|
232
232
|
</div>
|
233
233
|
<div class="description">
|
234
234
|
<p>
|
235
|
-
<a href="FileShell.html#
|
235
|
+
<a href="FileShell.html#M000183">chmod</a>(mode, list, options)
|
236
236
|
</p>
|
237
237
|
</div>
|
238
238
|
<div class="sourcecode">
|
239
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
240
|
-
<div id="
|
239
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000183_source')" id="l_M000183_source">show source</a> ]</p>
|
240
|
+
<div id="M000183_source" class="dyn-source">
|
241
241
|
<pre>
|
242
242
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 158</span>
|
243
243
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chmod</span>(<span class="ruby-identifier">mode</span>, <span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -249,16 +249,16 @@ Alias for <a href="FileShell.html#M000166">cd</a>
|
|
249
249
|
</div>
|
250
250
|
<div class="method">
|
251
251
|
<div class="title">
|
252
|
-
<a name="
|
252
|
+
<a name="M000184"></a><b>chmod_R</b>(mode, list, options=nil)
|
253
253
|
</div>
|
254
254
|
<div class="description">
|
255
255
|
<p>
|
256
|
-
<a href="FileShell.html#
|
256
|
+
<a href="FileShell.html#M000184">chmod_R</a>(mode, list, options)
|
257
257
|
</p>
|
258
258
|
</div>
|
259
259
|
<div class="sourcecode">
|
260
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
261
|
-
<div id="
|
260
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000184_source')" id="l_M000184_source">show source</a> ]</p>
|
261
|
+
<div id="M000184_source" class="dyn-source">
|
262
262
|
<pre>
|
263
263
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 163</span>
|
264
264
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chmod_R</span>(<span class="ruby-identifier">mode</span>, <span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -270,16 +270,16 @@ Alias for <a href="FileShell.html#M000166">cd</a>
|
|
270
270
|
</div>
|
271
271
|
<div class="method">
|
272
272
|
<div class="title">
|
273
|
-
<a name="
|
273
|
+
<a name="M000185"></a><b>chown</b>(user, group, list, options=nil)
|
274
274
|
</div>
|
275
275
|
<div class="description">
|
276
276
|
<p>
|
277
|
-
<a href="FileShell.html#
|
277
|
+
<a href="FileShell.html#M000185">chown</a>(user, group, list, options)
|
278
278
|
</p>
|
279
279
|
</div>
|
280
280
|
<div class="sourcecode">
|
281
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
282
|
-
<div id="
|
281
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">show source</a> ]</p>
|
282
|
+
<div id="M000185_source" class="dyn-source">
|
283
283
|
<pre>
|
284
284
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 168</span>
|
285
285
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chown</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -291,16 +291,16 @@ Alias for <a href="FileShell.html#M000166">cd</a>
|
|
291
291
|
</div>
|
292
292
|
<div class="method">
|
293
293
|
<div class="title">
|
294
|
-
<a name="
|
294
|
+
<a name="M000186"></a><b>chown_R</b>(user, group, list, options=nil)
|
295
295
|
</div>
|
296
296
|
<div class="description">
|
297
297
|
<p>
|
298
|
-
<a href="FileShell.html#
|
298
|
+
<a href="FileShell.html#M000186">chown_R</a>(user, group, list, options)
|
299
299
|
</p>
|
300
300
|
</div>
|
301
301
|
<div class="sourcecode">
|
302
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
303
|
-
<div id="
|
302
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000186_source')" id="l_M000186_source">show source</a> ]</p>
|
303
|
+
<div id="M000186_source" class="dyn-source">
|
304
304
|
<pre>
|
305
305
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 173</span>
|
306
306
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chown_R</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -312,17 +312,17 @@ Alias for <a href="FileShell.html#M000166">cd</a>
|
|
312
312
|
</div>
|
313
313
|
<div class="method">
|
314
314
|
<div class="title">
|
315
|
-
<a name="
|
315
|
+
<a name="M000175"></a><b>cp</b>(src, dest, options=nil)
|
316
316
|
</div>
|
317
317
|
<div class="description">
|
318
318
|
<p>
|
319
|
-
<a href="FileShell.html#
|
320
|
-
href="FileShell.html#
|
319
|
+
<a href="FileShell.html#M000175">cp</a>(src, dest, options) <a
|
320
|
+
href="FileShell.html#M000175">cp</a>(list, dir, options)
|
321
321
|
</p>
|
322
322
|
</div>
|
323
323
|
<div class="sourcecode">
|
324
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
325
|
-
<div id="
|
324
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">show source</a> ]</p>
|
325
|
+
<div id="M000175_source" class="dyn-source">
|
326
326
|
<pre>
|
327
327
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 120</span>
|
328
328
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cp</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -334,17 +334,17 @@ href="FileShell.html#M000174">cp</a>(list, dir, options)
|
|
334
334
|
</div>
|
335
335
|
<div class="method">
|
336
336
|
<div class="title">
|
337
|
-
<a name="
|
337
|
+
<a name="M000176"></a><b>cp_r</b>(src, dest, options=nil)
|
338
338
|
</div>
|
339
339
|
<div class="description">
|
340
340
|
<p>
|
341
|
-
<a href="FileShell.html#
|
342
|
-
href="FileShell.html#
|
341
|
+
<a href="FileShell.html#M000176">cp_r</a>(src, dest, options) <a
|
342
|
+
href="FileShell.html#M000176">cp_r</a>(list, dir, options)
|
343
343
|
</p>
|
344
344
|
</div>
|
345
345
|
<div class="sourcecode">
|
346
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
347
|
-
<div id="
|
346
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">show source</a> ]</p>
|
347
|
+
<div id="M000176_source" class="dyn-source">
|
348
348
|
<pre>
|
349
349
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 126</span>
|
350
350
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cp_r</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -356,11 +356,11 @@ href="FileShell.html#M000175">cp_r</a>(list, dir, options)
|
|
356
356
|
</div>
|
357
357
|
<div class="method">
|
358
358
|
<div class="title">
|
359
|
-
<a name="
|
359
|
+
<a name="M000160"></a><b>dryrun?</b>()
|
360
360
|
</div>
|
361
361
|
<div class="sourcecode">
|
362
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
363
|
-
<div id="
|
362
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">show source</a> ]</p>
|
363
|
+
<div id="M000160_source" class="dyn-source">
|
364
364
|
<pre>
|
365
365
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 40</span>
|
366
366
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dryrun?</span> ; <span class="ruby-ivar">@dryrun</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -370,17 +370,17 @@ href="FileShell.html#M000175">cp_r</a>(list, dir, options)
|
|
370
370
|
</div>
|
371
371
|
<div class="method">
|
372
372
|
<div class="title">
|
373
|
-
<a name="
|
373
|
+
<a name="M000182"></a><b>install</b>(src, dest, mode=src, options=nil)
|
374
374
|
</div>
|
375
375
|
<div class="description">
|
376
376
|
<p>
|
377
|
-
<a href="FileShell.html#
|
377
|
+
<a href="FileShell.html#M000182">install</a>(src, dest, mode =
|
378
378
|
<src‘s>, options)
|
379
379
|
</p>
|
380
380
|
</div>
|
381
381
|
<div class="sourcecode">
|
382
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
383
|
-
<div id="
|
382
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000182_source')" id="l_M000182_source">show source</a> ]</p>
|
383
|
+
<div id="M000182_source" class="dyn-source">
|
384
384
|
<pre>
|
385
385
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 153</span>
|
386
386
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">mode</span>=<span class="ruby-identifier">src</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -392,18 +392,18 @@ href="FileShell.html#M000175">cp_r</a>(list, dir, options)
|
|
392
392
|
</div>
|
393
393
|
<div class="method">
|
394
394
|
<div class="title">
|
395
|
-
<a name="
|
395
|
+
<a name="M000172"></a><b>ln</b>(old, new, options=nil)
|
396
396
|
</div>
|
397
397
|
<div class="description">
|
398
398
|
<p>
|
399
|
-
<a href="FileShell.html#
|
400
|
-
href="FileShell.html#
|
401
|
-
href="FileShell.html#
|
399
|
+
<a href="FileShell.html#M000172">ln</a>(old, <a
|
400
|
+
href="FileShell.html#M000159">new</a>, options) <a
|
401
|
+
href="FileShell.html#M000172">ln</a>(list, destdir, options)
|
402
402
|
</p>
|
403
403
|
</div>
|
404
404
|
<div class="sourcecode">
|
405
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
406
|
-
<div id="
|
405
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000172_source')" id="l_M000172_source">show source</a> ]</p>
|
406
|
+
<div id="M000172_source" class="dyn-source">
|
407
407
|
<pre>
|
408
408
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 103</span>
|
409
409
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ln</span>(<span class="ruby-identifier">old</span>, <span class="ruby-identifier">new</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -415,18 +415,18 @@ href="FileShell.html#M000171">ln</a>(list, destdir, options)
|
|
415
415
|
</div>
|
416
416
|
<div class="method">
|
417
417
|
<div class="title">
|
418
|
-
<a name="
|
418
|
+
<a name="M000173"></a><b>ln_s</b>(old, new, options=nil)
|
419
419
|
</div>
|
420
420
|
<div class="description">
|
421
421
|
<p>
|
422
|
-
<a href="FileShell.html#
|
423
|
-
href="FileShell.html#
|
424
|
-
href="FileShell.html#
|
422
|
+
<a href="FileShell.html#M000173">ln_s</a>(old, <a
|
423
|
+
href="FileShell.html#M000159">new</a>, options) <a
|
424
|
+
href="FileShell.html#M000173">ln_s</a>(list, destdir, options)
|
425
425
|
</p>
|
426
426
|
</div>
|
427
427
|
<div class="sourcecode">
|
428
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
429
|
-
<div id="
|
428
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">show source</a> ]</p>
|
429
|
+
<div id="M000173_source" class="dyn-source">
|
430
430
|
<pre>
|
431
431
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 109</span>
|
432
432
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ln_s</span>(<span class="ruby-identifier">old</span>, <span class="ruby-identifier">new</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -438,16 +438,16 @@ href="FileShell.html#M000172">ln_s</a>(list, destdir, options)
|
|
438
438
|
</div>
|
439
439
|
<div class="method">
|
440
440
|
<div class="title">
|
441
|
-
<a name="
|
441
|
+
<a name="M000174"></a><b>ln_sf</b>(src, dest, options=nil)
|
442
442
|
</div>
|
443
443
|
<div class="description">
|
444
444
|
<p>
|
445
|
-
<a href="FileShell.html#
|
445
|
+
<a href="FileShell.html#M000174">ln_sf</a>(src, dest, options)
|
446
446
|
</p>
|
447
447
|
</div>
|
448
448
|
<div class="sourcecode">
|
449
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
450
|
-
<div id="
|
449
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000174_source')" id="l_M000174_source">show source</a> ]</p>
|
450
|
+
<div id="M000174_source" class="dyn-source">
|
451
451
|
<pre>
|
452
452
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 114</span>
|
453
453
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ln_sf</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -459,7 +459,7 @@ href="FileShell.html#M000172">ln_s</a>(list, destdir, options)
|
|
459
459
|
</div>
|
460
460
|
<div class="method">
|
461
461
|
<div class="title">
|
462
|
-
<a name="
|
462
|
+
<a name="M000166"></a><b>ls</b>(dir, options=nil)
|
463
463
|
</div>
|
464
464
|
<div class="description">
|
465
465
|
<p>
|
@@ -467,8 +467,8 @@ Directory listing
|
|
467
467
|
</p>
|
468
468
|
</div>
|
469
469
|
<div class="sourcecode">
|
470
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
471
|
-
<div id="
|
470
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000166_source')" id="l_M000166_source">show source</a> ]</p>
|
471
|
+
<div id="M000166_source" class="dyn-source">
|
472
472
|
<pre>
|
473
473
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 68</span>
|
474
474
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ls</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -482,17 +482,17 @@ Directory listing
|
|
482
482
|
</div>
|
483
483
|
<div class="method">
|
484
484
|
<div class="title">
|
485
|
-
<a name="
|
485
|
+
<a name="M000169"></a><b>mkdir</b>(dir, options=nil)
|
486
486
|
</div>
|
487
487
|
<div class="description">
|
488
488
|
<p>
|
489
|
-
<a href="FileShell.html#
|
490
|
-
href="FileShell.html#
|
489
|
+
<a href="FileShell.html#M000169">mkdir</a>(dir, options) <a
|
490
|
+
href="FileShell.html#M000169">mkdir</a>(list, options)
|
491
491
|
</p>
|
492
492
|
</div>
|
493
493
|
<div class="sourcecode">
|
494
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
495
|
-
<div id="
|
494
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000169_source')" id="l_M000169_source">show source</a> ]</p>
|
495
|
+
<div id="M000169_source" class="dyn-source">
|
496
496
|
<pre>
|
497
497
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 85</span>
|
498
498
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mkdir</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -504,17 +504,17 @@ href="FileShell.html#M000168">mkdir</a>(list, options)
|
|
504
504
|
</div>
|
505
505
|
<div class="method">
|
506
506
|
<div class="title">
|
507
|
-
<a name="
|
507
|
+
<a name="M000170"></a><b>mkdir_p</b>(dir, options=nil)
|
508
508
|
</div>
|
509
509
|
<div class="description">
|
510
510
|
<p>
|
511
|
-
<a href="FileShell.html#
|
512
|
-
href="FileShell.html#
|
511
|
+
<a href="FileShell.html#M000170">mkdir_p</a>(dir, options) <a
|
512
|
+
href="FileShell.html#M000170">mkdir_p</a>(list, options)
|
513
513
|
</p>
|
514
514
|
</div>
|
515
515
|
<div class="sourcecode">
|
516
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
517
|
-
<div id="
|
516
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">show source</a> ]</p>
|
517
|
+
<div id="M000170_source" class="dyn-source">
|
518
518
|
<pre>
|
519
519
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 91</span>
|
520
520
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mkdir_p</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -526,31 +526,31 @@ href="FileShell.html#M000169">mkdir_p</a>(list, options)
|
|
526
526
|
</div>
|
527
527
|
<div class="method">
|
528
528
|
<div class="title">
|
529
|
-
<a name="
|
529
|
+
<a name="M000178"></a><b>move</b>(src, dest, options=nil)
|
530
530
|
</div>
|
531
531
|
<div class="description">
|
532
532
|
<p>
|
533
|
-
Alias for <a href="FileShell.html#
|
533
|
+
Alias for <a href="FileShell.html#M000177">mv</a>
|
534
534
|
</p>
|
535
535
|
</div>
|
536
536
|
</div>
|
537
537
|
<div class="method">
|
538
538
|
<div class="title">
|
539
|
-
<a name="
|
539
|
+
<a name="M000177"></a><b>mv</b>(src, dest, options=nil)
|
540
540
|
</div>
|
541
541
|
<div class="description">
|
542
542
|
<p>
|
543
|
-
<a href="FileShell.html#
|
544
|
-
href="FileShell.html#
|
543
|
+
<a href="FileShell.html#M000177">mv</a>(src, dest, options) <a
|
544
|
+
href="FileShell.html#M000177">mv</a>(list, dir, options)
|
545
545
|
</p>
|
546
546
|
</div>
|
547
547
|
<div class="aka">
|
548
548
|
This method is also aliased as
|
549
|
-
<a href="FileShell.html#
|
549
|
+
<a href="FileShell.html#M000178">move</a>
|
550
550
|
</div>
|
551
551
|
<div class="sourcecode">
|
552
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
553
|
-
<div id="
|
552
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000177_source')" id="l_M000177_source">show source</a> ]</p>
|
553
|
+
<div id="M000177_source" class="dyn-source">
|
554
554
|
<pre>
|
555
555
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 132</span>
|
556
556
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mv</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -562,7 +562,7 @@ href="FileShell.html#M000176">mv</a>(list, dir, options)
|
|
562
562
|
</div>
|
563
563
|
<div class="method">
|
564
564
|
<div class="title">
|
565
|
-
<a name="
|
565
|
+
<a name="M000165"></a><b>pwd</b>()
|
566
566
|
</div>
|
567
567
|
<div class="description">
|
568
568
|
<p>
|
@@ -570,8 +570,8 @@ Present working directory.
|
|
570
570
|
</p>
|
571
571
|
</div>
|
572
572
|
<div class="sourcecode">
|
573
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
574
|
-
<div id="
|
573
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">show source</a> ]</p>
|
574
|
+
<div id="M000165_source" class="dyn-source">
|
575
575
|
<pre>
|
576
576
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 65</span>
|
577
577
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pwd</span>; <span class="ruby-keyword kw">super</span>; <span class="ruby-keyword kw">end</span>
|
@@ -581,11 +581,11 @@ Present working directory.
|
|
581
581
|
</div>
|
582
582
|
<div class="method">
|
583
583
|
<div class="title">
|
584
|
-
<a name="
|
584
|
+
<a name="M000161"></a><b>quiet?</b>()
|
585
585
|
</div>
|
586
586
|
<div class="sourcecode">
|
587
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
588
|
-
<div id="
|
587
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">show source</a> ]</p>
|
588
|
+
<div id="M000161_source" class="dyn-source">
|
589
589
|
<pre>
|
590
590
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 41</span>
|
591
591
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">quiet?</span> ; <span class="ruby-ivar">@quiet</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -595,16 +595,16 @@ Present working directory.
|
|
595
595
|
</div>
|
596
596
|
<div class="method">
|
597
597
|
<div class="title">
|
598
|
-
<a name="
|
598
|
+
<a name="M000179"></a><b>rm</b>(list, options=nil)
|
599
599
|
</div>
|
600
600
|
<div class="description">
|
601
601
|
<p>
|
602
|
-
<a href="FileShell.html#
|
602
|
+
<a href="FileShell.html#M000179">rm</a>(list, options)
|
603
603
|
</p>
|
604
604
|
</div>
|
605
605
|
<div class="sourcecode">
|
606
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
607
|
-
<div id="
|
606
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000179_source')" id="l_M000179_source">show source</a> ]</p>
|
607
|
+
<div id="M000179_source" class="dyn-source">
|
608
608
|
<pre>
|
609
609
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 138</span>
|
610
610
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rm</span>(<span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -616,16 +616,16 @@ Present working directory.
|
|
616
616
|
</div>
|
617
617
|
<div class="method">
|
618
618
|
<div class="title">
|
619
|
-
<a name="
|
619
|
+
<a name="M000180"></a><b>rm_r</b>(list, options=nil)
|
620
620
|
</div>
|
621
621
|
<div class="description">
|
622
622
|
<p>
|
623
|
-
<a href="FileShell.html#
|
623
|
+
<a href="FileShell.html#M000180">rm_r</a>(list, options)
|
624
624
|
</p>
|
625
625
|
</div>
|
626
626
|
<div class="sourcecode">
|
627
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
628
|
-
<div id="
|
627
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000180_source')" id="l_M000180_source">show source</a> ]</p>
|
628
|
+
<div id="M000180_source" class="dyn-source">
|
629
629
|
<pre>
|
630
630
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 143</span>
|
631
631
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rm_r</span>(<span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -637,16 +637,16 @@ Present working directory.
|
|
637
637
|
</div>
|
638
638
|
<div class="method">
|
639
639
|
<div class="title">
|
640
|
-
<a name="
|
640
|
+
<a name="M000181"></a><b>rm_rf</b>(list, options=nil)
|
641
641
|
</div>
|
642
642
|
<div class="description">
|
643
643
|
<p>
|
644
|
-
<a href="FileShell.html#
|
644
|
+
<a href="FileShell.html#M000181">rm_rf</a>(list, options)
|
645
645
|
</p>
|
646
646
|
</div>
|
647
647
|
<div class="sourcecode">
|
648
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
649
|
-
<div id="
|
648
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">show source</a> ]</p>
|
649
|
+
<div id="M000181_source" class="dyn-source">
|
650
650
|
<pre>
|
651
651
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 148</span>
|
652
652
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rm_rf</span>(<span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -658,17 +658,17 @@ Present working directory.
|
|
658
658
|
</div>
|
659
659
|
<div class="method">
|
660
660
|
<div class="title">
|
661
|
-
<a name="
|
661
|
+
<a name="M000171"></a><b>rmdir</b>(dir, options=nil)
|
662
662
|
</div>
|
663
663
|
<div class="description">
|
664
664
|
<p>
|
665
|
-
<a href="FileShell.html#
|
666
|
-
href="FileShell.html#
|
665
|
+
<a href="FileShell.html#M000171">rmdir</a>(dir, options) <a
|
666
|
+
href="FileShell.html#M000171">rmdir</a>(list, options)
|
667
667
|
</p>
|
668
668
|
</div>
|
669
669
|
<div class="sourcecode">
|
670
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
671
|
-
<div id="
|
670
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">show source</a> ]</p>
|
671
|
+
<div id="M000171_source" class="dyn-source">
|
672
672
|
<pre>
|
673
673
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 97</span>
|
674
674
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rmdir</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -680,16 +680,16 @@ href="FileShell.html#M000170">rmdir</a>(list, options)
|
|
680
680
|
</div>
|
681
681
|
<div class="method">
|
682
682
|
<div class="title">
|
683
|
-
<a name="
|
683
|
+
<a name="M000164"></a><b>root?</b>(dir=nil)
|
684
684
|
</div>
|
685
685
|
<div class="description">
|
686
686
|
<p>
|
687
|
-
Is a directory <a href="FileShell.html#
|
687
|
+
Is a directory <a href="FileShell.html#M000164">root?</a>
|
688
688
|
</p>
|
689
689
|
</div>
|
690
690
|
<div class="sourcecode">
|
691
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
692
|
-
<div id="
|
691
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">show source</a> ]</p>
|
692
|
+
<div id="M000164_source" class="dyn-source">
|
693
693
|
<pre>
|
694
694
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 57</span>
|
695
695
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">root?</span>(<span class="ruby-identifier">dir</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -704,16 +704,16 @@ Is a directory <a href="FileShell.html#M000163">root?</a>
|
|
704
704
|
</div>
|
705
705
|
<div class="method">
|
706
706
|
<div class="title">
|
707
|
-
<a name="
|
707
|
+
<a name="M000187"></a><b>touch</b>(list, options=nil)
|
708
708
|
</div>
|
709
709
|
<div class="description">
|
710
710
|
<p>
|
711
|
-
<a href="FileShell.html#
|
711
|
+
<a href="FileShell.html#M000187">touch</a>(list, options)
|
712
712
|
</p>
|
713
713
|
</div>
|
714
714
|
<div class="sourcecode">
|
715
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
716
|
-
<div id="
|
715
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000187_source')" id="l_M000187_source">show source</a> ]</p>
|
716
|
+
<div id="M000187_source" class="dyn-source">
|
717
717
|
<pre>
|
718
718
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 178</span>
|
719
719
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">touch</span>(<span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -725,11 +725,11 @@ Is a directory <a href="FileShell.html#M000163">root?</a>
|
|
725
725
|
</div>
|
726
726
|
<div class="method">
|
727
727
|
<div class="title">
|
728
|
-
<a name="
|
728
|
+
<a name="M000162"></a><b>verbose?</b>()
|
729
729
|
</div>
|
730
730
|
<div class="sourcecode">
|
731
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
732
|
-
<div id="
|
731
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">show source</a> ]</p>
|
732
|
+
<div id="M000162_source" class="dyn-source">
|
733
733
|
<pre>
|
734
734
|
<span class="ruby-comment cmt"># File lib/more/facets/fileshell.rb, line 42</span>
|
735
735
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">verbose?</span> ; <span class="ruby-operator">!</span><span class="ruby-ivar">@quiet</span> ; <span class="ruby-keyword kw">end</span>
|