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
@@ -84,8 +84,8 @@ A priority queue is like a standard queue, except that each inserted
|
|
84
84
|
elements is given a certain priority, based on the result of the comparison
|
85
85
|
block given at instantiation time. Also, retrieving an element from the
|
86
86
|
queue will always return the one with the highest priority (see <a
|
87
|
-
href="PQueue.html#
|
88
|
-
href="PQueue.html#
|
87
|
+
href="PQueue.html#M000642">pop</a> and <a
|
88
|
+
href="PQueue.html#M000643">top</a>).
|
89
89
|
</p>
|
90
90
|
<p>
|
91
91
|
The default is to compare the elements in repect to their #> method. For
|
@@ -97,24 +97,24 @@ example, Numeric elements with higher values will have higher priorities.
|
|
97
97
|
|
98
98
|
<div class="sectiontitle">Methods</div>
|
99
99
|
<ul>
|
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="#
|
100
|
+
<li><a href="#M000641"><<</a></li>
|
101
|
+
<li><a href="#M000656">==</a></li>
|
102
|
+
<li><a href="#M000648">clear</a></li>
|
103
|
+
<li><a href="#M000654">each_pop</a></li>
|
104
|
+
<li><a href="#M000647">empty?</a></li>
|
105
|
+
<li><a href="#M000653">include?</a></li>
|
106
|
+
<li><a href="#M000655">inspect</a></li>
|
107
|
+
<li><a href="#M000645">merge</a></li>
|
108
|
+
<li><a href="#M000639">new</a></li>
|
109
|
+
<li><a href="#M000642">pop</a></li>
|
110
|
+
<li><a href="#M000646">pop_array</a></li>
|
111
|
+
<li><a href="#M000640">push</a></li>
|
112
|
+
<li><a href="#M000644">push_all</a></li>
|
113
|
+
<li><a href="#M000649">replace</a></li>
|
114
|
+
<li><a href="#M000652">replace_top</a></li>
|
115
|
+
<li><a href="#M000651">sort</a></li>
|
116
|
+
<li><a href="#M000650">to_a</a></li>
|
117
|
+
<li><a href="#M000643">top</a></li>
|
118
118
|
</ul>
|
119
119
|
|
120
120
|
|
@@ -148,15 +148,15 @@ number of elements
|
|
148
148
|
<div class="sectiontitle">Public Class methods</div>
|
149
149
|
<div class="method">
|
150
150
|
<div class="title">
|
151
|
-
<a name="
|
151
|
+
<a name="M000639"></a><b>new</b>(elements=nil) {|a, b| ...}
|
152
152
|
</div>
|
153
153
|
<div class="description">
|
154
154
|
<p>
|
155
|
-
Returns a <a href="PQueue.html#
|
155
|
+
Returns a <a href="PQueue.html#M000639">new</a> priority queue.
|
156
156
|
</p>
|
157
157
|
<p>
|
158
158
|
If elements are given, build the priority queue with these initial values.
|
159
|
-
The elements object must respond to <a href="PQueue.html#
|
159
|
+
The elements object must respond to <a href="PQueue.html#M000650">to_a</a>.
|
160
160
|
</p>
|
161
161
|
<p>
|
162
162
|
If a block is given, it will be used to determine the priority between the
|
@@ -168,8 +168,8 @@ By default, the priority queue retrieves maximum elements first (using the
|
|
168
168
|
</p>
|
169
169
|
</div>
|
170
170
|
<div class="sourcecode">
|
171
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
172
|
-
<div id="
|
171
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000639_source')" id="l_M000639_source">show source</a> ]</p>
|
172
|
+
<div id="M000639_source" class="dyn-source">
|
173
173
|
<pre>
|
174
174
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 62</span>
|
175
175
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">elements</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :yields: a, b</span>
|
@@ -185,17 +185,17 @@ By default, the priority queue retrieves maximum elements first (using the
|
|
185
185
|
<div class="sectiontitle">Public Instance methods</div>
|
186
186
|
<div class="method">
|
187
187
|
<div class="title">
|
188
|
-
<a name="
|
188
|
+
<a name="M000641"></a><b><<</b>(v)
|
189
189
|
</div>
|
190
190
|
<div class="description">
|
191
191
|
<p>
|
192
|
-
Alias for <a href="PQueue.html#
|
192
|
+
Alias for <a href="PQueue.html#M000640">push</a>
|
193
193
|
</p>
|
194
194
|
</div>
|
195
195
|
</div>
|
196
196
|
<div class="method">
|
197
197
|
<div class="title">
|
198
|
-
<a name="
|
198
|
+
<a name="M000656"></a><b>==</b>(other)
|
199
199
|
</div>
|
200
200
|
<div class="description">
|
201
201
|
<p>
|
@@ -203,8 +203,8 @@ Return true if the queues contain equal elements.
|
|
203
203
|
</p>
|
204
204
|
</div>
|
205
205
|
<div class="sourcecode">
|
206
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
207
|
-
<div id="
|
206
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000656_source')" id="l_M000656_source">show source</a> ]</p>
|
207
|
+
<div id="M000656_source" class="dyn-source">
|
208
208
|
<pre>
|
209
209
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 287</span>
|
210
210
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
|
@@ -216,7 +216,7 @@ Return true if the queues contain equal elements.
|
|
216
216
|
</div>
|
217
217
|
<div class="method">
|
218
218
|
<div class="title">
|
219
|
-
<a name="
|
219
|
+
<a name="M000648"></a><b>clear</b>()
|
220
220
|
</div>
|
221
221
|
<div class="description">
|
222
222
|
<p>
|
@@ -224,8 +224,8 @@ Remove all elements from the priority queue.
|
|
224
224
|
</p>
|
225
225
|
</div>
|
226
226
|
<div class="sourcecode">
|
227
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
228
|
-
<div id="
|
227
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000648_source')" id="l_M000648_source">show source</a> ]</p>
|
228
|
+
<div id="M000648_source" class="dyn-source">
|
229
229
|
<pre>
|
230
230
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 216</span>
|
231
231
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear</span>
|
@@ -239,7 +239,7 @@ Remove all elements from the priority queue.
|
|
239
239
|
</div>
|
240
240
|
<div class="method">
|
241
241
|
<div class="title">
|
242
|
-
<a name="
|
242
|
+
<a name="M000654"></a><b>each_pop</b>( {|popped| ...}
|
243
243
|
</div>
|
244
244
|
<div class="description">
|
245
245
|
<p>
|
@@ -247,8 +247,8 @@ Iterate over the ordered elements, destructively.
|
|
247
247
|
</p>
|
248
248
|
</div>
|
249
249
|
<div class="sourcecode">
|
250
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
251
|
-
<div id="
|
250
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000654_source')" id="l_M000654_source">show source</a> ]</p>
|
251
|
+
<div id="M000654_source" class="dyn-source">
|
252
252
|
<pre>
|
253
253
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 271</span>
|
254
254
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_pop</span> <span class="ruby-comment cmt">#:yields: popped</span>
|
@@ -263,7 +263,7 @@ Iterate over the ordered elements, destructively.
|
|
263
263
|
</div>
|
264
264
|
<div class="method">
|
265
265
|
<div class="title">
|
266
|
-
<a name="
|
266
|
+
<a name="M000647"></a><b>empty?</b>()
|
267
267
|
</div>
|
268
268
|
<div class="description">
|
269
269
|
<p>
|
@@ -271,8 +271,8 @@ True if there is no more elements left in the priority queue.
|
|
271
271
|
</p>
|
272
272
|
</div>
|
273
273
|
<div class="sourcecode">
|
274
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
275
|
-
<div id="
|
274
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000647_source')" id="l_M000647_source">show source</a> ]</p>
|
275
|
+
<div id="M000647_source" class="dyn-source">
|
276
276
|
<pre>
|
277
277
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 211</span>
|
278
278
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">empty?</span>
|
@@ -284,7 +284,7 @@ True if there is no more elements left in the priority queue.
|
|
284
284
|
</div>
|
285
285
|
<div class="method">
|
286
286
|
<div class="title">
|
287
|
-
<a name="
|
287
|
+
<a name="M000653"></a><b>include?</b>(element)
|
288
288
|
</div>
|
289
289
|
<div class="description">
|
290
290
|
<p>
|
@@ -292,8 +292,8 @@ Return true if the given object is present in the queue.
|
|
292
292
|
</p>
|
293
293
|
</div>
|
294
294
|
<div class="sourcecode">
|
295
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
296
|
-
<div id="
|
295
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000653_source')" id="l_M000653_source">show source</a> ]</p>
|
296
|
+
<div id="M000653_source" class="dyn-source">
|
297
297
|
<pre>
|
298
298
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 266</span>
|
299
299
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include?</span>(<span class="ruby-identifier">element</span>)
|
@@ -305,7 +305,7 @@ Return true if the given object is present in the queue.
|
|
305
305
|
</div>
|
306
306
|
<div class="method">
|
307
307
|
<div class="title">
|
308
|
-
<a name="
|
308
|
+
<a name="M000655"></a><b>inspect</b>()
|
309
309
|
</div>
|
310
310
|
<div class="description">
|
311
311
|
<p>
|
@@ -313,8 +313,8 @@ Pretty print
|
|
313
313
|
</p>
|
314
314
|
</div>
|
315
315
|
<div class="sourcecode">
|
316
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
317
|
-
<div id="
|
316
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000655_source')" id="l_M000655_source">show source</a> ]</p>
|
317
|
+
<div id="M000655_source" class="dyn-source">
|
318
318
|
<pre>
|
319
319
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 279</span>
|
320
320
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
@@ -326,17 +326,17 @@ Pretty print
|
|
326
326
|
</div>
|
327
327
|
<div class="method">
|
328
328
|
<div class="title">
|
329
|
-
<a name="
|
329
|
+
<a name="M000645"></a><b>merge</b>(elements)
|
330
330
|
</div>
|
331
331
|
<div class="description">
|
332
332
|
<p>
|
333
|
-
Alias for <a href="PQueue.html#
|
333
|
+
Alias for <a href="PQueue.html#M000644">push_all</a>
|
334
334
|
</p>
|
335
335
|
</div>
|
336
336
|
</div>
|
337
337
|
<div class="method">
|
338
338
|
<div class="title">
|
339
|
-
<a name="
|
339
|
+
<a name="M000642"></a><b>pop</b>()
|
340
340
|
</div>
|
341
341
|
<div class="description">
|
342
342
|
<p>
|
@@ -354,8 +354,8 @@ Return nil if the queue is empty.
|
|
354
354
|
</p>
|
355
355
|
</div>
|
356
356
|
<div class="sourcecode">
|
357
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
358
|
-
<div id="
|
357
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000642_source')" id="l_M000642_source">show source</a> ]</p>
|
358
|
+
<div id="M000642_source" class="dyn-source">
|
359
359
|
<pre>
|
360
360
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 161</span>
|
361
361
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>
|
@@ -372,16 +372,16 @@ Return nil if the queue is empty.
|
|
372
372
|
</div>
|
373
373
|
<div class="method">
|
374
374
|
<div class="title">
|
375
|
-
<a name="
|
375
|
+
<a name="M000646"></a><b>pop_array</b>(n=@size)
|
376
376
|
</div>
|
377
377
|
<div class="description">
|
378
378
|
<p>
|
379
|
-
Return <a href="PQueue.html#
|
379
|
+
Return <a href="PQueue.html#M000643">top</a> n-element as a sorted array.
|
380
380
|
</p>
|
381
381
|
</div>
|
382
382
|
<div class="sourcecode">
|
383
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
384
|
-
<div id="
|
383
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000646_source')" id="l_M000646_source">show source</a> ]</p>
|
384
|
+
<div id="M000646_source" class="dyn-source">
|
385
385
|
<pre>
|
386
386
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 203</span>
|
387
387
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop_array</span>(<span class="ruby-identifier">n</span>=<span class="ruby-ivar">@size</span>)
|
@@ -395,7 +395,7 @@ Return <a href="PQueue.html#M000615">top</a> n-element as a sorted array.
|
|
395
395
|
</div>
|
396
396
|
<div class="method">
|
397
397
|
<div class="title">
|
398
|
-
<a name="
|
398
|
+
<a name="M000640"></a><b>push</b>(v)
|
399
399
|
</div>
|
400
400
|
<div class="description">
|
401
401
|
<p>
|
@@ -407,11 +407,11 @@ The insertion time is O(log n), with n the size of the queue.
|
|
407
407
|
</div>
|
408
408
|
<div class="aka">
|
409
409
|
This method is also aliased as
|
410
|
-
<a href="PQueue.html#
|
410
|
+
<a href="PQueue.html#M000641"><<</a>
|
411
411
|
</div>
|
412
412
|
<div class="sourcecode">
|
413
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
414
|
-
<div id="
|
413
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000640_source')" id="l_M000640_source">show source</a> ]</p>
|
414
|
+
<div id="M000640_source" class="dyn-source">
|
415
415
|
<pre>
|
416
416
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 143</span>
|
417
417
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">v</span>)
|
@@ -426,25 +426,25 @@ The insertion time is O(log n), with n the size of the queue.
|
|
426
426
|
</div>
|
427
427
|
<div class="method">
|
428
428
|
<div class="title">
|
429
|
-
<a name="
|
429
|
+
<a name="M000644"></a><b>push_all</b>(elements)
|
430
430
|
</div>
|
431
431
|
<div class="description">
|
432
432
|
<p>
|
433
433
|
Add more than one element at the same time. See <a
|
434
|
-
href="PQueue.html#
|
434
|
+
href="PQueue.html#M000640">push</a>.
|
435
435
|
</p>
|
436
436
|
<p>
|
437
|
-
The elements object must respond to <a href="PQueue.html#
|
437
|
+
The elements object must respond to <a href="PQueue.html#M000650">to_a</a>,
|
438
438
|
or to be a <a href="PQueue.html">PQueue</a> itself.
|
439
439
|
</p>
|
440
440
|
</div>
|
441
441
|
<div class="aka">
|
442
442
|
This method is also aliased as
|
443
|
-
<a href="PQueue.html#
|
443
|
+
<a href="PQueue.html#M000645">merge</a>
|
444
444
|
</div>
|
445
445
|
<div class="sourcecode">
|
446
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
447
|
-
<div id="
|
446
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000644_source')" id="l_M000644_source">show source</a> ]</p>
|
447
|
+
<div id="M000644_source" class="dyn-source">
|
448
448
|
<pre>
|
449
449
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 179</span>
|
450
450
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push_all</span>(<span class="ruby-identifier">elements</span>)
|
@@ -472,21 +472,21 @@ or to be a <a href="PQueue.html">PQueue</a> itself.
|
|
472
472
|
</div>
|
473
473
|
<div class="method">
|
474
474
|
<div class="title">
|
475
|
-
<a name="
|
475
|
+
<a name="M000649"></a><b>replace</b>(elements)
|
476
476
|
</div>
|
477
477
|
<div class="description">
|
478
478
|
<p>
|
479
479
|
Replace the content of the heap by the <a
|
480
|
-
href="PQueue.html#
|
480
|
+
href="PQueue.html#M000639">new</a> elements.
|
481
481
|
</p>
|
482
482
|
<p>
|
483
|
-
The elements object must respond to <a href="PQueue.html#
|
483
|
+
The elements object must respond to <a href="PQueue.html#M000650">to_a</a>,
|
484
484
|
or to be a <a href="PQueue.html">PQueue</a> itself.
|
485
485
|
</p>
|
486
486
|
</div>
|
487
487
|
<div class="sourcecode">
|
488
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
489
|
-
<div id="
|
488
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000649_source')" id="l_M000649_source">show source</a> ]</p>
|
489
|
+
<div id="M000649_source" class="dyn-source">
|
490
490
|
<pre>
|
491
491
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 225</span>
|
492
492
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">elements</span>)
|
@@ -505,21 +505,21 @@ or to be a <a href="PQueue.html">PQueue</a> itself.
|
|
505
505
|
</div>
|
506
506
|
<div class="method">
|
507
507
|
<div class="title">
|
508
|
-
<a name="
|
508
|
+
<a name="M000652"></a><b>replace_top</b>(v)
|
509
509
|
</div>
|
510
510
|
<div class="description">
|
511
511
|
<p>
|
512
|
-
Replace the <a href="PQueue.html#
|
513
|
-
one, and return this <a href="PQueue.html#
|
512
|
+
Replace the <a href="PQueue.html#M000643">top</a> element with the given
|
513
|
+
one, and return this <a href="PQueue.html#M000643">top</a> element.
|
514
514
|
</p>
|
515
515
|
<p>
|
516
|
-
Equivalent to successively calling <a href="PQueue.html#
|
516
|
+
Equivalent to successively calling <a href="PQueue.html#M000642">pop</a>
|
517
517
|
and push(v).
|
518
518
|
</p>
|
519
519
|
</div>
|
520
520
|
<div class="sourcecode">
|
521
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
522
|
-
<div id="
|
521
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000652_source')" id="l_M000652_source">show source</a> ]</p>
|
522
|
+
<div id="M000652_source" class="dyn-source">
|
523
523
|
<pre>
|
524
524
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 251</span>
|
525
525
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">replace_top</span>(<span class="ruby-identifier">v</span>)
|
@@ -541,17 +541,17 @@ and push(v).
|
|
541
541
|
</div>
|
542
542
|
<div class="method">
|
543
543
|
<div class="title">
|
544
|
-
<a name="
|
544
|
+
<a name="M000651"></a><b>sort</b>()
|
545
545
|
</div>
|
546
546
|
<div class="description">
|
547
547
|
<p>
|
548
|
-
Alias for <a href="PQueue.html#
|
548
|
+
Alias for <a href="PQueue.html#M000650">to_a</a>
|
549
549
|
</p>
|
550
550
|
</div>
|
551
551
|
</div>
|
552
552
|
<div class="method">
|
553
553
|
<div class="title">
|
554
|
-
<a name="
|
554
|
+
<a name="M000650"></a><b>to_a</b>()
|
555
555
|
</div>
|
556
556
|
<div class="description">
|
557
557
|
<p>
|
@@ -560,11 +560,11 @@ Return a sorted array, with highest priority first.
|
|
560
560
|
</div>
|
561
561
|
<div class="aka">
|
562
562
|
This method is also aliased as
|
563
|
-
<a href="PQueue.html#
|
563
|
+
<a href="PQueue.html#M000651">sort</a>
|
564
564
|
</div>
|
565
565
|
<div class="sourcecode">
|
566
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
567
|
-
<div id="
|
566
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000650_source')" id="l_M000650_source">show source</a> ]</p>
|
567
|
+
<div id="M000650_source" class="dyn-source">
|
568
568
|
<pre>
|
569
569
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 237</span>
|
570
570
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
|
@@ -581,7 +581,7 @@ Return a sorted array, with highest priority first.
|
|
581
581
|
</div>
|
582
582
|
<div class="method">
|
583
583
|
<div class="title">
|
584
|
-
<a name="
|
584
|
+
<a name="M000643"></a><b>top</b>()
|
585
585
|
</div>
|
586
586
|
<div class="description">
|
587
587
|
<p>
|
@@ -589,8 +589,8 @@ Return the element with the highest priority.
|
|
589
589
|
</p>
|
590
590
|
</div>
|
591
591
|
<div class="sourcecode">
|
592
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
593
|
-
<div id="
|
592
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000643_source')" id="l_M000643_source">show source</a> ]</p>
|
593
|
+
<div id="M000643_source" class="dyn-source">
|
594
594
|
<pre>
|
595
595
|
<span class="ruby-comment cmt"># File lib/more/facets/pqueue.rb, line 171</span>
|
596
596
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">top</span>
|
@@ -109,7 +109,7 @@ The include Praamix is equivalent to:
|
|
109
109
|
end
|
110
110
|
</pre>
|
111
111
|
<p>
|
112
|
-
<a href="Paramix.html#
|
112
|
+
<a href="Paramix.html#M000874">Paramix.new</a> can also take a block that
|
113
113
|
injects code into the class or module including the parametric mixin. This
|
114
114
|
is useful as an alternative to using the included callback for creating
|
115
115
|
dynamic mixins.. For example:
|
@@ -139,8 +139,8 @@ As opposed to:
|
|
139
139
|
|
140
140
|
<div class="sectiontitle">Methods</div>
|
141
141
|
<ul>
|
142
|
-
<li><a href="#
|
143
|
-
<li><a href="#
|
142
|
+
<li><a href="#M000873">append_features</a></li>
|
143
|
+
<li><a href="#M000874">new</a></li>
|
144
144
|
</ul>
|
145
145
|
|
146
146
|
|
@@ -154,11 +154,11 @@ As opposed to:
|
|
154
154
|
<div class="sectiontitle">Public Class methods</div>
|
155
155
|
<div class="method">
|
156
156
|
<div class="title">
|
157
|
-
<a name="
|
157
|
+
<a name="M000873"></a><b>append_features</b>(base)
|
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('M000873_source')" id="l_M000873_source">show source</a> ]</p>
|
161
|
+
<div id="M000873_source" class="dyn-source">
|
162
162
|
<pre>
|
163
163
|
<span class="ruby-comment cmt"># File lib/more/facets/paramix.rb, line 107</span>
|
164
164
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">base</span>)
|
@@ -174,18 +174,18 @@ As opposed to:
|
|
174
174
|
</div>
|
175
175
|
<div class="method">
|
176
176
|
<div class="title">
|
177
|
-
<a name="
|
177
|
+
<a name="M000874"></a><b>new</b>(delegate_module, parameters={}, &base_block)
|
178
178
|
</div>
|
179
179
|
<div class="description">
|
180
180
|
<p>
|
181
181
|
<a href="It.html">It</a> you want to define the module‘s ::[] method
|
182
|
-
by hand. You can use <a href="Paramix.html#
|
183
|
-
of <a href="Paramix/Delegator.html#
|
182
|
+
by hand. You can use <a href="Paramix.html#M000874">Paramix.new</a> instead
|
183
|
+
of <a href="Paramix/Delegator.html#M000875">Paramix::Delegator.new</a>.
|
184
184
|
</p>
|
185
185
|
</div>
|
186
186
|
<div class="sourcecode">
|
187
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
188
|
-
<div id="
|
187
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000874_source')" id="l_M000874_source">show source</a> ]</p>
|
188
|
+
<div id="M000874_source" class="dyn-source">
|
189
189
|
<pre>
|
190
190
|
<span class="ruby-comment cmt"># File lib/more/facets/paramix.rb, line 118</span>
|
191
191
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">delegate_module</span>, <span class="ruby-identifier">parameters</span>={}, <span class="ruby-operator">&</span><span class="ruby-identifier">base_block</span>)
|