facets 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/CHANGES +25 -5
- data/MANIFEST +67 -34
- data/METADATA +2 -2
- data/NEWS +54 -46
- data/doc/news/NEWS-2.4.0 +52 -0
- data/doc/rdoc/core/classes/Array.html +198 -198
- data/doc/rdoc/core/classes/Binding.html +86 -192
- data/doc/rdoc/core/classes/Class.html +136 -136
- data/doc/rdoc/core/classes/Comparable.html +45 -45
- data/doc/rdoc/core/classes/Dir.html +64 -64
- data/doc/rdoc/core/classes/Enumerable.html +287 -281
- data/doc/rdoc/core/classes/Exception.html +16 -16
- data/doc/rdoc/core/classes/FalseClass.html +8 -8
- data/doc/rdoc/core/classes/File.html +100 -100
- data/doc/rdoc/core/classes/FileTest.html +8 -8
- data/doc/rdoc/core/classes/Float.html +32 -32
- data/doc/rdoc/core/classes/Friend.html +8 -8
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +439 -847
- data/doc/rdoc/{more → core}/classes/Indexable.html +115 -115
- data/doc/rdoc/core/classes/InstanceVariables.html +88 -88
- data/doc/rdoc/core/classes/Integer.html +142 -142
- data/doc/rdoc/core/classes/Kernel.html +602 -600
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +30 -30
- data/doc/rdoc/core/classes/Module.html +379 -327
- data/doc/rdoc/core/classes/NilClass.html +32 -32
- data/doc/rdoc/core/classes/Numeric.html +46 -46
- data/doc/rdoc/core/classes/Object.html +4 -4
- data/doc/rdoc/core/classes/Proc.html +46 -134
- data/doc/rdoc/core/classes/Range.html +60 -60
- data/doc/rdoc/core/classes/Regexp.html +28 -28
- data/doc/rdoc/{more → core}/classes/Stackable.html +38 -38
- data/doc/rdoc/core/classes/String.html +844 -504
- data/doc/rdoc/core/classes/Symbol.html +62 -62
- data/doc/rdoc/core/classes/Time.html +112 -112
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +22 -22
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +4 -1
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/{class/to_methodname_rb.html → enumerable/commonality_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/{class/to_pathname_rb.html → enumerable/frequency_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +6 -2
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +2 -1
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +7 -1
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/indexable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +15 -2
- data/doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +8 -1
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +8 -5
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +2 -1
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +3 -5
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/stackable_rb.html +3 -4
- data/doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/{module/clone_rb.html → string/methodize_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/{kernel/load_rb.html → string/pathize_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +8 -3
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +2 -1
- data/doc/rdoc/core/fr_class_index.html +2 -3
- data/doc/rdoc/core/fr_file_index.html +36 -16
- data/doc/rdoc/core/fr_method_index.html +778 -784
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Association.html +28 -28
- data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
- data/doc/rdoc/more/classes/Autoarray.html +12 -12
- data/doc/rdoc/more/classes/BBCode.html +34 -34
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BigDuration.html +30 -30
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +201 -0
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/BuildingBlock.html +32 -32
- data/doc/rdoc/more/classes/CLI.html +108 -0
- data/doc/rdoc/more/classes/CLI/Arguments.html +76 -76
- data/doc/rdoc/more/classes/CLI/Command.html +22 -22
- data/doc/rdoc/more/classes/CLI/NoCommandError.html +4 -4
- data/doc/rdoc/more/classes/CLI/NoOptionError.html +4 -4
- data/doc/rdoc/more/classes/CacheDecorator.html +21 -21
- data/doc/rdoc/more/classes/Capsule.html +41 -41
- data/doc/rdoc/more/classes/Chain.html +17 -17
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
- data/doc/rdoc/more/classes/Coroutine.html +28 -28
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssFilter.html +45 -45
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +228 -228
- data/doc/rdoc/more/classes/DictionaryMatcher.html +38 -38
- data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +4 -4
- data/doc/rdoc/more/classes/Downloader.html +56 -56
- data/doc/rdoc/more/classes/Duration.html +68 -68
- data/doc/rdoc/more/classes/Enumerable.html +44 -44
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/EventHook.html +8 -8
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/FileList.html +125 -125
- data/doc/rdoc/more/classes/FileShell.html +147 -147
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash.html +306 -14
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/IORedirect.html +19 -19
- data/doc/rdoc/more/classes/InfinityClass.html +36 -36
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +23 -23
- data/doc/rdoc/more/classes/Ini.html +37 -37
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantise.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/Kernel.html +77 -77
- data/doc/rdoc/more/classes/LRUCache.html +38 -38
- data/doc/rdoc/more/classes/LinkedList.html +68 -68
- data/doc/rdoc/more/classes/LinkedList/Node.html +4 -4
- data/doc/rdoc/{core → more}/classes/MissingArgument.html +1 -2
- data/doc/rdoc/more/classes/Module.html +171 -171
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +19 -19
- data/doc/rdoc/more/classes/NullClass.html +24 -24
- data/doc/rdoc/more/classes/ObjectReflection.html +12 -12
- data/doc/rdoc/more/classes/OpEsc.html +5 -5
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenCollection.html +8 -8
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/OpenObject.html +95 -95
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +11 -11
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/PathList.html +8 -8
- data/doc/rdoc/more/classes/PathList/Finder.html +8 -8
- data/doc/rdoc/more/classes/Platform.html +46 -46
- data/doc/rdoc/more/classes/Pool.html +18 -18
- data/doc/rdoc/more/classes/Proc.html +48 -4
- data/doc/rdoc/more/classes/ProgressBar.html +52 -52
- data/doc/rdoc/more/classes/Prototype.html +28 -28
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +9 -9
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Recorder.html +16 -16
- data/doc/rdoc/more/classes/Reference.html +19 -19
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Semaphore.html +36 -36
- data/doc/rdoc/more/classes/Settings.html +28 -28
- data/doc/rdoc/more/classes/Settings/Setting.html +13 -13
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +4 -4
- data/doc/rdoc/more/classes/SimpleStringIO.html +8 -8
- data/doc/rdoc/more/classes/Snapshot.html +16 -16
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +12 -12
- data/doc/rdoc/more/classes/String/Style.html +113 -113
- data/doc/rdoc/{core → more}/classes/String/Words.html +78 -78
- data/doc/rdoc/more/classes/Struct.html +8 -8
- data/doc/rdoc/more/classes/SyncArray.html +4 -4
- data/doc/rdoc/more/classes/SyncHash.html +4 -4
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +28 -28
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +28 -28
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/TracePoint.html +64 -62
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/UploadUtils.html +49 -49
- data/doc/rdoc/more/classes/VersionNumber.html +53 -53
- data/doc/rdoc/more/classes/Weekdays.html +28 -28
- data/doc/rdoc/more/classes/XOXO.html +9 -9
- data/doc/rdoc/more/classes/ZipUtils.html +58 -58
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +28 -28
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +28 -28
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +28 -28
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +1 -1
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/binding/opvars_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/stringify_keys_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/symbolize_keys_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core/facets/proc → more/files/lib/more/facets}/partial_rb.html +8 -7
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +13 -8
- data/doc/rdoc/more/fr_class_index.html +4 -2
- data/doc/rdoc/more/fr_file_index.html +9 -2
- data/doc/rdoc/more/fr_method_index.html +1013 -1009
- data/doc/ri/CLI/cdesc-CLI.yaml +7 -2
- data/doc/ri/Enumerable/probability-i.yaml +1 -1
- data/doc/ri/Module/append_features-i.yaml +4 -3
- data/doc/ri/Module/cdesc-Module.yaml +4 -3
- data/doc/ri/Module/methodize-i.yaml +14 -0
- data/doc/ri/Module/redefine_method-i.yaml +1 -1
- data/doc/ri/Module/redirect_method-i.yaml +3 -1
- data/doc/ri/Module/rename_method-i.yaml +1 -1
- data/doc/ri/created.rid +1 -1
- data/lib/core/facets/array.rb +3 -0
- data/lib/core/facets/binding.rb +0 -1
- data/lib/core/facets/class.rb +4 -4
- data/lib/core/facets/class/{to_methodname.rb → methodize.rb} +5 -2
- data/lib/core/facets/class/pathize.rb +14 -0
- data/lib/core/facets/enumerable.rb +5 -2
- data/lib/core/facets/enumerable/commonality.rb +33 -0
- data/lib/core/facets/enumerable/entropy.rb +37 -0
- data/lib/core/facets/enumerable/frequency.rb +18 -0
- data/lib/core/facets/enumerable/probability.rb +1 -98
- data/lib/core/facets/file.rb +1 -1
- data/lib/core/facets/hash.rb +6 -0
- data/lib/{more → core}/facets/indexable.rb +0 -0
- data/lib/core/facets/kernel.rb +15 -1
- data/lib/core/facets/kernel/require_all.rb +21 -0
- data/lib/core/facets/kernel/{load.rb → require_local.rb} +6 -23
- data/lib/core/facets/module.rb +7 -3
- data/lib/core/facets/module/integrate.rb +2 -0
- data/lib/core/facets/module/methodize.rb +14 -0
- data/lib/core/facets/module/pathize.rb +10 -7
- data/lib/core/facets/module/redefine_method.rb +35 -0
- data/lib/core/facets/module/redirect_method.rb +45 -0
- data/lib/core/facets/module/rename_method.rb +20 -0
- data/lib/core/facets/module/revise.rb +7 -113
- data/lib/core/facets/module/wrap_method.rb +28 -0
- data/lib/core/facets/numeric.rb +1 -1
- data/lib/core/facets/proc.rb +2 -3
- data/lib/{more → core}/facets/stackable.rb +0 -0
- data/lib/core/facets/string.rb +8 -6
- data/lib/core/facets/string/each_word.rb +13 -0
- data/lib/core/facets/string/methodize.rb +12 -0
- data/lib/core/facets/string/pathize.rb +12 -0
- data/lib/core/facets/string/word_wrap.rb +34 -0
- data/lib/core/facets/string/words.rb +6 -167
- data/lib/core/facets/symbol.rb +1 -0
- data/lib/more/facets/ansicode.rb +4 -4
- data/lib/{core → more}/facets/binding/opvars.rb +0 -0
- data/lib/{core → more}/facets/hash/stringify_keys.rb +0 -0
- data/lib/{core → more}/facets/hash/symbolize_keys.rb +5 -6
- data/lib/{core/facets/proc → more/facets}/partial.rb +0 -0
- data/lib/more/facets/string/words.rb +173 -0
- data/test/core/dir/test_multiglob.rb +1 -0
- data/test/core/dir/test_recurse.rb +1 -0
- data/test/core/enumerable/test_commonality.rb +15 -0
- data/test/core/enumerable/test_entropy.rb +15 -0
- data/test/core/enumerable/test_frequency.rb +11 -0
- data/test/core/enumerable/test_probability.rb +1 -34
- data/test/core/string/test_each_word.rb +14 -0
- data/test/core/string/test_fold.rb +1 -1
- data/test/core/string/test_word_wrap.rb +35 -0
- data/test/core/string/test_words.rb +12 -61
- data/test/more/test_command.rb +7 -9
- data/test/more/test_paramix.rb +4 -1
- data/test/{core/proc → more}/test_partial.rb +1 -1
- metadata +75 -38
- data/doc/rdoc/core/classes/Module/CloneExtensions.html +0 -287
- data/doc/ri/Module/CloneExtensions/cdesc-CloneExtensions.yaml +0 -20
- data/doc/ri/Module/CloneExtensions/clone_removing-i.yaml +0 -14
- data/doc/ri/Module/CloneExtensions/clone_renaming-i.yaml +0 -14
- data/doc/ri/Module/CloneExtensions/clone_using-i.yaml +0 -14
- data/lib/core/facets/class/to_pathname.rb +0 -12
- data/lib/core/facets/module/clone.rb +0 -57
- data/test/core/module/test_clone.rb +0 -45
@@ -86,15 +86,15 @@ execution queue associated with it.
|
|
86
86
|
|
87
87
|
<div class="sectiontitle">Methods</div>
|
88
88
|
<ul>
|
89
|
-
<li><a href="#
|
90
|
-
<li><a href="#
|
91
|
-
<li><a href="#
|
92
|
-
<li><a href="#
|
93
|
-
<li><a href="#
|
94
|
-
<li><a href="#
|
95
|
-
<li><a href="#
|
96
|
-
<li><a href="#
|
97
|
-
<li><a href="#
|
89
|
+
<li><a href="#M000252">down</a></li>
|
90
|
+
<li><a href="#M000256">exclusive</a></li>
|
91
|
+
<li><a href="#M000249">new</a></li>
|
92
|
+
<li><a href="#M000254">p</a></li>
|
93
|
+
<li><a href="#M000251">signal</a></li>
|
94
|
+
<li><a href="#M000257">synchronize</a></li>
|
95
|
+
<li><a href="#M000253">up</a></li>
|
96
|
+
<li><a href="#M000255">v</a></li>
|
97
|
+
<li><a href="#M000250">wait</a></li>
|
98
98
|
</ul>
|
99
99
|
|
100
100
|
|
@@ -105,11 +105,11 @@ execution queue associated with it.
|
|
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="M000249"></a><b>new</b>(initvalue = 0)
|
109
109
|
</div>
|
110
110
|
<div class="sourcecode">
|
111
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
112
|
-
<div id="
|
111
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000249_source')" id="l_M000249_source">show source</a> ]</p>
|
112
|
+
<div id="M000249_source" class="dyn-source">
|
113
113
|
<pre>
|
114
114
|
<span class="ruby-comment cmt"># File lib/more/facets/semaphore.rb, line 31</span>
|
115
115
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">initvalue</span> = <span class="ruby-value">0</span>)
|
@@ -123,25 +123,25 @@ execution queue associated with it.
|
|
123
123
|
<div class="sectiontitle">Public Instance methods</div>
|
124
124
|
<div class="method">
|
125
125
|
<div class="title">
|
126
|
-
<a name="
|
126
|
+
<a name="M000252"></a><b>down</b>()
|
127
127
|
</div>
|
128
128
|
<div class="description">
|
129
129
|
<p>
|
130
|
-
Alias for <a href="Semaphore.html#
|
130
|
+
Alias for <a href="Semaphore.html#M000250">wait</a>
|
131
131
|
</p>
|
132
132
|
</div>
|
133
133
|
</div>
|
134
134
|
<div class="method">
|
135
135
|
<div class="title">
|
136
|
-
<a name="
|
136
|
+
<a name="M000256"></a><b>exclusive</b>() {|| ...}
|
137
137
|
</div>
|
138
138
|
<div class="aka">
|
139
139
|
This method is also aliased as
|
140
|
-
<a href="Semaphore.html#
|
140
|
+
<a href="Semaphore.html#M000257">synchronize</a>
|
141
141
|
</div>
|
142
142
|
<div class="sourcecode">
|
143
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
144
|
-
<div id="
|
143
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000256_source')" id="l_M000256_source">show source</a> ]</p>
|
144
|
+
<div id="M000256_source" class="dyn-source">
|
145
145
|
<pre>
|
146
146
|
<span class="ruby-comment cmt"># File lib/more/facets/semaphore.rb, line 67</span>
|
147
147
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exclusive</span>
|
@@ -156,26 +156,26 @@ Alias for <a href="Semaphore.html#M000249">wait</a>
|
|
156
156
|
</div>
|
157
157
|
<div class="method">
|
158
158
|
<div class="title">
|
159
|
-
<a name="
|
159
|
+
<a name="M000254"></a><b>p</b>()
|
160
160
|
</div>
|
161
161
|
<div class="description">
|
162
162
|
<p>
|
163
|
-
Alias for <a href="Semaphore.html#
|
163
|
+
Alias for <a href="Semaphore.html#M000250">wait</a>
|
164
164
|
</p>
|
165
165
|
</div>
|
166
166
|
</div>
|
167
167
|
<div class="method">
|
168
168
|
<div class="title">
|
169
|
-
<a name="
|
169
|
+
<a name="M000251"></a><b>signal</b>()
|
170
170
|
</div>
|
171
171
|
<div class="aka">
|
172
172
|
This method is also aliased as
|
173
|
-
<a href="Semaphore.html#
|
174
|
-
<a href="Semaphore.html#
|
173
|
+
<a href="Semaphore.html#M000253">up</a>
|
174
|
+
<a href="Semaphore.html#M000255">v</a>
|
175
175
|
</div>
|
176
176
|
<div class="sourcecode">
|
177
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
178
|
-
<div id="
|
177
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000251_source')" id="l_M000251_source">show source</a> ]</p>
|
178
|
+
<div id="M000251_source" class="dyn-source">
|
179
179
|
<pre>
|
180
180
|
<span class="ruby-comment cmt"># File lib/more/facets/semaphore.rb, line 47</span>
|
181
181
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">signal</span>
|
@@ -198,46 +198,46 @@ Alias for <a href="Semaphore.html#M000249">wait</a>
|
|
198
198
|
</div>
|
199
199
|
<div class="method">
|
200
200
|
<div class="title">
|
201
|
-
<a name="
|
201
|
+
<a name="M000257"></a><b>synchronize</b>()
|
202
202
|
</div>
|
203
203
|
<div class="description">
|
204
204
|
<p>
|
205
|
-
Alias for <a href="Semaphore.html#
|
205
|
+
Alias for <a href="Semaphore.html#M000256">exclusive</a>
|
206
206
|
</p>
|
207
207
|
</div>
|
208
208
|
</div>
|
209
209
|
<div class="method">
|
210
210
|
<div class="title">
|
211
|
-
<a name="
|
211
|
+
<a name="M000253"></a><b>up</b>()
|
212
212
|
</div>
|
213
213
|
<div class="description">
|
214
214
|
<p>
|
215
|
-
Alias for <a href="Semaphore.html#
|
215
|
+
Alias for <a href="Semaphore.html#M000251">signal</a>
|
216
216
|
</p>
|
217
217
|
</div>
|
218
218
|
</div>
|
219
219
|
<div class="method">
|
220
220
|
<div class="title">
|
221
|
-
<a name="
|
221
|
+
<a name="M000255"></a><b>v</b>()
|
222
222
|
</div>
|
223
223
|
<div class="description">
|
224
224
|
<p>
|
225
|
-
Alias for <a href="Semaphore.html#
|
225
|
+
Alias for <a href="Semaphore.html#M000251">signal</a>
|
226
226
|
</p>
|
227
227
|
</div>
|
228
228
|
</div>
|
229
229
|
<div class="method">
|
230
230
|
<div class="title">
|
231
|
-
<a name="
|
231
|
+
<a name="M000250"></a><b>wait</b>()
|
232
232
|
</div>
|
233
233
|
<div class="aka">
|
234
234
|
This method is also aliased as
|
235
|
-
<a href="Semaphore.html#
|
236
|
-
<a href="Semaphore.html#
|
235
|
+
<a href="Semaphore.html#M000252">down</a>
|
236
|
+
<a href="Semaphore.html#M000254">p</a>
|
237
237
|
</div>
|
238
238
|
<div class="sourcecode">
|
239
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
240
|
-
<div id="
|
239
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000250_source')" id="l_M000250_source">show source</a> ]</p>
|
240
|
+
<div id="M000250_source" class="dyn-source">
|
241
241
|
<pre>
|
242
242
|
<span class="ruby-comment cmt"># File lib/more/facets/semaphore.rb, line 36</span>
|
243
243
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">wait</span>
|
@@ -93,12 +93,12 @@ defined.
|
|
93
93
|
|
94
94
|
<div class="sectiontitle">Methods</div>
|
95
95
|
<ul>
|
96
|
-
<li><a href="#
|
97
|
-
<li><a href="#
|
98
|
-
<li><a href="#
|
99
|
-
<li><a href="#
|
100
|
-
<li><a href="#
|
101
|
-
<li><a href="#
|
96
|
+
<li><a href="#M000263">add_setting</a></li>
|
97
|
+
<li><a href="#M000262">load</a></li>
|
98
|
+
<li><a href="#M000265">method_missing</a></li>
|
99
|
+
<li><a href="#M000261">parse</a></li>
|
100
|
+
<li><a href="#M000264">settings</a></li>
|
101
|
+
<li><a href="#M000260">setup</a></li>
|
102
102
|
</ul>
|
103
103
|
|
104
104
|
|
@@ -113,7 +113,7 @@ Class <a href="Settings/SettingCollection.html" class="link">Settings::SettingCo
|
|
113
113
|
<div class="sectiontitle">Public Class methods</div>
|
114
114
|
<div class="method">
|
115
115
|
<div class="title">
|
116
|
-
<a name="
|
116
|
+
<a name="M000263"></a><b>add_setting</b>(owner, name, options)
|
117
117
|
</div>
|
118
118
|
<div class="description">
|
119
119
|
<p>
|
@@ -123,15 +123,15 @@ already defined it updates it.
|
|
123
123
|
</p>
|
124
124
|
<h3>Examples</h3>
|
125
125
|
<p>
|
126
|
-
<a href="Settings.html#
|
126
|
+
<a href="Settings.html#M000263">Settings.add_setting</a> Compiler,
|
127
127
|
:verification, :value => 12, :doc => ’…’
|
128
128
|
Settings.setting :IdPart, :verify_registration_email, :value => false s
|
129
129
|
= Settings.Compiler.verification.value
|
130
130
|
</p>
|
131
131
|
</div>
|
132
132
|
<div class="sourcecode">
|
133
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
134
|
-
<div id="
|
133
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000263_source')" id="l_M000263_source">show source</a> ]</p>
|
134
|
+
<div id="M000263_source" class="dyn-source">
|
135
135
|
<pre>
|
136
136
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 175</span>
|
137
137
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_setting</span>(<span class="ruby-identifier">owner</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span>)
|
@@ -151,17 +151,17 @@ Settings.setting :IdPart, :verify_registration_email, :value => false s
|
|
151
151
|
</div>
|
152
152
|
<div class="method">
|
153
153
|
<div class="title">
|
154
|
-
<a name="
|
154
|
+
<a name="M000262"></a><b>load</b>(filename)
|
155
155
|
</div>
|
156
156
|
<div class="description">
|
157
157
|
<p>
|
158
|
-
Load and <a href="Settings.html#
|
158
|
+
Load and <a href="Settings.html#M000261">parse</a> an external yaml <a
|
159
159
|
href="Settings.html">Settings</a> file.
|
160
160
|
</p>
|
161
161
|
</div>
|
162
162
|
<div class="sourcecode">
|
163
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
164
|
-
<div id="
|
163
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000262_source')" id="l_M000262_source">show source</a> ]</p>
|
164
|
+
<div id="M000262_source" class="dyn-source">
|
165
165
|
<pre>
|
166
166
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 161</span>
|
167
167
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load</span>(<span class="ruby-identifier">filename</span>)
|
@@ -173,11 +173,11 @@ href="Settings.html">Settings</a> file.
|
|
173
173
|
</div>
|
174
174
|
<div class="method">
|
175
175
|
<div class="title">
|
176
|
-
<a name="
|
176
|
+
<a name="M000265"></a><b>method_missing</b>(sym)
|
177
177
|
</div>
|
178
178
|
<div class="sourcecode">
|
179
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
180
|
-
<div id="
|
179
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000265_source')" id="l_M000265_source">show source</a> ]</p>
|
180
|
+
<div id="M000265_source" class="dyn-source">
|
181
181
|
<pre>
|
182
182
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 208</span>
|
183
183
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">sym</span>)
|
@@ -196,7 +196,7 @@ href="Settings.html">Settings</a> file.
|
|
196
196
|
</div>
|
197
197
|
<div class="method">
|
198
198
|
<div class="title">
|
199
|
-
<a name="
|
199
|
+
<a name="M000261"></a><b>parse</b>(options)
|
200
200
|
</div>
|
201
201
|
<div class="description">
|
202
202
|
<p>
|
@@ -204,8 +204,8 @@ Parse <a href="Settings.html">Settings</a> parameters in yaml format.
|
|
204
204
|
</p>
|
205
205
|
</div>
|
206
206
|
<div class="sourcecode">
|
207
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
208
|
-
<div id="
|
207
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000261_source')" id="l_M000261_source">show source</a> ]</p>
|
208
|
+
<div id="M000261_source" class="dyn-source">
|
209
209
|
<pre>
|
210
210
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 145</span>
|
211
211
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">options</span>)
|
@@ -227,19 +227,19 @@ Parse <a href="Settings.html">Settings</a> parameters in yaml format.
|
|
227
227
|
</div>
|
228
228
|
<div class="method">
|
229
229
|
<div class="title">
|
230
|
-
<a name="
|
230
|
+
<a name="M000264"></a><b>settings</b>(owner = nil)
|
231
231
|
</div>
|
232
232
|
<div class="description">
|
233
233
|
<p>
|
234
|
-
Return the <a href="Settings.html#
|
234
|
+
Return the <a href="Settings.html#M000264">settings</a> for the given
|
235
235
|
owner. The owner is typically the Class that represents the system to be
|
236
236
|
configured. If no class is provided, it returns all the registered <a
|
237
|
-
href="Settings.html#
|
237
|
+
href="Settings.html#M000264">settings</a>.
|
238
238
|
</p>
|
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('M000264_source')" id="l_M000264_source">show source</a> ]</p>
|
242
|
+
<div id="M000264_source" class="dyn-source">
|
243
243
|
<pre>
|
244
244
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 193</span>
|
245
245
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">settings</span>(<span class="ruby-identifier">owner</span> = <span class="ruby-keyword kw">nil</span>)
|
@@ -256,7 +256,7 @@ href="Settings.html#M000263">settings</a>.
|
|
256
256
|
</div>
|
257
257
|
<div class="method">
|
258
258
|
<div class="title">
|
259
|
-
<a name="
|
259
|
+
<a name="M000260"></a><b>setup</b>(options)
|
260
260
|
</div>
|
261
261
|
<div class="description">
|
262
262
|
<p>
|
@@ -266,8 +266,8 @@ hash (dictionary, ordered) to classes to be configured.
|
|
266
266
|
<h3>Warning: Pass an ordered hash (dictionary)</h3>
|
267
267
|
</div>
|
268
268
|
<div class="sourcecode">
|
269
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
270
|
-
<div id="
|
269
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000260_source')" id="l_M000260_source">show source</a> ]</p>
|
270
|
+
<div id="M000260_source" class="dyn-source">
|
271
271
|
<pre>
|
272
272
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 134</span>
|
273
273
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>(<span class="ruby-identifier">options</span>)
|
@@ -88,9 +88,9 @@ override :value.
|
|
88
88
|
|
89
89
|
<div class="sectiontitle">Methods</div>
|
90
90
|
<ul>
|
91
|
-
<li><a href="#
|
92
|
-
<li><a href="#
|
93
|
-
<li><a href="#
|
91
|
+
<li><a href="#M000267">new</a></li>
|
92
|
+
<li><a href="#M000269">to_s</a></li>
|
93
|
+
<li><a href="#M000268">update</a></li>
|
94
94
|
</ul>
|
95
95
|
|
96
96
|
|
@@ -139,11 +139,11 @@ override :value.
|
|
139
139
|
<div class="sectiontitle">Public Class methods</div>
|
140
140
|
<div class="method">
|
141
141
|
<div class="title">
|
142
|
-
<a name="
|
142
|
+
<a name="M000267"></a><b>new</b>(owner, name, options)
|
143
143
|
</div>
|
144
144
|
<div class="sourcecode">
|
145
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
146
|
-
<div id="
|
145
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000267_source')" id="l_M000267_source">show source</a> ]</p>
|
146
|
+
<div id="M000267_source" class="dyn-source">
|
147
147
|
<pre>
|
148
148
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 66</span>
|
149
149
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">owner</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span>)
|
@@ -166,7 +166,7 @@ override :value.
|
|
166
166
|
<div class="sectiontitle">Public Instance methods</div>
|
167
167
|
<div class="method">
|
168
168
|
<div class="title">
|
169
|
-
<a name="
|
169
|
+
<a name="M000269"></a><b>to_s</b>()
|
170
170
|
</div>
|
171
171
|
<div class="description">
|
172
172
|
<p>
|
@@ -174,8 +174,8 @@ Text representation of this setting.
|
|
174
174
|
</p>
|
175
175
|
</div>
|
176
176
|
<div class="sourcecode">
|
177
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
178
|
-
<div id="
|
177
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000269_source')" id="l_M000269_source">show source</a> ]</p>
|
178
|
+
<div id="M000269_source" class="dyn-source">
|
179
179
|
<pre>
|
180
180
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 98</span>
|
181
181
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
@@ -187,18 +187,18 @@ Text representation of this setting.
|
|
187
187
|
</div>
|
188
188
|
<div class="method">
|
189
189
|
<div class="title">
|
190
|
-
<a name="
|
190
|
+
<a name="M000268"></a><b>update</b>(hash)
|
191
191
|
</div>
|
192
192
|
<div class="description">
|
193
193
|
<p>
|
194
194
|
Update the setting from an options hash. The <a
|
195
|
-
href="Setting.html#
|
195
|
+
href="Setting.html#M000268">update</a> does NOT take default values into
|
196
196
|
account!
|
197
197
|
</p>
|
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('M000268_source')" id="l_M000268_source">show source</a> ]</p>
|
201
|
+
<div id="M000268_source" class="dyn-source">
|
202
202
|
<pre>
|
203
203
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 83</span>
|
204
204
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>(<span class="ruby-identifier">hash</span>)
|
@@ -92,7 +92,7 @@ Settings.setting :compiler, :template_root, :value =>
|
|
92
92
|
|
93
93
|
<div class="sectiontitle">Methods</div>
|
94
94
|
<ul>
|
95
|
-
<li><a href="#
|
95
|
+
<li><a href="#M000266">method_missing</a></li>
|
96
96
|
</ul>
|
97
97
|
|
98
98
|
|
@@ -113,7 +113,7 @@ Settings.setting :compiler, :template_root, :value =>
|
|
113
113
|
<div class="sectiontitle">Public Instance methods</div>
|
114
114
|
<div class="method">
|
115
115
|
<div class="title">
|
116
|
-
<a name="
|
116
|
+
<a name="M000266"></a><b>method_missing</b>(sym, *args)
|
117
117
|
</div>
|
118
118
|
<div class="description">
|
119
119
|
<p>
|
@@ -121,8 +121,8 @@ Handles setting readers and writers.
|
|
121
121
|
</p>
|
122
122
|
</div>
|
123
123
|
<div class="sourcecode">
|
124
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
125
|
-
<div id="
|
124
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000266_source')" id="l_M000266_source">show source</a> ]</p>
|
125
|
+
<div id="M000266_source" class="dyn-source">
|
126
126
|
<pre>
|
127
127
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 116</span>
|
128
128
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">sym</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -80,8 +80,8 @@ Object
|
|
80
80
|
|
81
81
|
<div class="sectiontitle">Methods</div>
|
82
82
|
<ul>
|
83
|
-
<li><a href="#
|
84
|
-
<li><a href="#
|
83
|
+
<li><a href="#M000207">new</a></li>
|
84
|
+
<li><a href="#M000208">write</a></li>
|
85
85
|
</ul>
|
86
86
|
|
87
87
|
|
@@ -102,11 +102,11 @@ Object
|
|
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="M000207"></a><b>new</b>()
|
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('M000207_source')" id="l_M000207_source">show source</a> ]</p>
|
109
|
+
<div id="M000207_source" class="dyn-source">
|
110
110
|
<pre>
|
111
111
|
<span class="ruby-comment cmt"># File lib/more/facets/ioredirect.rb, line 97</span>
|
112
112
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>; <span class="ruby-ivar">@str</span> = <span class="ruby-value str">''</span>; <span class="ruby-keyword kw">end</span>
|
@@ -117,11 +117,11 @@ Object
|
|
117
117
|
<div class="sectiontitle">Public Instance methods</div>
|
118
118
|
<div class="method">
|
119
119
|
<div class="title">
|
120
|
-
<a name="
|
120
|
+
<a name="M000208"></a><b>write</b>(str)
|
121
121
|
</div>
|
122
122
|
<div class="sourcecode">
|
123
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
124
|
-
<div id="
|
123
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000208_source')" id="l_M000208_source">show source</a> ]</p>
|
124
|
+
<div id="M000208_source" class="dyn-source">
|
125
125
|
<pre>
|
126
126
|
<span class="ruby-comment cmt"># File lib/more/facets/ioredirect.rb, line 98</span>
|
127
127
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write</span>(<span class="ruby-identifier">str</span>); <span class="ruby-ivar">@str</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">str</span>; <span class="ruby-keyword kw">end</span>
|
@@ -104,11 +104,11 @@ with apply_snapshot.
|
|
104
104
|
Class <a href="Snapshot.html">Snapshot</a> simply represents a collection
|
105
105
|
of objects from which snapshots were taken via their methods take_snapshot.
|
106
106
|
<a href="It.html">It</a> provides methods to <a
|
107
|
-
href="Snapshot.html#
|
108
|
-
href="Snapshot.html#
|
109
|
-
href="Snapshot.html#
|
107
|
+
href="Snapshot.html#M000058">add</a> an object to a snapshot (<a
|
108
|
+
href="Snapshot.html#M000058">Snapshot#add</a>) as well as to <a
|
109
|
+
href="Snapshot.html#M000059">restore</a> all objects of the snapshot to
|
110
110
|
their state stored in the snapshot (method <a
|
111
|
-
href="Snapshot.html#
|
111
|
+
href="Snapshot.html#M000059">Snapshot#restore</a>).
|
112
112
|
</p>
|
113
113
|
<p>
|
114
114
|
In Wee, this class is used to backtracking the state of components (or
|
@@ -122,9 +122,9 @@ overwrite the Wee::Component#backtrack_state method.
|
|
122
122
|
|
123
123
|
<div class="sectiontitle">Methods</div>
|
124
124
|
<ul>
|
125
|
-
<li><a href="#
|
126
|
-
<li><a href="#
|
127
|
-
<li><a href="#
|
125
|
+
<li><a href="#M000058">add</a></li>
|
126
|
+
<li><a href="#M000057">new</a></li>
|
127
|
+
<li><a href="#M000059">restore</a></li>
|
128
128
|
</ul>
|
129
129
|
|
130
130
|
|
@@ -138,11 +138,11 @@ overwrite the Wee::Component#backtrack_state method.
|
|
138
138
|
<div class="sectiontitle">Public Class methods</div>
|
139
139
|
<div class="method">
|
140
140
|
<div class="title">
|
141
|
-
<a name="
|
141
|
+
<a name="M000057"></a><b>new</b>()
|
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('M000057_source')" id="l_M000057_source">show source</a> ]</p>
|
145
|
+
<div id="M000057_source" class="dyn-source">
|
146
146
|
<pre>
|
147
147
|
<span class="ruby-comment cmt"># File lib/more/facets/snapshot.rb, line 109</span>
|
148
148
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
@@ -155,11 +155,11 @@ overwrite the Wee::Component#backtrack_state method.
|
|
155
155
|
<div class="sectiontitle">Public Instance methods</div>
|
156
156
|
<div class="method">
|
157
157
|
<div class="title">
|
158
|
-
<a name="
|
158
|
+
<a name="M000058"></a><b>add</b>(object)
|
159
159
|
</div>
|
160
160
|
<div class="sourcecode">
|
161
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
162
|
-
<div id="
|
161
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p>
|
162
|
+
<div id="M000058_source" class="dyn-source">
|
163
163
|
<pre>
|
164
164
|
<span class="ruby-comment cmt"># File lib/more/facets/snapshot.rb, line 113</span>
|
165
165
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">object</span>)
|
@@ -172,11 +172,11 @@ overwrite the Wee::Component#backtrack_state method.
|
|
172
172
|
</div>
|
173
173
|
<div class="method">
|
174
174
|
<div class="title">
|
175
|
-
<a name="
|
175
|
+
<a name="M000059"></a><b>restore</b>()
|
176
176
|
</div>
|
177
177
|
<div class="sourcecode">
|
178
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
179
|
-
<div id="
|
178
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show source</a> ]</p>
|
179
|
+
<div id="M000059_source" class="dyn-source">
|
180
180
|
<pre>
|
181
181
|
<span class="ruby-comment cmt"># File lib/more/facets/snapshot.rb, line 118</span>
|
182
182
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore</span>
|