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
@@ -86,10 +86,10 @@ applied to it are routed to each element.
|
|
86
86
|
|
87
87
|
<div class="sectiontitle">Methods</div>
|
88
88
|
<ul>
|
89
|
-
<li><a href="#
|
90
|
-
<li><a href="#
|
91
|
-
<li><a href="#
|
92
|
-
<li><a href="#
|
89
|
+
<li><a href="#M000960">instance_delegate</a></li>
|
90
|
+
<li><a href="#M000961">instance_operator</a></li>
|
91
|
+
<li><a href="#M000962">method_missing</a></li>
|
92
|
+
<li><a href="#M000959">new</a></li>
|
93
93
|
</ul>
|
94
94
|
|
95
95
|
|
@@ -100,11 +100,11 @@ applied to it are routed to each element.
|
|
100
100
|
<div class="sectiontitle">Public Class methods</div>
|
101
101
|
<div class="method">
|
102
102
|
<div class="title">
|
103
|
-
<a name="
|
103
|
+
<a name="M000959"></a><b>new</b>(elem_object, elem_method=nil)
|
104
104
|
</div>
|
105
105
|
<div class="sourcecode">
|
106
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
107
|
-
<div id="
|
106
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000959_source')" id="l_M000959_source">show source</a> ]</p>
|
107
|
+
<div id="M000959_source" class="dyn-source">
|
108
108
|
<pre>
|
109
109
|
<span class="ruby-comment cmt"># File lib/more/facets/elementor.rb, line 101</span>
|
110
110
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">elem_object</span>, <span class="ruby-identifier">elem_method</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -118,11 +118,11 @@ applied to it are routed to each element.
|
|
118
118
|
<div class="sectiontitle">Public Instance methods</div>
|
119
119
|
<div class="method">
|
120
120
|
<div class="title">
|
121
|
-
<a name="
|
121
|
+
<a name="M000960"></a><b>instance_delegate</b>()
|
122
122
|
</div>
|
123
123
|
<div class="sourcecode">
|
124
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
125
|
-
<div id="
|
124
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000960_source')" id="l_M000960_source">show source</a> ]</p>
|
125
|
+
<div id="M000960_source" class="dyn-source">
|
126
126
|
<pre>
|
127
127
|
<span class="ruby-comment cmt"># File lib/more/facets/elementor.rb, line 106</span>
|
128
128
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_delegate</span>
|
@@ -134,11 +134,11 @@ applied to it are routed to each element.
|
|
134
134
|
</div>
|
135
135
|
<div class="method">
|
136
136
|
<div class="title">
|
137
|
-
<a name="
|
137
|
+
<a name="M000961"></a><b>instance_operator</b>()
|
138
138
|
</div>
|
139
139
|
<div class="sourcecode">
|
140
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
141
|
-
<div id="
|
140
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000961_source')" id="l_M000961_source">show source</a> ]</p>
|
141
|
+
<div id="M000961_source" class="dyn-source">
|
142
142
|
<pre>
|
143
143
|
<span class="ruby-comment cmt"># File lib/more/facets/elementor.rb, line 110</span>
|
144
144
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_operator</span>
|
@@ -150,11 +150,11 @@ applied to it are routed to each element.
|
|
150
150
|
</div>
|
151
151
|
<div class="method">
|
152
152
|
<div class="title">
|
153
|
-
<a name="
|
153
|
+
<a name="M000962"></a><b>method_missing</b>(sym,*args,&blk)
|
154
154
|
</div>
|
155
155
|
<div class="sourcecode">
|
156
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
157
|
-
<div id="
|
156
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000962_source')" id="l_M000962_source">show source</a> ]</p>
|
157
|
+
<div id="M000962_source" class="dyn-source">
|
158
158
|
<pre>
|
159
159
|
<span class="ruby-comment cmt"># File lib/more/facets/elementor.rb, line 114</span>
|
160
160
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">sym</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -80,7 +80,7 @@ Object
|
|
80
80
|
|
81
81
|
<div class="sectiontitle">Methods</div>
|
82
82
|
<ul>
|
83
|
-
<li><a href="#
|
83
|
+
<li><a href="#M000963">to_elem</a></li>
|
84
84
|
</ul>
|
85
85
|
|
86
86
|
|
@@ -91,7 +91,7 @@ Object
|
|
91
91
|
<div class="sectiontitle">Public Instance methods</div>
|
92
92
|
<div class="method">
|
93
93
|
<div class="title">
|
94
|
-
<a name="
|
94
|
+
<a name="M000963"></a><b>to_elem</b>(meth=nil)
|
95
95
|
</div>
|
96
96
|
<div class="description">
|
97
97
|
<p>
|
@@ -99,8 +99,8 @@ Create <a href="Elementor.html">Elementor</a>.
|
|
99
99
|
</p>
|
100
100
|
</div>
|
101
101
|
<div class="sourcecode">
|
102
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
103
|
-
<div id="
|
102
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000963_source')" id="l_M000963_source">show source</a> ]</p>
|
103
|
+
<div id="M000963_source" class="dyn-source">
|
104
104
|
<pre>
|
105
105
|
<span class="ruby-comment cmt"># File lib/more/facets/elementor.rb, line 124</span>
|
106
106
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_elem</span>(<span class="ruby-identifier">meth</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -82,8 +82,8 @@ NOTE Any <a href="Enumerable.html">Enumerable</a> method with a negative
|
|
82
82
|
arity cannot do pass arguments due to ambiguity in the argument count. So
|
83
83
|
the methods inject and zip do NOT work this way, but simply work as they do
|
84
84
|
in <a href="Enumerable.html">Enumerable</a>. The method <a
|
85
|
-
href="EnumerablePass.html#
|
86
|
-
href="EnumerablePass.html#
|
85
|
+
href="EnumerablePass.html#M000782">find</a> (and <a
|
86
|
+
href="EnumerablePass.html#M000783">detect</a>) though has been made to work
|
87
87
|
by removing its rarely used optional parameter and providing instead an
|
88
88
|
optional keyword parameter (:ifnone => …). Please keep these
|
89
89
|
difference in mind.
|
@@ -109,9 +109,9 @@ difference in mind.
|
|
109
109
|
|
110
110
|
<div class="sectiontitle">Methods</div>
|
111
111
|
<ul>
|
112
|
-
<li><a href="#
|
113
|
-
<li><a href="#
|
114
|
-
<li><a href="#
|
112
|
+
<li><a href="#M000783">detect</a></li>
|
113
|
+
<li><a href="#M000782">find</a></li>
|
114
|
+
<li><a href="#M000781">wrap_enumerable_method</a></li>
|
115
115
|
</ul>
|
116
116
|
|
117
117
|
|
@@ -122,11 +122,11 @@ difference in mind.
|
|
122
122
|
<div class="sectiontitle">Public Class methods</div>
|
123
123
|
<div class="method">
|
124
124
|
<div class="title">
|
125
|
-
<a name="
|
125
|
+
<a name="M000781"></a><b>wrap_enumerable_method</b>( methodname )
|
126
126
|
</div>
|
127
127
|
<div class="sourcecode">
|
128
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
129
|
-
<div id="
|
128
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000781_source')" id="l_M000781_source">show source</a> ]</p>
|
129
|
+
<div id="M000781_source" class="dyn-source">
|
130
130
|
<pre>
|
131
131
|
<span class="ruby-comment cmt"># File lib/more/facets/enumerablepass.rb, line 78</span>
|
132
132
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">wrap_enumerable_method</span>( <span class="ruby-identifier">methodname</span> )
|
@@ -164,21 +164,21 @@ difference in mind.
|
|
164
164
|
<div class="sectiontitle">Public Instance methods</div>
|
165
165
|
<div class="method">
|
166
166
|
<div class="title">
|
167
|
-
<a name="
|
167
|
+
<a name="M000783"></a><b>detect</b>(*args, &yld)
|
168
168
|
</div>
|
169
169
|
<div class="description">
|
170
170
|
<p>
|
171
|
-
Alias for <a href="EnumerablePass.html#
|
171
|
+
Alias for <a href="EnumerablePass.html#M000782">find</a>
|
172
172
|
</p>
|
173
173
|
</div>
|
174
174
|
</div>
|
175
175
|
<div class="method">
|
176
176
|
<div class="title">
|
177
|
-
<a name="
|
177
|
+
<a name="M000782"></a><b>find</b>(*args, &yld)
|
178
178
|
</div>
|
179
179
|
<div class="description">
|
180
180
|
<p>
|
181
|
-
Make exception for <a href="EnumerablePass.html#
|
181
|
+
Make exception for <a href="EnumerablePass.html#M000782">find</a> (a
|
182
182
|
negative arity method) to accept keyword argument.
|
183
183
|
</p>
|
184
184
|
<pre>
|
@@ -188,11 +188,11 @@ negative arity method) to accept keyword argument.
|
|
188
188
|
</div>
|
189
189
|
<div class="aka">
|
190
190
|
This method is also aliased as
|
191
|
-
<a href="EnumerablePass.html#
|
191
|
+
<a href="EnumerablePass.html#M000783">detect</a>
|
192
192
|
</div>
|
193
193
|
<div class="sourcecode">
|
194
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
195
|
-
<div id="
|
194
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000782_source')" id="l_M000782_source">show source</a> ]</p>
|
195
|
+
<div id="M000782_source" class="dyn-source">
|
196
196
|
<pre>
|
197
197
|
<span class="ruby-comment cmt"># File lib/more/facets/enumerablepass.rb, line 117</span>
|
198
198
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>) <span class="ruby-comment cmt"># future use **keys ?</span>
|
@@ -104,10 +104,10 @@ is equivalent to including a module containing:
|
|
104
104
|
|
105
105
|
<div class="sectiontitle">Methods</div>
|
106
106
|
<ul>
|
107
|
-
<li><a href="#
|
108
|
-
<li><a href="#
|
109
|
-
<li><a href="#
|
110
|
-
<li><a href="#
|
107
|
+
<li><a href="#M000787">==</a></li>
|
108
|
+
<li><a href="#M000788">eql?</a></li>
|
109
|
+
<li><a href="#M000789">hash</a></li>
|
110
|
+
<li><a href="#M000786">identify</a></li>
|
111
111
|
</ul>
|
112
112
|
|
113
113
|
|
@@ -118,11 +118,11 @@ is equivalent to including a module containing:
|
|
118
118
|
<div class="sectiontitle">Public Class methods</div>
|
119
119
|
<div class="method">
|
120
120
|
<div class="title">
|
121
|
-
<a name="
|
121
|
+
<a name="M000786"></a><b>identify</b>(base, *accessors)
|
122
122
|
</div>
|
123
123
|
<div class="sourcecode">
|
124
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
125
|
-
<div id="
|
124
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000786_source')" id="l_M000786_source">show source</a> ]</p>
|
125
|
+
<div id="M000786_source" class="dyn-source">
|
126
126
|
<pre>
|
127
127
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 73</span>
|
128
128
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">identify</span>(<span class="ruby-identifier">base</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">accessors</span>)
|
@@ -136,11 +136,11 @@ is equivalent to including a module containing:
|
|
136
136
|
<div class="sectiontitle">Public Instance methods</div>
|
137
137
|
<div class="method">
|
138
138
|
<div class="title">
|
139
|
-
<a name="
|
139
|
+
<a name="M000787"></a><b>==</b>(o)
|
140
140
|
</div>
|
141
141
|
<div class="sourcecode">
|
142
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
143
|
-
<div id="
|
142
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000787_source')" id="l_M000787_source">show source</a> ]</p>
|
143
|
+
<div id="M000787_source" class="dyn-source">
|
144
144
|
<pre>
|
145
145
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 78</span>
|
146
146
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">o</span>)
|
@@ -152,11 +152,11 @@ is equivalent to including a module containing:
|
|
152
152
|
</div>
|
153
153
|
<div class="method">
|
154
154
|
<div class="title">
|
155
|
-
<a name="
|
155
|
+
<a name="M000788"></a><b>eql?</b>(o)
|
156
156
|
</div>
|
157
157
|
<div class="sourcecode">
|
158
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
159
|
-
<div id="
|
158
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000788_source')" id="l_M000788_source">show source</a> ]</p>
|
159
|
+
<div id="M000788_source" class="dyn-source">
|
160
160
|
<pre>
|
161
161
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 82</span>
|
162
162
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eql?</span>(<span class="ruby-identifier">o</span>)
|
@@ -168,11 +168,11 @@ is equivalent to including a module containing:
|
|
168
168
|
</div>
|
169
169
|
<div class="method">
|
170
170
|
<div class="title">
|
171
|
-
<a name="
|
171
|
+
<a name="M000789"></a><b>hash</b>()
|
172
172
|
</div>
|
173
173
|
<div class="sourcecode">
|
174
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
175
|
-
<div id="
|
174
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000789_source')" id="l_M000789_source">show source</a> ]</p>
|
175
|
+
<div id="M000789_source" class="dyn-source">
|
176
176
|
<pre>
|
177
177
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 86</span>
|
178
178
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hash</span>
|
@@ -107,8 +107,8 @@ of Ruby‘s built-in Exception system.
|
|
107
107
|
|
108
108
|
<div class="sectiontitle">Methods</div>
|
109
109
|
<ul>
|
110
|
-
<li><a href="#
|
111
|
-
<li><a href="#
|
110
|
+
<li><a href="#M000500">call</a></li>
|
111
|
+
<li><a href="#M000499">new</a></li>
|
112
112
|
</ul>
|
113
113
|
|
114
114
|
|
@@ -136,11 +136,11 @@ of Ruby‘s built-in Exception system.
|
|
136
136
|
<div class="sectiontitle">Public Class methods</div>
|
137
137
|
<div class="method">
|
138
138
|
<div class="title">
|
139
|
-
<a name="
|
139
|
+
<a name="M000499"></a><b>new</b>(name, cc)
|
140
140
|
</div>
|
141
141
|
<div class="sourcecode">
|
142
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
143
|
-
<div id="
|
142
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000499_source')" id="l_M000499_source">show source</a> ]</p>
|
143
|
+
<div id="M000499_source" class="dyn-source">
|
144
144
|
<pre>
|
145
145
|
<span class="ruby-comment cmt"># File lib/more/facets/eventhook.rb, line 71</span>
|
146
146
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">cc</span>)
|
@@ -154,11 +154,11 @@ of Ruby‘s built-in Exception system.
|
|
154
154
|
<div class="sectiontitle">Public Instance methods</div>
|
155
155
|
<div class="method">
|
156
156
|
<div class="title">
|
157
|
-
<a name="
|
157
|
+
<a name="M000500"></a><b>call</b>()
|
158
158
|
</div>
|
159
159
|
<div class="sourcecode">
|
160
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
161
|
-
<div id="
|
160
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000500_source')" id="l_M000500_source">show source</a> ]</p>
|
161
|
+
<div id="M000500_source" class="dyn-source">
|
162
162
|
<pre>
|
163
163
|
<span class="ruby-comment cmt"># File lib/more/facets/eventhook.rb, line 75</span>
|
164
164
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">call</span>
|
@@ -79,10 +79,10 @@ Generic expirability mixin.
|
|
79
79
|
|
80
80
|
<div class="sectiontitle">Methods</div>
|
81
81
|
<ul>
|
82
|
-
<li><a href="#
|
83
|
-
<li><a href="#
|
84
|
-
<li><a href="#
|
85
|
-
<li><a href="#
|
82
|
+
<li><a href="#M000698">expired?</a></li>
|
83
|
+
<li><a href="#M000696">expires_after</a></li>
|
84
|
+
<li><a href="#M000697">expires_spread</a></li>
|
85
|
+
<li><a href="#M000699">touch!</a></li>
|
86
86
|
</ul>
|
87
87
|
|
88
88
|
|
@@ -103,16 +103,16 @@ Generic expirability mixin.
|
|
103
103
|
<div class="sectiontitle">Public Instance methods</div>
|
104
104
|
<div class="method">
|
105
105
|
<div class="title">
|
106
|
-
<a name="
|
106
|
+
<a name="M000698"></a><b>expired?</b>()
|
107
107
|
</div>
|
108
108
|
<div class="description">
|
109
109
|
<p>
|
110
|
-
Is this entry <a href="Expirable.html#
|
110
|
+
Is this entry <a href="Expirable.html#M000698">expired?</a>
|
111
111
|
</p>
|
112
112
|
</div>
|
113
113
|
<div class="sourcecode">
|
114
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
115
|
-
<div id="
|
114
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000698_source')" id="l_M000698_source">show source</a> ]</p>
|
115
|
+
<div id="M000698_source" class="dyn-source">
|
116
116
|
<pre>
|
117
117
|
<span class="ruby-comment cmt"># File lib/more/facets/expirable.rb, line 45</span>
|
118
118
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expired?</span>
|
@@ -128,7 +128,7 @@ Is this entry <a href="Expirable.html#M000670">expired?</a>
|
|
128
128
|
</div>
|
129
129
|
<div class="method">
|
130
130
|
<div class="title">
|
131
|
-
<a name="
|
131
|
+
<a name="M000696"></a><b>expires_after</b>(timeout = (60*60*24))
|
132
132
|
</div>
|
133
133
|
<div class="description">
|
134
134
|
<p>
|
@@ -136,8 +136,8 @@ Set the expires timeout for this entry.
|
|
136
136
|
</p>
|
137
137
|
</div>
|
138
138
|
<div class="sourcecode">
|
139
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
140
|
-
<div id="
|
139
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000696_source')" id="l_M000696_source">show source</a> ]</p>
|
140
|
+
<div id="M000696_source" class="dyn-source">
|
141
141
|
<pre>
|
142
142
|
<span class="ruby-comment cmt"># File lib/more/facets/expirable.rb, line 32</span>
|
143
143
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expires_after</span>(<span class="ruby-identifier">timeout</span> = (<span class="ruby-value">60</span><span class="ruby-operator">*</span><span class="ruby-value">60</span><span class="ruby-operator">*</span><span class="ruby-value">24</span>))
|
@@ -149,7 +149,7 @@ Set the expires timeout for this entry.
|
|
149
149
|
</div>
|
150
150
|
<div class="method">
|
151
151
|
<div class="title">
|
152
|
-
<a name="
|
152
|
+
<a name="M000697"></a><b>expires_spread</b>(base, spread)
|
153
153
|
</div>
|
154
154
|
<div class="description">
|
155
155
|
<p>
|
@@ -158,8 +158,8 @@ rand(spread)) seconds.
|
|
158
158
|
</p>
|
159
159
|
</div>
|
160
160
|
<div class="sourcecode">
|
161
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
162
|
-
<div id="
|
161
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000697_source')" id="l_M000697_source">show source</a> ]</p>
|
162
|
+
<div id="M000697_source" class="dyn-source">
|
163
163
|
<pre>
|
164
164
|
<span class="ruby-comment cmt"># File lib/more/facets/expirable.rb, line 39</span>
|
165
165
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expires_spread</span>(<span class="ruby-identifier">base</span>, <span class="ruby-identifier">spread</span>)
|
@@ -171,7 +171,7 @@ rand(spread)) seconds.
|
|
171
171
|
</div>
|
172
172
|
<div class="method">
|
173
173
|
<div class="title">
|
174
|
-
<a name="
|
174
|
+
<a name="M000699"></a><b>touch!</b>()
|
175
175
|
</div>
|
176
176
|
<div class="description">
|
177
177
|
<p>
|
@@ -179,8 +179,8 @@ Update the expiration period. Override in your application.
|
|
179
179
|
</p>
|
180
180
|
</div>
|
181
181
|
<div class="sourcecode">
|
182
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
183
|
-
<div id="
|
182
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000699_source')" id="l_M000699_source">show source</a> ]</p>
|
183
|
+
<div id="M000699_source" class="dyn-source">
|
184
184
|
<pre>
|
185
185
|
<span class="ruby-comment cmt"># File lib/more/facets/expirable.rb, line 55</span>
|
186
186
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">touch!</span>
|
@@ -105,33 +105,33 @@ are resolved into a real list of file names.
|
|
105
105
|
|
106
106
|
<div class="sectiontitle">Methods</div>
|
107
107
|
<ul>
|
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="#
|
123
|
-
<li><a href="#
|
124
|
-
<li><a href="#
|
125
|
-
<li><a href="#
|
126
|
-
<li><a href="#
|
127
|
-
<li><a href="#
|
128
|
-
<li><a href="#
|
129
|
-
<li><a href="#
|
130
|
-
<li><a href="#
|
131
|
-
<li><a href="#
|
132
|
-
<li><a href="#
|
133
|
-
<li><a href="#
|
134
|
-
<li><a href="#
|
108
|
+
<li><a href="#M000074">*</a></li>
|
109
|
+
<li><a href="#M000071">==</a></li>
|
110
|
+
<li><a href="#M000088">[]</a></li>
|
111
|
+
<li><a href="#M000068">add</a></li>
|
112
|
+
<li><a href="#M000076">calculate_exclude_regexp</a></li>
|
113
|
+
<li><a href="#M000070">clear_exclude</a></li>
|
114
|
+
<li><a href="#M000090">clear_ignore_patterns</a></li>
|
115
|
+
<li><a href="#M000064">clone</a></li>
|
116
|
+
<li><a href="#M000065">dup</a></li>
|
117
|
+
<li><a href="#M000084">egrep</a></li>
|
118
|
+
<li><a href="#M000069">exclude</a></li>
|
119
|
+
<li><a href="#M000086">exclude?</a></li>
|
120
|
+
<li><a href="#M000083">ext</a></li>
|
121
|
+
<li><a href="#M000080">gsub</a></li>
|
122
|
+
<li><a href="#M000082">gsub!</a></li>
|
123
|
+
<li><a href="#M000087">import</a></li>
|
124
|
+
<li><a href="#M000067">include</a></li>
|
125
|
+
<li><a href="#M000066">new</a></li>
|
126
|
+
<li><a href="#M000075">resolve</a></li>
|
127
|
+
<li><a href="#M000077">resolve_add</a></li>
|
128
|
+
<li><a href="#M000078">resolve_exclude</a></li>
|
129
|
+
<li><a href="#M000089">select_default_ignore_patterns</a></li>
|
130
|
+
<li><a href="#M000079">sub</a></li>
|
131
|
+
<li><a href="#M000081">sub!</a></li>
|
132
|
+
<li><a href="#M000072">to_a</a></li>
|
133
|
+
<li><a href="#M000073">to_ary</a></li>
|
134
|
+
<li><a href="#M000085">to_s</a></li>
|
135
135
|
</ul>
|
136
136
|
|
137
137
|
|
@@ -186,7 +186,7 @@ versions of them explicitly below).
|
|
186
186
|
<td> </td>
|
187
187
|
<td colspan="2" class="attr-desc">
|
188
188
|
List of delegated methods that return <a
|
189
|
-
href="FileList.html#
|
189
|
+
href="FileList.html#M000066">new</a> array values which need wrapping.
|
190
190
|
|
191
191
|
</td>
|
192
192
|
</tr>
|
@@ -206,11 +206,11 @@ href="FileList.html#M000065">new</a> array values which need wrapping.
|
|
206
206
|
<div class="sectiontitle">Public Class methods</div>
|
207
207
|
<div class="method">
|
208
208
|
<div class="title">
|
209
|
-
<a name="
|
209
|
+
<a name="M000088"></a><b>[]</b>(*args)
|
210
210
|
</div>
|
211
211
|
<div class="description">
|
212
212
|
<p>
|
213
|
-
Create a <a href="FileList.html#
|
213
|
+
Create a <a href="FileList.html#M000066">new</a> file list including the
|
214
214
|
files listed. Similar to:
|
215
215
|
</p>
|
216
216
|
<pre>
|
@@ -218,8 +218,8 @@ files listed. Similar to:
|
|
218
218
|
</pre>
|
219
219
|
</div>
|
220
220
|
<div class="sourcecode">
|
221
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
222
|
-
<div id="
|
221
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show source</a> ]</p>
|
222
|
+
<div id="M000088_source" class="dyn-source">
|
223
223
|
<pre>
|
224
224
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 439</span>
|
225
225
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -231,7 +231,7 @@ files listed. Similar to:
|
|
231
231
|
</div>
|
232
232
|
<div class="method">
|
233
233
|
<div class="title">
|
234
|
-
<a name="
|
234
|
+
<a name="M000090"></a><b>clear_ignore_patterns</b>()
|
235
235
|
</div>
|
236
236
|
<div class="description">
|
237
237
|
<p>
|
@@ -239,8 +239,8 @@ Clear the ignore patterns.
|
|
239
239
|
</p>
|
240
240
|
</div>
|
241
241
|
<div class="sourcecode">
|
242
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
243
|
-
<div id="
|
242
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show source</a> ]</p>
|
243
|
+
<div id="M000090_source" class="dyn-source">
|
244
244
|
<pre>
|
245
245
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 460</span>
|
246
246
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_ignore_patterns</span>
|
@@ -252,7 +252,7 @@ Clear the ignore patterns.
|
|
252
252
|
</div>
|
253
253
|
<div class="method">
|
254
254
|
<div class="title">
|
255
|
-
<a name="
|
255
|
+
<a name="M000066"></a><b>new</b>(*patterns) {|self if block_given?| ...}
|
256
256
|
</div>
|
257
257
|
<div class="description">
|
258
258
|
<p>
|
@@ -272,8 +272,8 @@ Example:
|
|
272
272
|
</pre>
|
273
273
|
</div>
|
274
274
|
<div class="sourcecode">
|
275
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
276
|
-
<div id="
|
275
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show source</a> ]</p>
|
276
|
+
<div id="M000066_source" class="dyn-source">
|
277
277
|
<pre>
|
278
278
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 169</span>
|
279
279
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">patterns</span>)
|
@@ -291,7 +291,7 @@ Example:
|
|
291
291
|
</div>
|
292
292
|
<div class="method">
|
293
293
|
<div class="title">
|
294
|
-
<a name="
|
294
|
+
<a name="M000089"></a><b>select_default_ignore_patterns</b>()
|
295
295
|
</div>
|
296
296
|
<div class="description">
|
297
297
|
<p>
|
@@ -325,8 +325,8 @@ patterns.
|
|
325
325
|
</p>
|
326
326
|
</div>
|
327
327
|
<div class="sourcecode">
|
328
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
329
|
-
<div id="
|
328
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000089_source')" id="l_M000089_source">show source</a> ]</p>
|
329
|
+
<div id="M000089_source" class="dyn-source">
|
330
330
|
<pre>
|
331
331
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 455</span>
|
332
332
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select_default_ignore_patterns</span>
|
@@ -339,17 +339,17 @@ patterns.
|
|
339
339
|
<div class="sectiontitle">Public Instance methods</div>
|
340
340
|
<div class="method">
|
341
341
|
<div class="title">
|
342
|
-
<a name="
|
342
|
+
<a name="M000074"></a><b>*</b>(other)
|
343
343
|
</div>
|
344
344
|
<div class="description">
|
345
345
|
<p>
|
346
346
|
Redefine * to return either a string or a <a
|
347
|
-
href="FileList.html#
|
347
|
+
href="FileList.html#M000066">new</a> file list.
|
348
348
|
</p>
|
349
349
|
</div>
|
350
350
|
<div class="sourcecode">
|
351
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
352
|
-
<div id="
|
351
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show source</a> ]</p>
|
352
|
+
<div id="M000074_source" class="dyn-source">
|
353
353
|
<pre>
|
354
354
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 252</span>
|
355
355
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">other</span>)
|
@@ -367,7 +367,7 @@ href="FileList.html#M000065">new</a> file list.
|
|
367
367
|
</div>
|
368
368
|
<div class="method">
|
369
369
|
<div class="title">
|
370
|
-
<a name="
|
370
|
+
<a name="M000071"></a><b>==</b>(array)
|
371
371
|
</div>
|
372
372
|
<div class="description">
|
373
373
|
<p>
|
@@ -375,8 +375,8 @@ Define equality.
|
|
375
375
|
</p>
|
376
376
|
</div>
|
377
377
|
<div class="sourcecode">
|
378
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
379
|
-
<div id="
|
378
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000071_source')" id="l_M000071_source">show source</a> ]</p>
|
379
|
+
<div id="M000071_source" class="dyn-source">
|
380
380
|
<pre>
|
381
381
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 235</span>
|
382
382
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">array</span>)
|
@@ -388,21 +388,21 @@ Define equality.
|
|
388
388
|
</div>
|
389
389
|
<div class="method">
|
390
390
|
<div class="title">
|
391
|
-
<a name="
|
391
|
+
<a name="M000068"></a><b>add</b>(*filenames)
|
392
392
|
</div>
|
393
393
|
<div class="description">
|
394
394
|
<p>
|
395
|
-
Alias for <a href="FileList.html#
|
395
|
+
Alias for <a href="FileList.html#M000067">include</a>
|
396
396
|
</p>
|
397
397
|
</div>
|
398
398
|
</div>
|
399
399
|
<div class="method">
|
400
400
|
<div class="title">
|
401
|
-
<a name="
|
401
|
+
<a name="M000076"></a><b>calculate_exclude_regexp</b>()
|
402
402
|
</div>
|
403
403
|
<div class="sourcecode">
|
404
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
405
|
-
<div id="
|
404
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show source</a> ]</p>
|
405
|
+
<div id="M000076_source" class="dyn-source">
|
406
406
|
<pre>
|
407
407
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 273</span>
|
408
408
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">calculate_exclude_regexp</span>
|
@@ -430,17 +430,17 @@ Alias for <a href="FileList.html#M000066">include</a>
|
|
430
430
|
</div>
|
431
431
|
<div class="method">
|
432
432
|
<div class="title">
|
433
|
-
<a name="
|
433
|
+
<a name="M000070"></a><b>clear_exclude</b>()
|
434
434
|
</div>
|
435
435
|
<div class="description">
|
436
436
|
<p>
|
437
|
-
Clear all the <a href="FileList.html#
|
438
|
-
we <a href="FileList.html#
|
437
|
+
Clear all the <a href="FileList.html#M000069">exclude</a> patterns so that
|
438
|
+
we <a href="FileList.html#M000069">exclude</a> nothing.
|
439
439
|
</p>
|
440
440
|
</div>
|
441
441
|
<div class="sourcecode">
|
442
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
443
|
-
<div id="
|
442
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">show source</a> ]</p>
|
443
|
+
<div id="M000070_source" class="dyn-source">
|
444
444
|
<pre>
|
445
445
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 229</span>
|
446
446
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_exclude</span>
|
@@ -453,21 +453,21 @@ we <a href="FileList.html#M000068">exclude</a> nothing.
|
|
453
453
|
</div>
|
454
454
|
<div class="method">
|
455
455
|
<div class="title">
|
456
|
-
<a name="
|
456
|
+
<a name="M000064"></a><b>clone</b>()
|
457
457
|
</div>
|
458
458
|
<div class="description">
|
459
459
|
<p>
|
460
|
-
<a href="FileList.html#
|
460
|
+
<a href="FileList.html#M000067">include</a> <a
|
461
461
|
href="Cloneable.html">Cloneable</a>
|
462
462
|
</p>
|
463
463
|
</div>
|
464
464
|
<div class="aka">
|
465
465
|
This method is also aliased as
|
466
|
-
<a href="FileList.html#
|
466
|
+
<a href="FileList.html#M000065">dup</a>
|
467
467
|
</div>
|
468
468
|
<div class="sourcecode">
|
469
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
470
|
-
<div id="
|
469
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show source</a> ]</p>
|
470
|
+
<div id="M000064_source" class="dyn-source">
|
471
471
|
<pre>
|
472
472
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 85</span>
|
473
473
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clone</span>
|
@@ -484,17 +484,17 @@ href="Cloneable.html">Cloneable</a>
|
|
484
484
|
</div>
|
485
485
|
<div class="method">
|
486
486
|
<div class="title">
|
487
|
-
<a name="
|
487
|
+
<a name="M000065"></a><b>dup</b>()
|
488
488
|
</div>
|
489
489
|
<div class="description">
|
490
490
|
<p>
|
491
|
-
Alias for <a href="FileList.html#
|
491
|
+
Alias for <a href="FileList.html#M000064">clone</a>
|
492
492
|
</p>
|
493
493
|
</div>
|
494
494
|
</div>
|
495
495
|
<div class="method">
|
496
496
|
<div class="title">
|
497
|
-
<a name="
|
497
|
+
<a name="M000084"></a><b>egrep</b>(pattern) {|fn, count, line| ...}
|
498
498
|
</div>
|
499
499
|
<div class="description">
|
500
500
|
<p>
|
@@ -505,8 +505,8 @@ emac style file:linenumber:line message will be printed to standard out.
|
|
505
505
|
</p>
|
506
506
|
</div>
|
507
507
|
<div class="sourcecode">
|
508
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
509
|
-
<div id="
|
508
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show source</a> ]</p>
|
509
|
+
<div id="M000084_source" class="dyn-source">
|
510
510
|
<pre>
|
511
511
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 369</span>
|
512
512
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">egrep</span>(<span class="ruby-identifier">pattern</span>)
|
@@ -534,7 +534,7 @@ emac style file:linenumber:line message will be printed to standard out.
|
|
534
534
|
</div>
|
535
535
|
<div class="method">
|
536
536
|
<div class="title">
|
537
|
-
<a name="
|
537
|
+
<a name="M000069"></a><b>exclude</b>(*patterns)
|
538
538
|
</div>
|
539
539
|
<div class="description">
|
540
540
|
<p>
|
@@ -545,8 +545,8 @@ strings.
|
|
545
545
|
<p>
|
546
546
|
Note that glob patterns are expanded against the file system. If a file is
|
547
547
|
explicitly added to a file list, but does not exist in the file system,
|
548
|
-
then an glob pattern in the <a href="FileList.html#
|
549
|
-
list will not <a href="FileList.html#
|
548
|
+
then an glob pattern in the <a href="FileList.html#M000069">exclude</a>
|
549
|
+
list will not <a href="FileList.html#M000069">exclude</a> the file.
|
550
550
|
</p>
|
551
551
|
<p>
|
552
552
|
Examples:
|
@@ -569,8 +569,8 @@ If "a.c" is not a file, then …
|
|
569
569
|
</pre>
|
570
570
|
</div>
|
571
571
|
<div class="sourcecode">
|
572
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
573
|
-
<div id="
|
572
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000069_source')" id="l_M000069_source">show source</a> ]</p>
|
573
|
+
<div id="M000069_source" class="dyn-source">
|
574
574
|
<pre>
|
575
575
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 219</span>
|
576
576
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">patterns</span>)
|
@@ -587,7 +587,7 @@ If "a.c" is not a file, then …
|
|
587
587
|
</div>
|
588
588
|
<div class="method">
|
589
589
|
<div class="title">
|
590
|
-
<a name="
|
590
|
+
<a name="M000086"></a><b>exclude?</b>(fn)
|
591
591
|
</div>
|
592
592
|
<div class="description">
|
593
593
|
<p>
|
@@ -595,8 +595,8 @@ Should the given file name be excluded?
|
|
595
595
|
</p>
|
596
596
|
</div>
|
597
597
|
<div class="sourcecode">
|
598
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
599
|
-
<div id="
|
598
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show source</a> ]</p>
|
599
|
+
<div id="M000086_source" class="dyn-source">
|
600
600
|
<pre>
|
601
601
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 415</span>
|
602
602
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclude?</span>(<span class="ruby-identifier">fn</span>)
|
@@ -609,11 +609,11 @@ Should the given file name be excluded?
|
|
609
609
|
</div>
|
610
610
|
<div class="method">
|
611
611
|
<div class="title">
|
612
|
-
<a name="
|
612
|
+
<a name="M000083"></a><b>ext</b>(newext='')
|
613
613
|
</div>
|
614
614
|
<div class="description">
|
615
615
|
<p>
|
616
|
-
Return a <a href="FileList.html#
|
616
|
+
Return a <a href="FileList.html#M000066">new</a> array with
|
617
617
|
<tt>String#ext</tt> method applied to each member of the array.
|
618
618
|
</p>
|
619
619
|
<p>
|
@@ -623,13 +623,13 @@ This method is a shortcut for:
|
|
623
623
|
array.collect { |item| item.ext(newext) }
|
624
624
|
</pre>
|
625
625
|
<p>
|
626
|
-
<tt><a href="FileList.html#
|
626
|
+
<tt><a href="FileList.html#M000083">ext</a></tt> is a user added method for
|
627
627
|
the Array class.
|
628
628
|
</p>
|
629
629
|
</div>
|
630
630
|
<div class="sourcecode">
|
631
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
632
|
-
<div id="
|
631
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show source</a> ]</p>
|
632
|
+
<div id="M000083_source" class="dyn-source">
|
633
633
|
<pre>
|
634
634
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 360</span>
|
635
635
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ext</span>(<span class="ruby-identifier">newext</span>=<span class="ruby-value str">''</span>)
|
@@ -641,13 +641,13 @@ the Array class.
|
|
641
641
|
</div>
|
642
642
|
<div class="method">
|
643
643
|
<div class="title">
|
644
|
-
<a name="
|
644
|
+
<a name="M000080"></a><b>gsub</b>(pat, rep)
|
645
645
|
</div>
|
646
646
|
<div class="description">
|
647
647
|
<p>
|
648
|
-
Return a <a href="FileList.html#
|
648
|
+
Return a <a href="FileList.html#M000066">new</a> <a
|
649
649
|
href="FileList.html">FileList</a> with the results of running <tt><a
|
650
|
-
href="FileList.html#
|
650
|
+
href="FileList.html#M000080">gsub</a></tt> against each element of the
|
651
651
|
original list.
|
652
652
|
</p>
|
653
653
|
<p>
|
@@ -659,8 +659,8 @@ Example:
|
|
659
659
|
</pre>
|
660
660
|
</div>
|
661
661
|
<div class="sourcecode">
|
662
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
663
|
-
<div id="
|
662
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000080_source')" id="l_M000080_source">show source</a> ]</p>
|
663
|
+
<div id="M000080_source" class="dyn-source">
|
664
664
|
<pre>
|
665
665
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 336</span>
|
666
666
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gsub</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">rep</span>)
|
@@ -672,17 +672,17 @@ Example:
|
|
672
672
|
</div>
|
673
673
|
<div class="method">
|
674
674
|
<div class="title">
|
675
|
-
<a name="
|
675
|
+
<a name="M000082"></a><b>gsub!</b>(pat, rep)
|
676
676
|
</div>
|
677
677
|
<div class="description">
|
678
678
|
<p>
|
679
|
-
Same as <tt><a href="FileList.html#
|
679
|
+
Same as <tt><a href="FileList.html#M000080">gsub</a></tt> except that the
|
680
680
|
original file list is modified.
|
681
681
|
</p>
|
682
682
|
</div>
|
683
683
|
<div class="sourcecode">
|
684
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
685
|
-
<div id="
|
684
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show source</a> ]</p>
|
685
|
+
<div id="M000082_source" class="dyn-source">
|
686
686
|
<pre>
|
687
687
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 347</span>
|
688
688
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gsub!</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">rep</span>)
|
@@ -695,11 +695,11 @@ original file list is modified.
|
|
695
695
|
</div>
|
696
696
|
<div class="method">
|
697
697
|
<div class="title">
|
698
|
-
<a name="
|
698
|
+
<a name="M000087"></a><b>import</b>(array)
|
699
699
|
</div>
|
700
700
|
<div class="sourcecode">
|
701
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
702
|
-
<div id="
|
701
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show source</a> ]</p>
|
702
|
+
<div id="M000087_source" class="dyn-source">
|
703
703
|
<pre>
|
704
704
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 430</span>
|
705
705
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">import</span>(<span class="ruby-identifier">array</span>)
|
@@ -712,12 +712,12 @@ original file list is modified.
|
|
712
712
|
</div>
|
713
713
|
<div class="method">
|
714
714
|
<div class="title">
|
715
|
-
<a name="
|
715
|
+
<a name="M000067"></a><b>include</b>(*filenames)
|
716
716
|
</div>
|
717
717
|
<div class="description">
|
718
718
|
<p>
|
719
719
|
Add file names defined by glob patterns to the file list. If an array is
|
720
|
-
given, <a href="FileList.html#
|
720
|
+
given, <a href="FileList.html#M000068">add</a> each element of the array.
|
721
721
|
</p>
|
722
722
|
<p>
|
723
723
|
Example:
|
@@ -729,11 +729,11 @@ Example:
|
|
729
729
|
</div>
|
730
730
|
<div class="aka">
|
731
731
|
This method is also aliased as
|
732
|
-
<a href="FileList.html#
|
732
|
+
<a href="FileList.html#M000068">add</a>
|
733
733
|
</div>
|
734
734
|
<div class="sourcecode">
|
735
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
736
|
-
<div id="
|
735
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000067_source')" id="l_M000067_source">show source</a> ]</p>
|
736
|
+
<div id="M000067_source" class="dyn-source">
|
737
737
|
<pre>
|
738
738
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 186</span>
|
739
739
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">filenames</span>)
|
@@ -754,7 +754,7 @@ Example:
|
|
754
754
|
</div>
|
755
755
|
<div class="method">
|
756
756
|
<div class="title">
|
757
|
-
<a name="
|
757
|
+
<a name="M000075"></a><b>resolve</b>()
|
758
758
|
</div>
|
759
759
|
<div class="description">
|
760
760
|
<p>
|
@@ -762,8 +762,8 @@ Resolve all the pending adds now.
|
|
762
762
|
</p>
|
763
763
|
</div>
|
764
764
|
<div class="sourcecode">
|
765
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
766
|
-
<div id="
|
765
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show source</a> ]</p>
|
766
|
+
<div id="M000075_source" class="dyn-source">
|
767
767
|
<pre>
|
768
768
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 263</span>
|
769
769
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolve</span>
|
@@ -781,11 +781,11 @@ Resolve all the pending adds now.
|
|
781
781
|
</div>
|
782
782
|
<div class="method">
|
783
783
|
<div class="title">
|
784
|
-
<a name="
|
784
|
+
<a name="M000077"></a><b>resolve_add</b>(fn)
|
785
785
|
</div>
|
786
786
|
<div class="sourcecode">
|
787
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
788
|
-
<div id="
|
787
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show source</a> ]</p>
|
788
|
+
<div id="M000077_source" class="dyn-source">
|
789
789
|
<pre>
|
790
790
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 293</span>
|
791
791
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolve_add</span>(<span class="ruby-identifier">fn</span>)
|
@@ -804,11 +804,11 @@ Resolve all the pending adds now.
|
|
804
804
|
</div>
|
805
805
|
<div class="method">
|
806
806
|
<div class="title">
|
807
|
-
<a name="
|
807
|
+
<a name="M000078"></a><b>resolve_exclude</b>()
|
808
808
|
</div>
|
809
809
|
<div class="sourcecode">
|
810
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
811
|
-
<div id="
|
810
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show source</a> ]</p>
|
811
|
+
<div id="M000078_source" class="dyn-source">
|
812
812
|
<pre>
|
813
813
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 304</span>
|
814
814
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolve_exclude</span>
|
@@ -831,13 +831,13 @@ Resolve all the pending adds now.
|
|
831
831
|
</div>
|
832
832
|
<div class="method">
|
833
833
|
<div class="title">
|
834
|
-
<a name="
|
834
|
+
<a name="M000079"></a><b>sub</b>(pat, rep)
|
835
835
|
</div>
|
836
836
|
<div class="description">
|
837
837
|
<p>
|
838
|
-
Return a <a href="FileList.html#
|
838
|
+
Return a <a href="FileList.html#M000066">new</a> <a
|
839
839
|
href="FileList.html">FileList</a> with the results of running <tt><a
|
840
|
-
href="FileList.html#
|
840
|
+
href="FileList.html#M000079">sub</a></tt> against each element of the
|
841
841
|
oringal list.
|
842
842
|
</p>
|
843
843
|
<p>
|
@@ -848,8 +848,8 @@ Example:
|
|
848
848
|
</pre>
|
849
849
|
</div>
|
850
850
|
<div class="sourcecode">
|
851
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
852
|
-
<div id="
|
851
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show source</a> ]</p>
|
852
|
+
<div id="M000079_source" class="dyn-source">
|
853
853
|
<pre>
|
854
854
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 325</span>
|
855
855
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sub</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">rep</span>)
|
@@ -861,17 +861,17 @@ Example:
|
|
861
861
|
</div>
|
862
862
|
<div class="method">
|
863
863
|
<div class="title">
|
864
|
-
<a name="
|
864
|
+
<a name="M000081"></a><b>sub!</b>(pat, rep)
|
865
865
|
</div>
|
866
866
|
<div class="description">
|
867
867
|
<p>
|
868
|
-
Same as <tt><a href="FileList.html#
|
868
|
+
Same as <tt><a href="FileList.html#M000079">sub</a></tt> except that the
|
869
869
|
oringal file list is modified.
|
870
870
|
</p>
|
871
871
|
</div>
|
872
872
|
<div class="sourcecode">
|
873
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
874
|
-
<div id="
|
873
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000081_source')" id="l_M000081_source">show source</a> ]</p>
|
874
|
+
<div id="M000081_source" class="dyn-source">
|
875
875
|
<pre>
|
876
876
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 341</span>
|
877
877
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sub!</span>(<span class="ruby-identifier">pat</span>, <span class="ruby-identifier">rep</span>)
|
@@ -884,7 +884,7 @@ oringal file list is modified.
|
|
884
884
|
</div>
|
885
885
|
<div class="method">
|
886
886
|
<div class="title">
|
887
|
-
<a name="
|
887
|
+
<a name="M000072"></a><b>to_a</b>()
|
888
888
|
</div>
|
889
889
|
<div class="description">
|
890
890
|
<p>
|
@@ -892,8 +892,8 @@ Return the internal array object.
|
|
892
892
|
</p>
|
893
893
|
</div>
|
894
894
|
<div class="sourcecode">
|
895
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
896
|
-
<div id="
|
895
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show source</a> ]</p>
|
896
|
+
<div id="M000072_source" class="dyn-source">
|
897
897
|
<pre>
|
898
898
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 240</span>
|
899
899
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
|
@@ -906,7 +906,7 @@ Return the internal array object.
|
|
906
906
|
</div>
|
907
907
|
<div class="method">
|
908
908
|
<div class="title">
|
909
|
-
<a name="
|
909
|
+
<a name="M000073"></a><b>to_ary</b>()
|
910
910
|
</div>
|
911
911
|
<div class="description">
|
912
912
|
<p>
|
@@ -914,8 +914,8 @@ Return the internal array object.
|
|
914
914
|
</p>
|
915
915
|
</div>
|
916
916
|
<div class="sourcecode">
|
917
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
918
|
-
<div id="
|
917
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show source</a> ]</p>
|
918
|
+
<div id="M000073_source" class="dyn-source">
|
919
919
|
<pre>
|
920
920
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 246</span>
|
921
921
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_ary</span>
|
@@ -928,7 +928,7 @@ Return the internal array object.
|
|
928
928
|
</div>
|
929
929
|
<div class="method">
|
930
930
|
<div class="title">
|
931
|
-
<a name="
|
931
|
+
<a name="M000085"></a><b>to_s</b>()
|
932
932
|
</div>
|
933
933
|
<div class="description">
|
934
934
|
<p>
|
@@ -937,8 +937,8 @@ elements with a space.
|
|
937
937
|
</p>
|
938
938
|
</div>
|
939
939
|
<div class="sourcecode">
|
940
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
941
|
-
<div id="
|
940
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">show source</a> ]</p>
|
941
|
+
<div id="M000085_source" class="dyn-source">
|
942
942
|
<pre>
|
943
943
|
<span class="ruby-comment cmt"># File lib/more/facets/filelist.rb, line 401</span>
|
944
944
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|