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
@@ -57,6 +57,7 @@
|
|
57
57
|
<tr valign="top">
|
58
58
|
<td>In:</td>
|
59
59
|
<td>
|
60
|
+
<a href="../files/lib/more/facets/partial_rb.html">lib/more/facets/partial.rb</a>
|
60
61
|
<a href="../files/lib/more/facets/openobject_rb.html">lib/more/facets/openobject.rb</a>
|
61
62
|
</td>
|
62
63
|
</tr>
|
@@ -80,7 +81,8 @@ Object
|
|
80
81
|
|
81
82
|
<div class="sectiontitle">Methods</div>
|
82
83
|
<ul>
|
83
|
-
<li><a href="#
|
84
|
+
<li><a href="#M000379">partial</a></li>
|
85
|
+
<li><a href="#M000380">to_openobject</a></li>
|
84
86
|
</ul>
|
85
87
|
|
86
88
|
|
@@ -91,7 +93,49 @@ Object
|
|
91
93
|
<div class="sectiontitle">Public Instance methods</div>
|
92
94
|
<div class="method">
|
93
95
|
<div class="title">
|
94
|
-
<a name="
|
96
|
+
<a name="M000379"></a><b>partial</b>(*args)
|
97
|
+
</div>
|
98
|
+
<div class="description">
|
99
|
+
<p>
|
100
|
+
Convert a <a href="Proc.html">Proc</a> object into new <a
|
101
|
+
href="Proc.html#M000379">partial</a> <a href="Proc.html">Proc</a> object.
|
102
|
+
</p>
|
103
|
+
<pre>
|
104
|
+
a = proc { |a,b,c| a+b+c }
|
105
|
+
b = a.partial(__, 2, __)
|
106
|
+
b[1,3] #=> 6
|
107
|
+
</pre>
|
108
|
+
<p>
|
109
|
+
This method is similar to Proc#curry.
|
110
|
+
</p>
|
111
|
+
<p>
|
112
|
+
CREDT Trans
|
113
|
+
</p>
|
114
|
+
<p>
|
115
|
+
TODO: Parhaps ArgumentError would suffice, and we don‘t need <a
|
116
|
+
href="MissingArgument.html">MissingArgument</a>?
|
117
|
+
</p>
|
118
|
+
</div>
|
119
|
+
<div class="sourcecode">
|
120
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000379_source')" id="l_M000379_source">show source</a> ]</p>
|
121
|
+
<div id="M000379_source" class="dyn-source">
|
122
|
+
<pre>
|
123
|
+
<span class="ruby-comment cmt"># File lib/more/facets/partial.rb, line 27</span>
|
124
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">partial</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
125
|
+
<span class="ruby-constant">Proc</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-operator">*</span><span class="ruby-identifier">spice</span><span class="ruby-operator">|</span>
|
126
|
+
<span class="ruby-identifier">result</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">collect</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
|
127
|
+
<span class="ruby-constant">MissingArgument</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">a</span> <span class="ruby-value">? </span><span class="ruby-identifier">spice</span>.<span class="ruby-identifier">pop</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">a</span>
|
128
|
+
<span class="ruby-keyword kw">end</span>
|
129
|
+
<span class="ruby-identifier">call</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">result</span>)
|
130
|
+
<span class="ruby-keyword kw">end</span>
|
131
|
+
<span class="ruby-keyword kw">end</span>
|
132
|
+
</pre>
|
133
|
+
</div>
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
<div class="method">
|
137
|
+
<div class="title">
|
138
|
+
<a name="M000380"></a><b>to_openobject</b>()
|
95
139
|
</div>
|
96
140
|
<div class="description">
|
97
141
|
<p>
|
@@ -116,8 +160,8 @@ more and no less.
|
|
116
160
|
</p>
|
117
161
|
</div>
|
118
162
|
<div class="sourcecode">
|
119
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
120
|
-
<div id="
|
163
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000380_source')" id="l_M000380_source">show source</a> ]</p>
|
164
|
+
<div id="M000380_source" class="dyn-source">
|
121
165
|
<pre>
|
122
166
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 255</span>
|
123
167
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_openobject</span>
|
@@ -91,19 +91,19 @@ library.
|
|
91
91
|
|
92
92
|
<div class="sectiontitle">Methods</div>
|
93
93
|
<ul>
|
94
|
-
<li><a href="#
|
95
|
-
<li><a href="#
|
96
|
-
<li><a href="#
|
97
|
-
<li><a href="#
|
98
|
-
<li><a href="#
|
99
|
-
<li><a href="#
|
100
|
-
<li><a href="#
|
101
|
-
<li><a href="#
|
102
|
-
<li><a href="#
|
103
|
-
<li><a href="#
|
104
|
-
<li><a href="#
|
105
|
-
<li><a href="#
|
106
|
-
<li><a href="#
|
94
|
+
<li><a href="#M000191">bar_mark=</a></li>
|
95
|
+
<li><a href="#M000189">file_transfer_mode</a></li>
|
96
|
+
<li><a href="#M000195">finish</a></li>
|
97
|
+
<li><a href="#M000196">flush</a></li>
|
98
|
+
<li><a href="#M000193">format=</a></li>
|
99
|
+
<li><a href="#M000194">format_arguments=</a></li>
|
100
|
+
<li><a href="#M000197">halt</a></li>
|
101
|
+
<li><a href="#M000199">inc</a></li>
|
102
|
+
<li><a href="#M000200">inspect</a></li>
|
103
|
+
<li><a href="#M000188">new</a></li>
|
104
|
+
<li><a href="#M000198">set</a></li>
|
105
|
+
<li><a href="#M000190">title=</a></li>
|
106
|
+
<li><a href="#M000192">total_overflow=</a></li>
|
107
107
|
</ul>
|
108
108
|
|
109
109
|
|
@@ -114,11 +114,11 @@ library.
|
|
114
114
|
<div class="sectiontitle">Public Class methods</div>
|
115
115
|
<div class="method">
|
116
116
|
<div class="title">
|
117
|
-
<a name="
|
117
|
+
<a name="M000188"></a><b>new</b>(title, total, out = STDERR)
|
118
118
|
</div>
|
119
119
|
<div class="sourcecode">
|
120
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
121
|
-
<div id="
|
120
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000188_source')" id="l_M000188_source">show source</a> ]</p>
|
121
|
+
<div id="M000188_source" class="dyn-source">
|
122
122
|
<pre>
|
123
123
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 38</span>
|
124
124
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">title</span>, <span class="ruby-identifier">total</span>, <span class="ruby-identifier">out</span> = <span class="ruby-constant">STDERR</span>)
|
@@ -143,11 +143,11 @@ library.
|
|
143
143
|
<div class="sectiontitle">Public Instance methods</div>
|
144
144
|
<div class="method">
|
145
145
|
<div class="title">
|
146
|
-
<a name="
|
146
|
+
<a name="M000191"></a><b>bar_mark=</b>(mark)
|
147
147
|
</div>
|
148
148
|
<div class="sourcecode">
|
149
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
150
|
-
<div id="
|
149
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000191_source')" id="l_M000191_source">show source</a> ]</p>
|
150
|
+
<div id="M000191_source" class="dyn-source">
|
151
151
|
<pre>
|
152
152
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 189</span>
|
153
153
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bar_mark=</span>(<span class="ruby-identifier">mark</span>)
|
@@ -159,11 +159,11 @@ library.
|
|
159
159
|
</div>
|
160
160
|
<div class="method">
|
161
161
|
<div class="title">
|
162
|
-
<a name="
|
162
|
+
<a name="M000189"></a><b>file_transfer_mode</b>()
|
163
163
|
</div>
|
164
164
|
<div class="sourcecode">
|
165
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
166
|
-
<div id="
|
165
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000189_source')" id="l_M000189_source">show source</a> ]</p>
|
166
|
+
<div id="M000189_source" class="dyn-source">
|
167
167
|
<pre>
|
168
168
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 181</span>
|
169
169
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">file_transfer_mode</span>
|
@@ -175,11 +175,11 @@ library.
|
|
175
175
|
</div>
|
176
176
|
<div class="method">
|
177
177
|
<div class="title">
|
178
|
-
<a name="
|
178
|
+
<a name="M000195"></a><b>finish</b>()
|
179
179
|
</div>
|
180
180
|
<div class="sourcecode">
|
181
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
182
|
-
<div id="
|
181
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000195_source')" id="l_M000195_source">show source</a> ]</p>
|
182
|
+
<div id="M000195_source" class="dyn-source">
|
183
183
|
<pre>
|
184
184
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 205</span>
|
185
185
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">finish</span>
|
@@ -193,11 +193,11 @@ library.
|
|
193
193
|
</div>
|
194
194
|
<div class="method">
|
195
195
|
<div class="title">
|
196
|
-
<a name="
|
196
|
+
<a name="M000196"></a><b>flush</b>()
|
197
197
|
</div>
|
198
198
|
<div class="sourcecode">
|
199
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
200
|
-
<div id="
|
199
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000196_source')" id="l_M000196_source">show source</a> ]</p>
|
200
|
+
<div id="M000196_source" class="dyn-source">
|
201
201
|
<pre>
|
202
202
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 211</span>
|
203
203
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">flush</span>
|
@@ -209,11 +209,11 @@ library.
|
|
209
209
|
</div>
|
210
210
|
<div class="method">
|
211
211
|
<div class="title">
|
212
|
-
<a name="
|
212
|
+
<a name="M000193"></a><b>format=</b>(format)
|
213
213
|
</div>
|
214
214
|
<div class="sourcecode">
|
215
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
216
|
-
<div id="
|
215
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000193_source')" id="l_M000193_source">show source</a> ]</p>
|
216
|
+
<div id="M000193_source" class="dyn-source">
|
217
217
|
<pre>
|
218
218
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 197</span>
|
219
219
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format=</span>(<span class="ruby-identifier">format</span>)
|
@@ -225,11 +225,11 @@ library.
|
|
225
225
|
</div>
|
226
226
|
<div class="method">
|
227
227
|
<div class="title">
|
228
|
-
<a name="
|
228
|
+
<a name="M000194"></a><b>format_arguments=</b>(arguments)
|
229
229
|
</div>
|
230
230
|
<div class="sourcecode">
|
231
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
232
|
-
<div id="
|
231
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000194_source')" id="l_M000194_source">show source</a> ]</p>
|
232
|
+
<div id="M000194_source" class="dyn-source">
|
233
233
|
<pre>
|
234
234
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 201</span>
|
235
235
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format_arguments=</span>(<span class="ruby-identifier">arguments</span>)
|
@@ -241,11 +241,11 @@ library.
|
|
241
241
|
</div>
|
242
242
|
<div class="method">
|
243
243
|
<div class="title">
|
244
|
-
<a name="
|
244
|
+
<a name="M000197"></a><b>halt</b>()
|
245
245
|
</div>
|
246
246
|
<div class="sourcecode">
|
247
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
248
|
-
<div id="
|
247
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000197_source')" id="l_M000197_source">show source</a> ]</p>
|
248
|
+
<div id="M000197_source" class="dyn-source">
|
249
249
|
<pre>
|
250
250
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 215</span>
|
251
251
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">halt</span>
|
@@ -258,11 +258,11 @@ library.
|
|
258
258
|
</div>
|
259
259
|
<div class="method">
|
260
260
|
<div class="title">
|
261
|
-
<a name="
|
261
|
+
<a name="M000199"></a><b>inc</b>(step = 1)
|
262
262
|
</div>
|
263
263
|
<div class="sourcecode">
|
264
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
265
|
-
<div id="
|
264
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000199_source')" id="l_M000199_source">show source</a> ]</p>
|
265
|
+
<div id="M000199_source" class="dyn-source">
|
266
266
|
<pre>
|
267
267
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 235</span>
|
268
268
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inc</span>(<span class="ruby-identifier">step</span> = <span class="ruby-value">1</span>)
|
@@ -277,11 +277,11 @@ library.
|
|
277
277
|
</div>
|
278
278
|
<div class="method">
|
279
279
|
<div class="title">
|
280
|
-
<a name="
|
280
|
+
<a name="M000200"></a><b>inspect</b>()
|
281
281
|
</div>
|
282
282
|
<div class="sourcecode">
|
283
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
284
|
-
<div id="
|
283
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000200_source')" id="l_M000200_source">show source</a> ]</p>
|
284
|
+
<div id="M000200_source" class="dyn-source">
|
285
285
|
<pre>
|
286
286
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 242</span>
|
287
287
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
@@ -293,11 +293,11 @@ library.
|
|
293
293
|
</div>
|
294
294
|
<div class="method">
|
295
295
|
<div class="title">
|
296
|
-
<a name="
|
296
|
+
<a name="M000198"></a><b>set</b>(count)
|
297
297
|
</div>
|
298
298
|
<div class="sourcecode">
|
299
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
300
|
-
<div id="
|
299
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000198_source')" id="l_M000198_source">show source</a> ]</p>
|
300
|
+
<div id="M000198_source" class="dyn-source">
|
301
301
|
<pre>
|
302
302
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 220</span>
|
303
303
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">count</span>)
|
@@ -320,11 +320,11 @@ library.
|
|
320
320
|
</div>
|
321
321
|
<div class="method">
|
322
322
|
<div class="title">
|
323
|
-
<a name="
|
323
|
+
<a name="M000190"></a><b>title=</b>(str)
|
324
324
|
</div>
|
325
325
|
<div class="sourcecode">
|
326
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
327
|
-
<div id="
|
326
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000190_source')" id="l_M000190_source">show source</a> ]</p>
|
327
|
+
<div id="M000190_source" class="dyn-source">
|
328
328
|
<pre>
|
329
329
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 185</span>
|
330
330
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">title=</span>(<span class="ruby-identifier">str</span>)
|
@@ -336,11 +336,11 @@ library.
|
|
336
336
|
</div>
|
337
337
|
<div class="method">
|
338
338
|
<div class="title">
|
339
|
-
<a name="
|
339
|
+
<a name="M000192"></a><b>total_overflow=</b>(boolv)
|
340
340
|
</div>
|
341
341
|
<div class="sourcecode">
|
342
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
343
|
-
<div id="
|
342
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000192_source')" id="l_M000192_source">show source</a> ]</p>
|
343
|
+
<div id="M000192_source" class="dyn-source">
|
344
344
|
<pre>
|
345
345
|
<span class="ruby-comment cmt"># File lib/more/facets/progressbar.rb, line 193</span>
|
346
346
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">total_overflow=</span>(<span class="ruby-identifier">boolv</span>)
|
@@ -82,13 +82,13 @@ Object
|
|
82
82
|
|
83
83
|
<div class="sectiontitle">Methods</div>
|
84
84
|
<ul>
|
85
|
-
<li><a href="#
|
86
|
-
<li><a href="#
|
87
|
-
<li><a href="#
|
88
|
-
<li><a href="#
|
89
|
-
<li><a href="#
|
90
|
-
<li><a href="#
|
91
|
-
<li><a href="#
|
85
|
+
<li><a href="#M000427">fn</a></li>
|
86
|
+
<li><a href="#M000429">meta</a></li>
|
87
|
+
<li><a href="#M000432">method_missing</a></li>
|
88
|
+
<li><a href="#M000428">new</a></li>
|
89
|
+
<li><a href="#M000426">new</a></li>
|
90
|
+
<li><a href="#M000431">trait</a></li>
|
91
|
+
<li><a href="#M000430">traits</a></li>
|
92
92
|
</ul>
|
93
93
|
|
94
94
|
|
@@ -99,7 +99,7 @@ Object
|
|
99
99
|
<div class="sectiontitle">Public Class methods</div>
|
100
100
|
<div class="method">
|
101
101
|
<div class="title">
|
102
|
-
<a name="
|
102
|
+
<a name="M000426"></a><b>new</b>(&block)
|
103
103
|
</div>
|
104
104
|
<div class="description">
|
105
105
|
<p>
|
@@ -107,8 +107,8 @@ New prototype object.
|
|
107
107
|
</p>
|
108
108
|
</div>
|
109
109
|
<div class="sourcecode">
|
110
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
111
|
-
<div id="
|
110
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000426_source')" id="l_M000426_source">show source</a> ]</p>
|
111
|
+
<div id="M000426_source" class="dyn-source">
|
112
112
|
<pre>
|
113
113
|
<span class="ruby-comment cmt"># File lib/more/facets/prototype.rb, line 16</span>
|
114
114
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -138,11 +138,11 @@ New prototype object.
|
|
138
138
|
<div class="sectiontitle">Public Instance methods</div>
|
139
139
|
<div class="method">
|
140
140
|
<div class="title">
|
141
|
-
<a name="
|
141
|
+
<a name="M000427"></a><b>fn</b>(&blk)
|
142
142
|
</div>
|
143
143
|
<div class="sourcecode">
|
144
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
145
|
-
<div id="
|
144
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000427_source')" id="l_M000427_source">show source</a> ]</p>
|
145
|
+
<div id="M000427_source" class="dyn-source">
|
146
146
|
<pre>
|
147
147
|
<span class="ruby-comment cmt"># File lib/more/facets/prototype.rb, line 37</span>
|
148
148
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fn</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -154,11 +154,11 @@ New prototype object.
|
|
154
154
|
</div>
|
155
155
|
<div class="method">
|
156
156
|
<div class="title">
|
157
|
-
<a name="
|
157
|
+
<a name="M000429"></a><b>meta</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('M000429_source')" id="l_M000429_source">show source</a> ]</p>
|
161
|
+
<div id="M000429_source" class="dyn-source">
|
162
162
|
<pre>
|
163
163
|
<span class="ruby-comment cmt"># File lib/more/facets/prototype.rb, line 46</span>
|
164
164
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta</span>
|
@@ -170,11 +170,11 @@ New prototype object.
|
|
170
170
|
</div>
|
171
171
|
<div class="method">
|
172
172
|
<div class="title">
|
173
|
-
<a name="
|
173
|
+
<a name="M000432"></a><b>method_missing</b>(s, *a, &b)
|
174
174
|
</div>
|
175
175
|
<div class="sourcecode">
|
176
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
177
|
-
<div id="
|
176
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000432_source')" id="l_M000432_source">show source</a> ]</p>
|
177
|
+
<div id="M000432_source" class="dyn-source">
|
178
178
|
<pre>
|
179
179
|
<span class="ruby-comment cmt"># File lib/more/facets/prototype.rb, line 58</span>
|
180
180
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">s</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -190,11 +190,11 @@ New prototype object.
|
|
190
190
|
</div>
|
191
191
|
<div class="method">
|
192
192
|
<div class="title">
|
193
|
-
<a name="
|
193
|
+
<a name="M000428"></a><b>new</b>(o=nil)
|
194
194
|
</div>
|
195
195
|
<div class="sourcecode">
|
196
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
197
|
-
<div id="
|
196
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000428_source')" id="l_M000428_source">show source</a> ]</p>
|
197
|
+
<div id="M000428_source" class="dyn-source">
|
198
198
|
<pre>
|
199
199
|
<span class="ruby-comment cmt"># File lib/more/facets/prototype.rb, line 41</span>
|
200
200
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span>(<span class="ruby-identifier">o</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -207,11 +207,11 @@ New prototype object.
|
|
207
207
|
</div>
|
208
208
|
<div class="method">
|
209
209
|
<div class="title">
|
210
|
-
<a name="
|
210
|
+
<a name="M000431"></a><b>trait</b>(obj)
|
211
211
|
</div>
|
212
212
|
<div class="sourcecode">
|
213
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
214
|
-
<div id="
|
213
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000431_source')" id="l_M000431_source">show source</a> ]</p>
|
214
|
+
<div id="M000431_source" class="dyn-source">
|
215
215
|
<pre>
|
216
216
|
<span class="ruby-comment cmt"># File lib/more/facets/prototype.rb, line 54</span>
|
217
217
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">trait</span>(<span class="ruby-identifier">obj</span>)
|
@@ -223,11 +223,11 @@ New prototype object.
|
|
223
223
|
</div>
|
224
224
|
<div class="method">
|
225
225
|
<div class="title">
|
226
|
-
<a name="
|
226
|
+
<a name="M000430"></a><b>traits</b>()
|
227
227
|
</div>
|
228
228
|
<div class="sourcecode">
|
229
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
230
|
-
<div id="
|
229
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000430_source')" id="l_M000430_source">show source</a> ]</p>
|
230
|
+
<div id="M000430_source" class="dyn-source">
|
231
231
|
<pre>
|
232
232
|
<span class="ruby-comment cmt"># File lib/more/facets/prototype.rb, line 50</span>
|
233
233
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traits</span>
|
@@ -88,10 +88,10 @@ Read from one object and write to another.
|
|
88
88
|
|
89
89
|
<div class="sectiontitle">Methods</div>
|
90
90
|
<ul>
|
91
|
-
<li><a href="#
|
92
|
-
<li><a href="#
|
93
|
-
<li><a href="#
|
94
|
-
<li><a href="#
|
91
|
+
<li><a href="#M000469">==</a></li>
|
92
|
+
<li><a href="#M000468">inspect</a></li>
|
93
|
+
<li><a href="#M000470">method_missing</a></li>
|
94
|
+
<li><a href="#M000467">new</a></li>
|
95
95
|
</ul>
|
96
96
|
|
97
97
|
|
@@ -102,11 +102,11 @@ Read from one object and write to another.
|
|
102
102
|
<div class="sectiontitle">Public Class methods</div>
|
103
103
|
<div class="method">
|
104
104
|
<div class="title">
|
105
|
-
<a name="
|
105
|
+
<a name="M000467"></a><b>new</b>( write, &read )
|
106
106
|
</div>
|
107
107
|
<div class="sourcecode">
|
108
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
109
|
-
<div id="
|
108
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000467_source')" id="l_M000467_source">show source</a> ]</p>
|
109
|
+
<div id="M000467_source" class="dyn-source">
|
110
110
|
<pre>
|
111
111
|
<span class="ruby-comment cmt"># File lib/more/facets/rwdelegator.rb, line 32</span>
|
112
112
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">write</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">read</span> )
|
@@ -136,11 +136,11 @@ Read from one object and write to another.
|
|
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="M000469"></a><b>==</b>( other )
|
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('M000469_source')" id="l_M000469_source">show source</a> ]</p>
|
143
|
+
<div id="M000469_source" class="dyn-source">
|
144
144
|
<pre>
|
145
145
|
<span class="ruby-comment cmt"># File lib/more/facets/rwdelegator.rb, line 57</span>
|
146
146
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>( <span class="ruby-identifier">other</span> )
|
@@ -152,11 +152,11 @@ Read from one object and write to another.
|
|
152
152
|
</div>
|
153
153
|
<div class="method">
|
154
154
|
<div class="title">
|
155
|
-
<a name="
|
155
|
+
<a name="M000468"></a><b>inspect</b>()
|
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('M000468_source')" id="l_M000468_source">show source</a> ]</p>
|
159
|
+
<div id="M000468_source" class="dyn-source">
|
160
160
|
<pre>
|
161
161
|
<span class="ruby-comment cmt"># File lib/more/facets/rwdelegator.rb, line 53</span>
|
162
162
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
@@ -168,11 +168,11 @@ Read from one object and write to another.
|
|
168
168
|
</div>
|
169
169
|
<div class="method">
|
170
170
|
<div class="title">
|
171
|
-
<a name="
|
171
|
+
<a name="M000470"></a><b>method_missing</b>( meth, *args, &blk )
|
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('M000470_source')" id="l_M000470_source">show source</a> ]</p>
|
175
|
+
<div id="M000470_source" class="dyn-source">
|
176
176
|
<pre>
|
177
177
|
<span class="ruby-comment cmt"># File lib/more/facets/rwdelegator.rb, line 61</span>
|
178
178
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>( <span class="ruby-identifier">meth</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span> )
|