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
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
<div class="sectiontitle">Methods</div>
|
78
78
|
<ul>
|
79
|
-
<li><a href="#
|
79
|
+
<li><a href="#M001014">escape</a></li>
|
80
80
|
</ul>
|
81
81
|
|
82
82
|
|
@@ -105,11 +105,11 @@
|
|
105
105
|
<div class="sectiontitle">Public Class methods</div>
|
106
106
|
<div class="method">
|
107
107
|
<div class="title">
|
108
|
-
<a name="
|
108
|
+
<a name="M001014"></a><b>escape</b>(str)
|
109
109
|
</div>
|
110
110
|
<div class="description">
|
111
111
|
<p>
|
112
|
-
Applies operator <a href="OpEsc.html#
|
112
|
+
Applies operator <a href="OpEsc.html#M001014">escape</a>‘s according
|
113
113
|
to OPERATORS_ESCAPE_TABLE.
|
114
114
|
</p>
|
115
115
|
<pre>
|
@@ -119,8 +119,8 @@ to OPERATORS_ESCAPE_TABLE.
|
|
119
119
|
</pre>
|
120
120
|
</div>
|
121
121
|
<div class="sourcecode">
|
122
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
123
|
-
<div id="
|
122
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001014_source')" id="l_M001014_source">show source</a> ]</p>
|
123
|
+
<div id="M001014_source" class="dyn-source">
|
124
124
|
<pre>
|
125
125
|
<span class="ruby-comment cmt"># File lib/more/facets/opesc.rb, line 40</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">str</span>)
|
@@ -100,7 +100,7 @@ it easy to create "cascading" references.
|
|
100
100
|
|
101
101
|
<div class="sectiontitle">Methods</div>
|
102
102
|
<ul>
|
103
|
-
<li><a href="#
|
103
|
+
<li><a href="#M000552">method_missing</a></li>
|
104
104
|
</ul>
|
105
105
|
|
106
106
|
|
@@ -111,11 +111,11 @@ it easy to create "cascading" references.
|
|
111
111
|
<div class="sectiontitle">Public Instance methods</div>
|
112
112
|
<div class="method">
|
113
113
|
<div class="title">
|
114
|
-
<a name="
|
114
|
+
<a name="M000552"></a><b>method_missing</b>( sym, arg=nil )
|
115
115
|
</div>
|
116
116
|
<div class="sourcecode">
|
117
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
118
|
-
<div id="
|
117
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000552_source')" id="l_M000552_source">show source</a> ]</p>
|
118
|
+
<div id="M000552_source" class="dyn-source">
|
119
119
|
<pre>
|
120
120
|
<span class="ruby-comment cmt"># File lib/more/facets/opencascade.rb, line 76</span>
|
121
121
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>( <span class="ruby-identifier">sym</span>, <span class="ruby-identifier">arg</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -85,8 +85,8 @@ Mapping <a href="OpenObject.html">OpenObject</a>.
|
|
85
85
|
|
86
86
|
<div class="sectiontitle">Methods</div>
|
87
87
|
<ul>
|
88
|
-
<li><a href="#
|
89
|
-
<li><a href="#
|
88
|
+
<li><a href="#M000259">method_missing</a></li>
|
89
|
+
<li><a href="#M000258">new</a></li>
|
90
90
|
</ul>
|
91
91
|
|
92
92
|
|
@@ -97,11 +97,11 @@ Mapping <a href="OpenObject.html">OpenObject</a>.
|
|
97
97
|
<div class="sectiontitle">Public Class methods</div>
|
98
98
|
<div class="method">
|
99
99
|
<div class="title">
|
100
|
-
<a name="
|
100
|
+
<a name="M000258"></a><b>new</b>(*hash)
|
101
101
|
</div>
|
102
102
|
<div class="sourcecode">
|
103
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
104
|
-
<div id="
|
103
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000258_source')" id="l_M000258_source">show source</a> ]</p>
|
104
|
+
<div id="M000258_source" class="dyn-source">
|
105
105
|
<pre>
|
106
106
|
<span class="ruby-comment cmt"># File lib/more/facets/opencollection.rb, line 30</span>
|
107
107
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">hash</span>)
|
@@ -116,11 +116,11 @@ Mapping <a href="OpenObject.html">OpenObject</a>.
|
|
116
116
|
<div class="sectiontitle">Public Instance methods</div>
|
117
117
|
<div class="method">
|
118
118
|
<div class="title">
|
119
|
-
<a name="
|
119
|
+
<a name="M000259"></a><b>method_missing</b>(sym)
|
120
120
|
</div>
|
121
121
|
<div class="sourcecode">
|
122
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
123
|
-
<div id="
|
122
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000259_source')" id="l_M000259_source">show source</a> ]</p>
|
123
|
+
<div id="M000259_source" class="dyn-source">
|
124
124
|
<pre>
|
125
125
|
<span class="ruby-comment cmt"># File lib/more/facets/opencollection.rb, line 36</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">sym</span>)
|
@@ -82,7 +82,7 @@ Hash
|
|
82
82
|
<a href="OpenHash.html">OpenHash</a> is akin to an OpenStruct or an <a
|
83
83
|
href="OpenObject.html">OpenObject</a>, but it is much simplier in nature.
|
84
84
|
<a href="It.html">It</a> is a hash with an <a
|
85
|
-
href="OpenHash.html#
|
85
|
+
href="OpenHash.html#M000554">method_missing</a> definition that routes to
|
86
86
|
[] and []=.
|
87
87
|
</p>
|
88
88
|
</div>
|
@@ -91,8 +91,8 @@ href="OpenHash.html#M000544">method_missing</a> definition that routes to
|
|
91
91
|
|
92
92
|
<div class="sectiontitle">Methods</div>
|
93
93
|
<ul>
|
94
|
-
<li><a href="#
|
95
|
-
<li><a href="#
|
94
|
+
<li><a href="#M000554">method_missing</a></li>
|
95
|
+
<li><a href="#M000553">new</a></li>
|
96
96
|
</ul>
|
97
97
|
|
98
98
|
|
@@ -103,7 +103,7 @@ href="OpenHash.html#M000544">method_missing</a> definition that routes to
|
|
103
103
|
<div class="sectiontitle">Public Class methods</div>
|
104
104
|
<div class="method">
|
105
105
|
<div class="title">
|
106
|
-
<a name="
|
106
|
+
<a name="M000553"></a><b>new</b>(data)
|
107
107
|
</div>
|
108
108
|
<div class="description">
|
109
109
|
<p>
|
@@ -111,8 +111,8 @@ New <a href="OpenHash.html">OpenHash</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('M000553_source')" id="l_M000553_source">show source</a> ]</p>
|
115
|
+
<div id="M000553_source" class="dyn-source">
|
116
116
|
<pre>
|
117
117
|
<span class="ruby-comment cmt"># File lib/more/facets/openhash.rb, line 22</span>
|
118
118
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">data</span>)
|
@@ -126,7 +126,7 @@ New <a href="OpenHash.html">OpenHash</a>.
|
|
126
126
|
<div class="sectiontitle">Public Instance methods</div>
|
127
127
|
<div class="method">
|
128
128
|
<div class="title">
|
129
|
-
<a name="
|
129
|
+
<a name="M000554"></a><b>method_missing</b>(s, *a)
|
130
130
|
</div>
|
131
131
|
<div class="description">
|
132
132
|
<p>
|
@@ -134,8 +134,8 @@ Route get and set calls.
|
|
134
134
|
</p>
|
135
135
|
</div>
|
136
136
|
<div class="sourcecode">
|
137
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
138
|
-
<div id="
|
137
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000554_source')" id="l_M000554_source">show source</a> ]</p>
|
138
|
+
<div id="M000554_source" class="dyn-source">
|
139
139
|
<pre>
|
140
140
|
<span class="ruby-comment cmt"># File lib/more/facets/openhash.rb, line 29</span>
|
141
141
|
<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>)
|
@@ -104,7 +104,7 @@ If you wish to pass an <a href="OpenObject.html">OpenObject</a> to a
|
|
104
104
|
routine that normal takes a <a href="Hash.html">Hash</a>, but are uncertain
|
105
105
|
it can handle the distictions properly you can convert easily to a <a
|
106
106
|
href="Hash.html">Hash</a> using <a
|
107
|
-
href="OpenObject.html#
|
107
|
+
href="OpenObject.html#M000319">to_hash</a>! and the result will
|
108
108
|
automatically be converted back to an <a
|
109
109
|
href="OpenObject.html">OpenObject</a> on return.
|
110
110
|
</p>
|
@@ -124,29 +124,29 @@ are converted to such using to_sym on the fly.
|
|
124
124
|
|
125
125
|
<div class="sectiontitle">Methods</div>
|
126
126
|
<ul>
|
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="#
|
135
|
-
<li><a href="#
|
136
|
-
<li><a href="#
|
137
|
-
<li><a href="#
|
138
|
-
<li><a href="#
|
139
|
-
<li><a href="#
|
140
|
-
<li><a href="#
|
141
|
-
<li><a href="#
|
142
|
-
<li><a href="#
|
143
|
-
<li><a href="#
|
144
|
-
<li><a href="#
|
145
|
-
<li><a href="#
|
146
|
-
<li><a href="#
|
147
|
-
<li><a href="#
|
148
|
-
<li><a href="#
|
149
|
-
<li><a href="#
|
127
|
+
<li><a href="#M000328">==</a></li>
|
128
|
+
<li><a href="#M000313">[]</a></li>
|
129
|
+
<li><a href="#M000330">[]</a></li>
|
130
|
+
<li><a href="#M000329">[]=</a></li>
|
131
|
+
<li><a href="#M000327">as_hash!</a></li>
|
132
|
+
<li><a href="#M000326">default!</a></li>
|
133
|
+
<li><a href="#M000333">define_slot</a></li>
|
134
|
+
<li><a href="#M000325">delete</a></li>
|
135
|
+
<li><a href="#M000322">each</a></li>
|
136
|
+
<li><a href="#M000332">fetch</a></li>
|
137
|
+
<li><a href="#M000315">initialize_copy</a></li>
|
138
|
+
<li><a href="#M000316">inspect</a></li>
|
139
|
+
<li><a href="#M000323">merge</a></li>
|
140
|
+
<li><a href="#M000335">method_missing</a></li>
|
141
|
+
<li><a href="#M000314">new</a></li>
|
142
|
+
<li><a href="#M000334">protect_slot</a></li>
|
143
|
+
<li><a href="#M000331">store</a></li>
|
144
|
+
<li><a href="#M000317">to_a</a></li>
|
145
|
+
<li><a href="#M000318">to_h</a></li>
|
146
|
+
<li><a href="#M000319">to_hash</a></li>
|
147
|
+
<li><a href="#M000321">to_openobject</a></li>
|
148
|
+
<li><a href="#M000320">to_proc</a></li>
|
149
|
+
<li><a href="#M000324">update</a></li>
|
150
150
|
</ul>
|
151
151
|
|
152
152
|
|
@@ -165,11 +165,11 @@ are converted to such using to_sym on the fly.
|
|
165
165
|
<div class="sectiontitle">Public Class methods</div>
|
166
166
|
<div class="method">
|
167
167
|
<div class="title">
|
168
|
-
<a name="
|
168
|
+
<a name="M000313"></a><b>[]</b>(hash=nil)
|
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('M000313_source')" id="l_M000313_source">show source</a> ]</p>
|
172
|
+
<div id="M000313_source" class="dyn-source">
|
173
173
|
<pre>
|
174
174
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 88</span>
|
175
175
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-operator">[]</span>(<span class="ruby-identifier">hash</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -181,7 +181,7 @@ are converted to such using to_sym on the fly.
|
|
181
181
|
</div>
|
182
182
|
<div class="method">
|
183
183
|
<div class="title">
|
184
|
-
<a name="
|
184
|
+
<a name="M000314"></a><b>new</b>( hash=nil, &yld )
|
185
185
|
</div>
|
186
186
|
<div class="description">
|
187
187
|
<p>
|
@@ -197,8 +197,8 @@ can still take a default block however. To set the degault value use
|
|
197
197
|
</pre>
|
198
198
|
</div>
|
199
199
|
<div class="sourcecode">
|
200
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
201
|
-
<div id="
|
200
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000314_source')" id="l_M000314_source">show source</a> ]</p>
|
201
|
+
<div id="M000314_source" class="dyn-source">
|
202
202
|
<pre>
|
203
203
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 99</span>
|
204
204
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">hash</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
@@ -212,7 +212,7 @@ can still take a default block however. To set the degault value use
|
|
212
212
|
<div class="sectiontitle">Public Instance methods</div>
|
213
213
|
<div class="method">
|
214
214
|
<div class="title">
|
215
|
-
<a name="
|
215
|
+
<a name="M000328"></a><b>==</b>( other )
|
216
216
|
</div>
|
217
217
|
<div class="description">
|
218
218
|
<p>
|
@@ -221,8 +221,8 @@ too?)
|
|
221
221
|
</p>
|
222
222
|
</div>
|
223
223
|
<div class="sourcecode">
|
224
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
225
|
-
<div id="
|
224
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000328_source')" id="l_M000328_source">show source</a> ]</p>
|
225
|
+
<div id="M000328_source" class="dyn-source">
|
226
226
|
<pre>
|
227
227
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 172</span>
|
228
228
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>( <span class="ruby-identifier">other</span> )
|
@@ -235,11 +235,11 @@ too?)
|
|
235
235
|
</div>
|
236
236
|
<div class="method">
|
237
237
|
<div class="title">
|
238
|
-
<a name="
|
238
|
+
<a name="M000330"></a><b>[]</b>(k)
|
239
239
|
</div>
|
240
240
|
<div class="sourcecode">
|
241
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
242
|
-
<div id="
|
241
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000330_source')" id="l_M000330_source">show source</a> ]</p>
|
242
|
+
<div id="M000330_source" class="dyn-source">
|
243
243
|
<pre>
|
244
244
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 182</span>
|
245
245
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">k</span>)
|
@@ -251,11 +251,11 @@ too?)
|
|
251
251
|
</div>
|
252
252
|
<div class="method">
|
253
253
|
<div class="title">
|
254
|
-
<a name="
|
254
|
+
<a name="M000329"></a><b>[]=</b>(k,v)
|
255
255
|
</div>
|
256
256
|
<div class="sourcecode">
|
257
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
258
|
-
<div id="
|
257
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000329_source')" id="l_M000329_source">show source</a> ]</p>
|
258
|
+
<div id="M000329_source" class="dyn-source">
|
259
259
|
<pre>
|
260
260
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 177</span>
|
261
261
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)
|
@@ -268,7 +268,7 @@ too?)
|
|
268
268
|
</div>
|
269
269
|
<div class="method">
|
270
270
|
<div class="title">
|
271
|
-
<a name="
|
271
|
+
<a name="M000327"></a><b>as_hash!</b>(&yld)
|
272
272
|
</div>
|
273
273
|
<div class="description">
|
274
274
|
<p>
|
@@ -277,8 +277,8 @@ were a regular <a href="Hash.html">Hash</a>.
|
|
277
277
|
</p>
|
278
278
|
</div>
|
279
279
|
<div class="sourcecode">
|
280
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
281
|
-
<div id="
|
280
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000327_source')" id="l_M000327_source">show source</a> ]</p>
|
281
|
+
<div id="M000327_source" class="dyn-source">
|
282
282
|
<pre>
|
283
283
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 166</span>
|
284
284
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">as_hash!</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>)
|
@@ -290,7 +290,7 @@ were a regular <a href="Hash.html">Hash</a>.
|
|
290
290
|
</div>
|
291
291
|
<div class="method">
|
292
292
|
<div class="title">
|
293
|
-
<a name="
|
293
|
+
<a name="M000326"></a><b>default!</b>(default)
|
294
294
|
</div>
|
295
295
|
<div class="description">
|
296
296
|
<p>
|
@@ -298,8 +298,8 @@ Set the default value.
|
|
298
298
|
</p>
|
299
299
|
</div>
|
300
300
|
<div class="sourcecode">
|
301
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
302
|
-
<div id="
|
301
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000326_source')" id="l_M000326_source">show source</a> ]</p>
|
302
|
+
<div id="M000326_source" class="dyn-source">
|
303
303
|
<pre>
|
304
304
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 156</span>
|
305
305
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default!</span>(<span class="ruby-identifier">default</span>)
|
@@ -311,11 +311,11 @@ Set the default value.
|
|
311
311
|
</div>
|
312
312
|
<div class="method">
|
313
313
|
<div class="title">
|
314
|
-
<a name="
|
314
|
+
<a name="M000325"></a><b>delete</b>(key)
|
315
315
|
</div>
|
316
316
|
<div class="sourcecode">
|
317
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
318
|
-
<div id="
|
317
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000325_source')" id="l_M000325_source">show source</a> ]</p>
|
318
|
+
<div id="M000325_source" class="dyn-source">
|
319
319
|
<pre>
|
320
320
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 150</span>
|
321
321
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>)
|
@@ -327,17 +327,17 @@ Set the default value.
|
|
327
327
|
</div>
|
328
328
|
<div class="method">
|
329
329
|
<div class="title">
|
330
|
-
<a name="
|
330
|
+
<a name="M000322"></a><b>each</b>(&yld)
|
331
331
|
</div>
|
332
332
|
<div class="description">
|
333
333
|
<p>
|
334
|
-
Iterate over <a href="OpenObject.html#
|
334
|
+
Iterate over <a href="OpenObject.html#M000322">each</a> key-value pair.
|
335
335
|
(Careful, this can be clobbered!)
|
336
336
|
</p>
|
337
337
|
</div>
|
338
338
|
<div class="sourcecode">
|
339
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
340
|
-
<div id="
|
339
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000322_source')" id="l_M000322_source">show source</a> ]</p>
|
340
|
+
<div id="M000322_source" class="dyn-source">
|
341
341
|
<pre>
|
342
342
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 127</span>
|
343
343
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>) <span class="ruby-keyword kw">super</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>) <span class="ruby-keyword kw">end</span>
|
@@ -347,11 +347,11 @@ Iterate over <a href="OpenObject.html#M000314">each</a> key-value pair.
|
|
347
347
|
</div>
|
348
348
|
<div class="method">
|
349
349
|
<div class="title">
|
350
|
-
<a name="
|
350
|
+
<a name="M000315"></a><b>initialize_copy</b>( orig )
|
351
351
|
</div>
|
352
352
|
<div class="sourcecode">
|
353
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
354
|
-
<div id="
|
353
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000315_source')" id="l_M000315_source">show source</a> ]</p>
|
354
|
+
<div id="M000315_source" class="dyn-source">
|
355
355
|
<pre>
|
356
356
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 104</span>
|
357
357
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize_copy</span>( <span class="ruby-identifier">orig</span> )
|
@@ -363,7 +363,7 @@ Iterate over <a href="OpenObject.html#M000314">each</a> key-value pair.
|
|
363
363
|
</div>
|
364
364
|
<div class="method">
|
365
365
|
<div class="title">
|
366
|
-
<a name="
|
366
|
+
<a name="M000316"></a><b>inspect</b>()
|
367
367
|
</div>
|
368
368
|
<div class="description">
|
369
369
|
<p>
|
@@ -371,8 +371,8 @@ Object inspection. (Careful, this can be clobbered!)
|
|
371
371
|
</p>
|
372
372
|
</div>
|
373
373
|
<div class="sourcecode">
|
374
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
375
|
-
<div id="
|
374
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000316_source')" id="l_M000316_source">show source</a> ]</p>
|
375
|
+
<div id="M000316_source" class="dyn-source">
|
376
376
|
<pre>
|
377
377
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 110</span>
|
378
378
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
@@ -384,18 +384,18 @@ Object inspection. (Careful, this can be clobbered!)
|
|
384
384
|
</div>
|
385
385
|
<div class="method">
|
386
386
|
<div class="title">
|
387
|
-
<a name="
|
387
|
+
<a name="M000323"></a><b>merge</b>( other )
|
388
388
|
</div>
|
389
389
|
<div class="description">
|
390
390
|
<p>
|
391
391
|
Merge one <a href="OpenObject.html">OpenObject</a> with another creating a
|
392
|
-
<a href="OpenObject.html#
|
392
|
+
<a href="OpenObject.html#M000314">new</a> <a
|
393
393
|
href="OpenObject.html">OpenObject</a>.
|
394
394
|
</p>
|
395
395
|
</div>
|
396
396
|
<div class="sourcecode">
|
397
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
398
|
-
<div id="
|
397
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000323_source')" id="l_M000323_source">show source</a> ]</p>
|
398
|
+
<div id="M000323_source" class="dyn-source">
|
399
399
|
<pre>
|
400
400
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 131</span>
|
401
401
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge</span>( <span class="ruby-identifier">other</span> )
|
@@ -409,7 +409,7 @@ href="OpenObject.html">OpenObject</a>.
|
|
409
409
|
</div>
|
410
410
|
<div class="method">
|
411
411
|
<div class="title">
|
412
|
-
<a name="
|
412
|
+
<a name="M000317"></a><b>to_a</b>()
|
413
413
|
</div>
|
414
414
|
<div class="description">
|
415
415
|
<p>
|
@@ -417,8 +417,8 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
417
417
|
</p>
|
418
418
|
</div>
|
419
419
|
<div class="sourcecode">
|
420
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
421
|
-
<div id="
|
420
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000317_source')" id="l_M000317_source">show source</a> ]</p>
|
421
|
+
<div id="M000317_source" class="dyn-source">
|
422
422
|
<pre>
|
423
423
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 116</span>
|
424
424
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>() <span class="ruby-keyword kw">super</span> <span class="ruby-keyword kw">end</span>
|
@@ -428,11 +428,11 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
428
428
|
</div>
|
429
429
|
<div class="method">
|
430
430
|
<div class="title">
|
431
|
-
<a name="
|
431
|
+
<a name="M000318"></a><b>to_h</b>()
|
432
432
|
</div>
|
433
433
|
<div class="sourcecode">
|
434
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
435
|
-
<div id="
|
434
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000318_source')" id="l_M000318_source">show source</a> ]</p>
|
435
|
+
<div id="M000318_source" class="dyn-source">
|
436
436
|
<pre>
|
437
437
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 118</span>
|
438
438
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>() {}.<span class="ruby-identifier">update</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">end</span>
|
@@ -442,11 +442,11 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
442
442
|
</div>
|
443
443
|
<div class="method">
|
444
444
|
<div class="title">
|
445
|
-
<a name="
|
445
|
+
<a name="M000319"></a><b>to_hash</b>()
|
446
446
|
</div>
|
447
447
|
<div class="sourcecode">
|
448
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
449
|
-
<div id="
|
448
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000319_source')" id="l_M000319_source">show source</a> ]</p>
|
449
|
+
<div id="M000319_source" class="dyn-source">
|
450
450
|
<pre>
|
451
451
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 119</span>
|
452
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span>() {}.<span class="ruby-identifier">update</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">end</span>
|
@@ -456,11 +456,11 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
456
456
|
</div>
|
457
457
|
<div class="method">
|
458
458
|
<div class="title">
|
459
|
-
<a name="
|
459
|
+
<a name="M000321"></a><b>to_openobject</b>()
|
460
460
|
</div>
|
461
461
|
<div class="sourcecode">
|
462
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
463
|
-
<div id="
|
462
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000321_source')" id="l_M000321_source">show source</a> ]</p>
|
463
|
+
<div id="M000321_source" class="dyn-source">
|
464
464
|
<pre>
|
465
465
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 123</span>
|
466
466
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_openobject</span>() <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span>
|
@@ -470,11 +470,11 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
470
470
|
</div>
|
471
471
|
<div class="method">
|
472
472
|
<div class="title">
|
473
|
-
<a name="
|
473
|
+
<a name="M000320"></a><b>to_proc</b>()
|
474
474
|
</div>
|
475
475
|
<div class="sourcecode">
|
476
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
477
|
-
<div id="
|
476
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000320_source')" id="l_M000320_source">show source</a> ]</p>
|
477
|
+
<div id="M000320_source" class="dyn-source">
|
478
478
|
<pre>
|
479
479
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 121</span>
|
480
480
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_proc</span>() <span class="ruby-keyword kw">super</span> <span class="ruby-keyword kw">end</span>
|
@@ -484,7 +484,7 @@ Conversion methods. (Careful, these can be clobbered!)
|
|
484
484
|
</div>
|
485
485
|
<div class="method">
|
486
486
|
<div class="title">
|
487
|
-
<a name="
|
487
|
+
<a name="M000324"></a><b>update</b>( other )
|
488
488
|
</div>
|
489
489
|
<div class="description">
|
490
490
|
<p>
|
@@ -492,8 +492,8 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
492
492
|
</p>
|
493
493
|
</div>
|
494
494
|
<div class="sourcecode">
|
495
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
496
|
-
<div id="
|
495
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000324_source')" id="l_M000324_source">show source</a> ]</p>
|
496
|
+
<div id="M000324_source" class="dyn-source">
|
497
497
|
<pre>
|
498
498
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 139</span>
|
499
499
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>( <span class="ruby-identifier">other</span> )
|
@@ -511,11 +511,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
511
511
|
<div class="sectiontitle">Protected Instance methods</div>
|
512
512
|
<div class="method">
|
513
513
|
<div class="title">
|
514
|
-
<a name="
|
514
|
+
<a name="M000333"></a><b>define_slot</b>( key, value=nil )
|
515
515
|
</div>
|
516
516
|
<div class="sourcecode">
|
517
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
518
|
-
<div id="
|
517
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000333_source')" id="l_M000333_source">show source</a> ]</p>
|
518
|
+
<div id="M000333_source" class="dyn-source">
|
519
519
|
<pre>
|
520
520
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 197</span>
|
521
521
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">define_slot</span>( <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -528,11 +528,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
528
528
|
</div>
|
529
529
|
<div class="method">
|
530
530
|
<div class="title">
|
531
|
-
<a name="
|
531
|
+
<a name="M000332"></a><b>fetch</b>(k,*d,&b)
|
532
532
|
</div>
|
533
533
|
<div class="sourcecode">
|
534
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
535
|
-
<div id="
|
534
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000332_source')" id="l_M000332_source">show source</a> ]</p>
|
535
|
+
<div id="M000332_source" class="dyn-source">
|
536
536
|
<pre>
|
537
537
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 193</span>
|
538
538
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">k</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">d</span>,<span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -544,11 +544,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
544
544
|
</div>
|
545
545
|
<div class="method">
|
546
546
|
<div class="title">
|
547
|
-
<a name="
|
547
|
+
<a name="M000335"></a><b>method_missing</b>( sym, arg=nil, &blk)
|
548
548
|
</div>
|
549
549
|
<div class="sourcecode">
|
550
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
551
|
-
<div id="
|
550
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000335_source')" id="l_M000335_source">show source</a> ]</p>
|
551
|
+
<div id="M000335_source" class="dyn-source">
|
552
552
|
<pre>
|
553
553
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 208</span>
|
554
554
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>( <span class="ruby-identifier">sym</span>, <span class="ruby-identifier">arg</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -569,11 +569,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
569
569
|
</div>
|
570
570
|
<div class="method">
|
571
571
|
<div class="title">
|
572
|
-
<a name="
|
572
|
+
<a name="M000334"></a><b>protect_slot</b>( key )
|
573
573
|
</div>
|
574
574
|
<div class="sourcecode">
|
575
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
576
|
-
<div id="
|
575
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000334_source')" id="l_M000334_source">show source</a> ]</p>
|
576
|
+
<div id="M000334_source" class="dyn-source">
|
577
577
|
<pre>
|
578
578
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 202</span>
|
579
579
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protect_slot</span>( <span class="ruby-identifier">key</span> )
|
@@ -587,11 +587,11 @@ Update this <a href="OpenObject.html">OpenObject</a> with another.
|
|
587
587
|
</div>
|
588
588
|
<div class="method">
|
589
589
|
<div class="title">
|
590
|
-
<a name="
|
590
|
+
<a name="M000331"></a><b>store</b>(k,v)
|
591
591
|
</div>
|
592
592
|
<div class="sourcecode">
|
593
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
594
|
-
<div id="
|
593
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000331_source')" id="l_M000331_source">show source</a> ]</p>
|
594
|
+
<div id="M000331_source" class="dyn-source">
|
595
595
|
<pre>
|
596
596
|
<span class="ruby-comment cmt"># File lib/more/facets/openobject.rb, line 188</span>
|
597
597
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)
|