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,14 +86,14 @@ data elements. <a href="It.html">It</a> was inspired by George
|
|
86
86
|
Moscovitis’ <a href="LRUCache.html">LRUCache</a> implementation found
|
87
87
|
in Facets 1.7.30, but unlike the linked list in that cache, this one does
|
88
88
|
not require the use of a mixin on any class to be stored. The linked list
|
89
|
-
provides the <a href="LinkedList.html#
|
90
|
-
href="LinkedList.html#
|
91
|
-
href="LinkedList.html#
|
92
|
-
href="LinkedList.html#
|
93
|
-
href="LinkedList.html#
|
94
|
-
href="LinkedList.html#
|
95
|
-
href="LinkedList.html#
|
96
|
-
href="LinkedList.html#
|
89
|
+
provides the <a href="LinkedList.html#M000307">push</a>, <a
|
90
|
+
href="LinkedList.html#M000306">pop</a>, <a
|
91
|
+
href="LinkedList.html#M000304">shift</a>, <a
|
92
|
+
href="LinkedList.html#M000305">unshift</a>, <a
|
93
|
+
href="LinkedList.html#M000302">first</a>, <a
|
94
|
+
href="LinkedList.html#M000303">last</a>, <a
|
95
|
+
href="LinkedList.html#M000301">delete</a> and <a
|
96
|
+
href="LinkedList.html#M000310">length</a> methods which work just like
|
97
97
|
their namesakes in the Array class, but it also supports setting and
|
98
98
|
retrieving values by key, just like a hash.
|
99
99
|
</p>
|
@@ -103,21 +103,21 @@ retrieving values by key, just like a hash.
|
|
103
103
|
|
104
104
|
<div class="sectiontitle">Methods</div>
|
105
105
|
<ul>
|
106
|
-
<li><a href="#
|
107
|
-
<li><a href="#
|
108
|
-
<li><a href="#
|
109
|
-
<li><a href="#
|
110
|
-
<li><a href="#
|
111
|
-
<li><a href="#
|
112
|
-
<li><a href="#
|
113
|
-
<li><a href="#
|
114
|
-
<li><a href="#
|
115
|
-
<li><a href="#
|
116
|
-
<li><a href="#
|
117
|
-
<li><a href="#
|
118
|
-
<li><a href="#
|
119
|
-
<li><a href="#
|
120
|
-
<li><a href="#
|
106
|
+
<li><a href="#M000298">[]</a></li>
|
107
|
+
<li><a href="#M000299">[]=</a></li>
|
108
|
+
<li><a href="#M000301">delete</a></li>
|
109
|
+
<li><a href="#M000311">each</a></li>
|
110
|
+
<li><a href="#M000300">empty?</a></li>
|
111
|
+
<li><a href="#M000302">first</a></li>
|
112
|
+
<li><a href="#M000303">last</a></li>
|
113
|
+
<li><a href="#M000310">length</a></li>
|
114
|
+
<li><a href="#M000297">new</a></li>
|
115
|
+
<li><a href="#M000306">pop</a></li>
|
116
|
+
<li><a href="#M000307">push</a></li>
|
117
|
+
<li><a href="#M000308">queue</a></li>
|
118
|
+
<li><a href="#M000304">shift</a></li>
|
119
|
+
<li><a href="#M000309">to_a</a></li>
|
120
|
+
<li><a href="#M000305">unshift</a></li>
|
121
121
|
</ul>
|
122
122
|
|
123
123
|
<div class="sectiontitle">Included Modules</div>
|
@@ -135,11 +135,11 @@ retrieving values by key, just like a hash.
|
|
135
135
|
<div class="sectiontitle">Public Class methods</div>
|
136
136
|
<div class="method">
|
137
137
|
<div class="title">
|
138
|
-
<a name="
|
138
|
+
<a name="M000297"></a><b>new</b>()
|
139
139
|
</div>
|
140
140
|
<div class="sourcecode">
|
141
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
142
|
-
<div id="
|
141
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000297_source')" id="l_M000297_source">show source</a> ]</p>
|
142
|
+
<div id="M000297_source" class="dyn-source">
|
143
143
|
<pre>
|
144
144
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 87</span>
|
145
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
@@ -155,11 +155,11 @@ retrieving values by key, just like a hash.
|
|
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="M000298"></a><b>[]</b>(v)
|
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('M000298_source')" id="l_M000298_source">show source</a> ]</p>
|
162
|
+
<div id="M000298_source" class="dyn-source">
|
163
163
|
<pre>
|
164
164
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 94</span>
|
165
165
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">v</span>)
|
@@ -171,11 +171,11 @@ retrieving values by key, just like a hash.
|
|
171
171
|
</div>
|
172
172
|
<div class="method">
|
173
173
|
<div class="title">
|
174
|
-
<a name="
|
174
|
+
<a name="M000299"></a><b>[]=</b>(k,v)
|
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('M000299_source')" id="l_M000299_source">show source</a> ]</p>
|
178
|
+
<div id="M000299_source" class="dyn-source">
|
179
179
|
<pre>
|
180
180
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 98</span>
|
181
181
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)
|
@@ -195,11 +195,11 @@ retrieving values by key, just like a hash.
|
|
195
195
|
</div>
|
196
196
|
<div class="method">
|
197
197
|
<div class="title">
|
198
|
-
<a name="
|
198
|
+
<a name="M000301"></a><b>delete</b>(k)
|
199
199
|
</div>
|
200
200
|
<div class="sourcecode">
|
201
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
202
|
-
<div id="
|
201
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000301_source')" id="l_M000301_source">show source</a> ]</p>
|
202
|
+
<div id="M000301_source" class="dyn-source">
|
203
203
|
<pre>
|
204
204
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 114</span>
|
205
205
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">k</span>)
|
@@ -213,11 +213,11 @@ retrieving values by key, just like a hash.
|
|
213
213
|
</div>
|
214
214
|
<div class="method">
|
215
215
|
<div class="title">
|
216
|
-
<a name="
|
216
|
+
<a name="M000311"></a><b>each</b>() {|n.key,n.value| ...}
|
217
217
|
</div>
|
218
218
|
<div class="sourcecode">
|
219
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
220
|
-
<div id="
|
219
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000311_source')" id="l_M000311_source">show source</a> ]</p>
|
220
|
+
<div id="M000311_source" class="dyn-source">
|
221
221
|
<pre>
|
222
222
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 192</span>
|
223
223
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
|
@@ -232,11 +232,11 @@ retrieving values by key, just like a hash.
|
|
232
232
|
</div>
|
233
233
|
<div class="method">
|
234
234
|
<div class="title">
|
235
|
-
<a name="
|
235
|
+
<a name="M000300"></a><b>empty?</b>()
|
236
236
|
</div>
|
237
237
|
<div class="sourcecode">
|
238
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
239
|
-
<div id="
|
238
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000300_source')" id="l_M000300_source">show source</a> ]</p>
|
239
|
+
<div id="M000300_source" class="dyn-source">
|
240
240
|
<pre>
|
241
241
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 110</span>
|
242
242
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">empty?</span>
|
@@ -248,11 +248,11 @@ retrieving values by key, just like a hash.
|
|
248
248
|
</div>
|
249
249
|
<div class="method">
|
250
250
|
<div class="title">
|
251
|
-
<a name="
|
251
|
+
<a name="M000302"></a><b>first</b>()
|
252
252
|
</div>
|
253
253
|
<div class="sourcecode">
|
254
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
255
|
-
<div id="
|
254
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000302_source')" id="l_M000302_source">show source</a> ]</p>
|
255
|
+
<div id="M000302_source" class="dyn-source">
|
256
256
|
<pre>
|
257
257
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 120</span>
|
258
258
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first</span>
|
@@ -264,11 +264,11 @@ retrieving values by key, just like a hash.
|
|
264
264
|
</div>
|
265
265
|
<div class="method">
|
266
266
|
<div class="title">
|
267
|
-
<a name="
|
267
|
+
<a name="M000303"></a><b>last</b>()
|
268
268
|
</div>
|
269
269
|
<div class="sourcecode">
|
270
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
271
|
-
<div id="
|
270
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000303_source')" id="l_M000303_source">show source</a> ]</p>
|
271
|
+
<div id="M000303_source" class="dyn-source">
|
272
272
|
<pre>
|
273
273
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 124</span>
|
274
274
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span>
|
@@ -280,11 +280,11 @@ retrieving values by key, just like a hash.
|
|
280
280
|
</div>
|
281
281
|
<div class="method">
|
282
282
|
<div class="title">
|
283
|
-
<a name="
|
283
|
+
<a name="M000310"></a><b>length</b>()
|
284
284
|
</div>
|
285
285
|
<div class="sourcecode">
|
286
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
287
|
-
<div id="
|
286
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000310_source')" id="l_M000310_source">show source</a> ]</p>
|
287
|
+
<div id="M000310_source" class="dyn-source">
|
288
288
|
<pre>
|
289
289
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 188</span>
|
290
290
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
|
@@ -296,11 +296,11 @@ retrieving values by key, just like a hash.
|
|
296
296
|
</div>
|
297
297
|
<div class="method">
|
298
298
|
<div class="title">
|
299
|
-
<a name="
|
299
|
+
<a name="M000306"></a><b>pop</b>()
|
300
300
|
</div>
|
301
301
|
<div class="sourcecode">
|
302
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
303
|
-
<div id="
|
302
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000306_source')" id="l_M000306_source">show source</a> ]</p>
|
303
|
+
<div id="M000306_source" class="dyn-source">
|
304
304
|
<pre>
|
305
305
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 149</span>
|
306
306
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>
|
@@ -314,11 +314,11 @@ retrieving values by key, just like a hash.
|
|
314
314
|
</div>
|
315
315
|
<div class="method">
|
316
316
|
<div class="title">
|
317
|
-
<a name="
|
317
|
+
<a name="M000307"></a><b>push</b>(v)
|
318
318
|
</div>
|
319
319
|
<div class="sourcecode">
|
320
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
321
|
-
<div id="
|
320
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000307_source')" id="l_M000307_source">show source</a> ]</p>
|
321
|
+
<div id="M000307_source" class="dyn-source">
|
322
322
|
<pre>
|
323
323
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 155</span>
|
324
324
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">v</span>)
|
@@ -341,11 +341,11 @@ retrieving values by key, just like a hash.
|
|
341
341
|
</div>
|
342
342
|
<div class="method">
|
343
343
|
<div class="title">
|
344
|
-
<a name="
|
344
|
+
<a name="M000308"></a><b>queue</b>()
|
345
345
|
</div>
|
346
346
|
<div class="sourcecode">
|
347
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
348
|
-
<div id="
|
347
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000308_source')" id="l_M000308_source">show source</a> ]</p>
|
348
|
+
<div id="M000308_source" class="dyn-source">
|
349
349
|
<pre>
|
350
350
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 170</span>
|
351
351
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">queue</span>
|
@@ -362,11 +362,11 @@ retrieving values by key, just like a hash.
|
|
362
362
|
</div>
|
363
363
|
<div class="method">
|
364
364
|
<div class="title">
|
365
|
-
<a name="
|
365
|
+
<a name="M000304"></a><b>shift</b>()
|
366
366
|
</div>
|
367
367
|
<div class="sourcecode">
|
368
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
369
|
-
<div id="
|
368
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000304_source')" id="l_M000304_source">show source</a> ]</p>
|
369
|
+
<div id="M000304_source" class="dyn-source">
|
370
370
|
<pre>
|
371
371
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 128</span>
|
372
372
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shift</span>
|
@@ -380,11 +380,11 @@ retrieving values by key, just like a hash.
|
|
380
380
|
</div>
|
381
381
|
<div class="method">
|
382
382
|
<div class="title">
|
383
|
-
<a name="
|
383
|
+
<a name="M000309"></a><b>to_a</b>()
|
384
384
|
</div>
|
385
385
|
<div class="sourcecode">
|
386
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
387
|
-
<div id="
|
386
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000309_source')" id="l_M000309_source">show source</a> ]</p>
|
387
|
+
<div id="M000309_source" class="dyn-source">
|
388
388
|
<pre>
|
389
389
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 179</span>
|
390
390
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
|
@@ -401,11 +401,11 @@ retrieving values by key, just like a hash.
|
|
401
401
|
</div>
|
402
402
|
<div class="method">
|
403
403
|
<div class="title">
|
404
|
-
<a name="
|
404
|
+
<a name="M000305"></a><b>unshift</b>(v)
|
405
405
|
</div>
|
406
406
|
<div class="sourcecode">
|
407
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
408
|
-
<div id="
|
407
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000305_source')" id="l_M000305_source">show source</a> ]</p>
|
408
|
+
<div id="M000305_source" class="dyn-source">
|
409
409
|
<pre>
|
410
410
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 134</span>
|
411
411
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unshift</span>(<span class="ruby-identifier">v</span>)
|
@@ -84,7 +84,7 @@ Represents a single node of the linked list.
|
|
84
84
|
|
85
85
|
<div class="sectiontitle">Methods</div>
|
86
86
|
<ul>
|
87
|
-
<li><a href="#
|
87
|
+
<li><a href="#M000312">new</a></li>
|
88
88
|
</ul>
|
89
89
|
|
90
90
|
|
@@ -126,11 +126,11 @@ Represents a single node of the linked list.
|
|
126
126
|
<div class="sectiontitle">Public Class methods</div>
|
127
127
|
<div class="method">
|
128
128
|
<div class="title">
|
129
|
-
<a name="
|
129
|
+
<a name="M000312"></a><b>new</b>(key=nil,value=nil,prev_node=nil,next_node=nil)
|
130
130
|
</div>
|
131
131
|
<div class="sourcecode">
|
132
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
133
|
-
<div id="
|
132
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000312_source')" id="l_M000312_source">show source</a> ]</p>
|
133
|
+
<div id="M000312_source" class="dyn-source">
|
134
134
|
<pre>
|
135
135
|
<span class="ruby-comment cmt"># File lib/more/facets/linkedlist.rb, line 79</span>
|
136
136
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">key</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">value</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">prev_node</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">next_node</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -57,8 +57,7 @@
|
|
57
57
|
<tr valign="top">
|
58
58
|
<td>In:</td>
|
59
59
|
<td>
|
60
|
-
<a href="../files/lib/
|
61
|
-
<a href="../files/lib/core/facets/proc/partial_rb.html">lib/core/facets/proc/partial.rb</a>
|
60
|
+
<a href="../files/lib/more/facets/partial_rb.html">lib/more/facets/partial.rb</a>
|
62
61
|
</td>
|
63
62
|
</tr>
|
64
63
|
<tr>
|
@@ -92,49 +92,49 @@ Object
|
|
92
92
|
|
93
93
|
<div class="sectiontitle">Methods</div>
|
94
94
|
<ul>
|
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="#
|
107
|
-
<li><a href="#
|
108
|
-
<li><a href="#
|
109
|
-
<li><a href="#
|
110
|
-
<li><a href="#
|
111
|
-
<li><a href="#
|
112
|
-
<li><a href="#
|
113
|
-
<li><a href="#
|
114
|
-
<li><a href="#
|
115
|
-
<li><a href="#
|
116
|
-
<li><a href="#
|
117
|
-
<li><a href="#
|
118
|
-
<li><a href="#
|
119
|
-
<li><a href="#
|
120
|
-
<li><a href="#
|
121
|
-
<li><a href="#
|
122
|
-
<li><a href="#
|
123
|
-
<li><a href="#
|
124
|
-
<li><a href="#
|
125
|
-
<li><a href="#
|
126
|
-
<li><a href="#
|
127
|
-
<li><a href="#
|
128
|
-
<li><a href="#
|
129
|
-
<li><a href="#
|
130
|
-
<li><a href="#
|
131
|
-
<li><a href="#
|
132
|
-
<li><a href="#
|
133
|
-
<li><a href="#
|
134
|
-
<li><a href="#
|
135
|
-
<li><a href="#
|
136
|
-
<li><a href="#
|
137
|
-
<li><a href="#
|
95
|
+
<li><a href="#M000373">Equatable</a></li>
|
96
|
+
<li><a href="#M000356">alias_accessor!</a></li>
|
97
|
+
<li><a href="#M000362">alias_reader!</a></li>
|
98
|
+
<li><a href="#M000363">alias_reader?</a></li>
|
99
|
+
<li><a href="#M000352">alias_setter</a></li>
|
100
|
+
<li><a href="#M000357">alias_switcher</a></li>
|
101
|
+
<li><a href="#M000364">alias_tester</a></li>
|
102
|
+
<li><a href="#M000358">alias_toggler</a></li>
|
103
|
+
<li><a href="#M000350">alias_validator</a></li>
|
104
|
+
<li><a href="#M000366">alias_writer!</a></li>
|
105
|
+
<li><a href="#M000338">ann</a></li>
|
106
|
+
<li><a href="#M000339">ann!</a></li>
|
107
|
+
<li><a href="#M000336">annotations</a></li>
|
108
|
+
<li><a href="#M000378">append_features</a></li>
|
109
|
+
<li><a href="#M000377">append_features</a></li>
|
110
|
+
<li><a href="#M000342">append_features</a></li>
|
111
|
+
<li><a href="#M000376">append_features_without_class_extension</a></li>
|
112
|
+
<li><a href="#M000340">attr</a></li>
|
113
|
+
<li><a href="#M000353">attr_accessor!</a></li>
|
114
|
+
<li><a href="#M000359">attr_reader!</a></li>
|
115
|
+
<li><a href="#M000360">attr_reader?</a></li>
|
116
|
+
<li><a href="#M000351">attr_setter</a></li>
|
117
|
+
<li><a href="#M000354">attr_switcher</a></li>
|
118
|
+
<li><a href="#M000361">attr_tester</a></li>
|
119
|
+
<li><a href="#M000355">attr_toggler</a></li>
|
120
|
+
<li><a href="#M000349">attr_validator</a></li>
|
121
|
+
<li><a href="#M000365">attr_writer!</a></li>
|
122
|
+
<li><a href="#M000344">class_inherit</a></li>
|
123
|
+
<li><a href="#M000343">class_methods</a></li>
|
124
|
+
<li><a href="#M000341">classified_attributes</a></li>
|
125
|
+
<li><a href="#M000347">define_dependency</a></li>
|
126
|
+
<li><a href="#M000345">depend</a></li>
|
127
|
+
<li><a href="#M000346">dependencies</a></li>
|
128
|
+
<li><a href="#M000337">heritage</a></li>
|
129
|
+
<li><a href="#M000372">include_as</a></li>
|
130
|
+
<li><a href="#M000368">instance_method!</a></li>
|
131
|
+
<li><a href="#M000348">memoize</a></li>
|
132
|
+
<li><a href="#M000369">method_overloads</a></li>
|
133
|
+
<li><a href="#M000371">method_space</a></li>
|
134
|
+
<li><a href="#M000374">mixin_parameters</a></li>
|
135
|
+
<li><a href="#M000375">mixin_params</a></li>
|
136
|
+
<li><a href="#M000370">overload</a></li>
|
137
|
+
<li><a href="#M000367">setting</a></li>
|
138
138
|
</ul>
|
139
139
|
|
140
140
|
|
@@ -145,11 +145,11 @@ Object
|
|
145
145
|
<div class="sectiontitle">Public Class methods</div>
|
146
146
|
<div class="method">
|
147
147
|
<div class="title">
|
148
|
-
<a name="
|
148
|
+
<a name="M000377"></a><b>append_features</b>(mod)
|
149
149
|
</div>
|
150
150
|
<div class="sourcecode">
|
151
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
152
|
-
<div id="
|
151
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000377_source')" id="l_M000377_source">show source</a> ]</p>
|
152
|
+
<div id="M000377_source" class="dyn-source">
|
153
153
|
<pre>
|
154
154
|
<span class="ruby-comment cmt"># File lib/more/facets/class_extension.rb, line 85</span>
|
155
155
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
|
@@ -162,13 +162,13 @@ Object
|
|
162
162
|
<div class="sectiontitle">Public Instance methods</div>
|
163
163
|
<div class="method">
|
164
164
|
<div class="title">
|
165
|
-
<a name="
|
165
|
+
<a name="M000373"></a><b>Equatable</b>(*accessors)
|
166
166
|
</div>
|
167
167
|
<div class="description">
|
168
168
|
<p>
|
169
169
|
This function provided a "shortcut" for creating the identity
|
170
170
|
method based on given accessors and returns the <a
|
171
|
-
href="Module.html#
|
171
|
+
href="Module.html#M000373">Equatable</a> module for inclusion.
|
172
172
|
</p>
|
173
173
|
<pre>
|
174
174
|
include Equatable(:a, :b)
|
@@ -191,8 +191,8 @@ is equivalent to including a module containing:
|
|
191
191
|
</pre>
|
192
192
|
</div>
|
193
193
|
<div class="sourcecode">
|
194
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
195
|
-
<div id="
|
194
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000373_source')" id="l_M000373_source">show source</a> ]</p>
|
195
|
+
<div id="M000373_source" class="dyn-source">
|
196
196
|
<pre>
|
197
197
|
<span class="ruby-comment cmt"># File lib/more/facets/equatable.rb, line 115</span>
|
198
198
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Equatable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">accessors</span>)
|
@@ -204,7 +204,7 @@ is equivalent to including a module containing:
|
|
204
204
|
</div>
|
205
205
|
<div class="method">
|
206
206
|
<div class="title">
|
207
|
-
<a name="
|
207
|
+
<a name="M000356"></a><b>alias_accessor!</b>(*args)
|
208
208
|
</div>
|
209
209
|
<div class="description">
|
210
210
|
<p>
|
@@ -216,12 +216,12 @@ Create aliases for flag accessors.
|
|
216
216
|
</div>
|
217
217
|
<div class="aka">
|
218
218
|
This method is also aliased as
|
219
|
-
<a href="Module.html#
|
220
|
-
<a href="Module.html#
|
219
|
+
<a href="Module.html#M000357">alias_switcher</a>
|
220
|
+
<a href="Module.html#M000358">alias_toggler</a>
|
221
221
|
</div>
|
222
222
|
<div class="sourcecode">
|
223
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
224
|
-
<div id="
|
223
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000356_source')" id="l_M000356_source">show source</a> ]</p>
|
224
|
+
<div id="M000356_source" class="dyn-source">
|
225
225
|
<pre>
|
226
226
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 117</span>
|
227
227
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_accessor!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -238,7 +238,7 @@ Create aliases for flag accessors.
|
|
238
238
|
</div>
|
239
239
|
<div class="method">
|
240
240
|
<div class="title">
|
241
|
-
<a name="
|
241
|
+
<a name="M000362"></a><b>alias_reader!</b>(*args)
|
242
242
|
</div>
|
243
243
|
<div class="description">
|
244
244
|
<p>
|
@@ -250,12 +250,12 @@ Create aliases for flag reader.
|
|
250
250
|
</div>
|
251
251
|
<div class="aka">
|
252
252
|
This method is also aliased as
|
253
|
-
<a href="Module.html#
|
254
|
-
<a href="Module.html#
|
253
|
+
<a href="Module.html#M000363">alias_reader?</a>
|
254
|
+
<a href="Module.html#M000364">alias_tester</a>
|
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('M000362_source')" id="l_M000362_source">show source</a> ]</p>
|
258
|
+
<div id="M000362_source" class="dyn-source">
|
259
259
|
<pre>
|
260
260
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 159</span>
|
261
261
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_reader!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -271,7 +271,7 @@ Create aliases for flag reader.
|
|
271
271
|
</div>
|
272
272
|
<div class="method">
|
273
273
|
<div class="title">
|
274
|
-
<a name="
|
274
|
+
<a name="M000363"></a><b>alias_reader?</b>(*args)
|
275
275
|
</div>
|
276
276
|
<div class="description">
|
277
277
|
<p>
|
@@ -281,7 +281,7 @@ Alias for alias_reader!
|
|
281
281
|
</div>
|
282
282
|
<div class="method">
|
283
283
|
<div class="title">
|
284
|
-
<a name="
|
284
|
+
<a name="M000352"></a><b>alias_setter</b>(*args)
|
285
285
|
</div>
|
286
286
|
<div class="description">
|
287
287
|
<p>
|
@@ -301,8 +301,8 @@ Alias an accessor. This create an alias for both a reader and a writer.
|
|
301
301
|
</pre>
|
302
302
|
</div>
|
303
303
|
<div class="sourcecode">
|
304
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
305
|
-
<div id="
|
304
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000352_source')" id="l_M000352_source">show source</a> ]</p>
|
305
|
+
<div id="M000352_source" class="dyn-source">
|
306
306
|
<pre>
|
307
307
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 81</span>
|
308
308
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_setter</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -317,7 +317,7 @@ Alias an accessor. This create an alias for both a reader and a writer.
|
|
317
317
|
</div>
|
318
318
|
<div class="method">
|
319
319
|
<div class="title">
|
320
|
-
<a name="
|
320
|
+
<a name="M000357"></a><b>alias_switcher</b>(*args)
|
321
321
|
</div>
|
322
322
|
<div class="description">
|
323
323
|
<p>
|
@@ -327,7 +327,7 @@ Alias for alias_accessor!
|
|
327
327
|
</div>
|
328
328
|
<div class="method">
|
329
329
|
<div class="title">
|
330
|
-
<a name="
|
330
|
+
<a name="M000364"></a><b>alias_tester</b>(*args)
|
331
331
|
</div>
|
332
332
|
<div class="description">
|
333
333
|
<p>
|
@@ -337,7 +337,7 @@ Alias for alias_reader!
|
|
337
337
|
</div>
|
338
338
|
<div class="method">
|
339
339
|
<div class="title">
|
340
|
-
<a name="
|
340
|
+
<a name="M000358"></a><b>alias_toggler</b>(*args)
|
341
341
|
</div>
|
342
342
|
<div class="description">
|
343
343
|
<p>
|
@@ -347,7 +347,7 @@ Alias for alias_accessor!
|
|
347
347
|
</div>
|
348
348
|
<div class="method">
|
349
349
|
<div class="title">
|
350
|
-
<a name="
|
350
|
+
<a name="M000350"></a><b>alias_validator</b>(*args)
|
351
351
|
</div>
|
352
352
|
<div class="description">
|
353
353
|
<p>
|
@@ -355,8 +355,8 @@ Create aliases for validators.
|
|
355
355
|
</p>
|
356
356
|
</div>
|
357
357
|
<div class="sourcecode">
|
358
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
359
|
-
<div id="
|
358
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000350_source')" id="l_M000350_source">show source</a> ]</p>
|
359
|
+
<div id="M000350_source" class="dyn-source">
|
360
360
|
<pre>
|
361
361
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 24</span>
|
362
362
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_validator</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -373,7 +373,7 @@ Create aliases for validators.
|
|
373
373
|
</div>
|
374
374
|
<div class="method">
|
375
375
|
<div class="title">
|
376
|
-
<a name="
|
376
|
+
<a name="M000366"></a><b>alias_writer!</b>(*args)
|
377
377
|
</div>
|
378
378
|
<div class="description">
|
379
379
|
<p>
|
@@ -384,8 +384,8 @@ Create aliases for flag writer.
|
|
384
384
|
</pre>
|
385
385
|
</div>
|
386
386
|
<div class="sourcecode">
|
387
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
388
|
-
<div id="
|
387
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000366_source')" id="l_M000366_source">show source</a> ]</p>
|
388
|
+
<div id="M000366_source" class="dyn-source">
|
389
389
|
<pre>
|
390
390
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 200</span>
|
391
391
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_writer!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -401,16 +401,16 @@ Create aliases for flag writer.
|
|
401
401
|
</div>
|
402
402
|
<div class="method">
|
403
403
|
<div class="title">
|
404
|
-
<a name="
|
404
|
+
<a name="M000338"></a><b>ann</b>( ref, keys_or_class=nil, keys=nil )
|
405
405
|
</div>
|
406
406
|
<div class="description">
|
407
407
|
<p>
|
408
|
-
Set or read <a href="Module.html#
|
408
|
+
Set or read <a href="Module.html#M000336">annotations</a>.
|
409
409
|
</p>
|
410
410
|
</div>
|
411
411
|
<div class="sourcecode">
|
412
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
413
|
-
<div id="
|
412
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000338_source')" id="l_M000338_source">show source</a> ]</p>
|
413
|
+
<div id="M000338_source" class="dyn-source">
|
414
414
|
<pre>
|
415
415
|
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 121</span>
|
416
416
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ann</span>( <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">keys_or_class</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">keys</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -438,19 +438,19 @@ Set or read <a href="Module.html#M000328">annotations</a>.
|
|
438
438
|
</div>
|
439
439
|
<div class="method">
|
440
440
|
<div class="title">
|
441
|
-
<a name="
|
441
|
+
<a name="M000339"></a><b>ann!</b>( ref, keys_or_class=nil, keys=nil )
|
442
442
|
</div>
|
443
443
|
<div class="description">
|
444
444
|
<p>
|
445
445
|
To change an annotation‘s value in place for a given class or module
|
446
446
|
it first must be duplicated, otherwise the change may effect <a
|
447
|
-
href="Module.html#
|
447
|
+
href="Module.html#M000336">annotations</a> in the class or module‘s
|
448
448
|
ancestors.
|
449
449
|
</p>
|
450
450
|
</div>
|
451
451
|
<div class="sourcecode">
|
452
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
453
|
-
<div id="
|
452
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000339_source')" id="l_M000339_source">show source</a> ]</p>
|
453
|
+
<div id="M000339_source" class="dyn-source">
|
454
454
|
<pre>
|
455
455
|
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 145</span>
|
456
456
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ann!</span>( <span class="ruby-identifier">ref</span>, <span class="ruby-identifier">keys_or_class</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">keys</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -479,11 +479,11 @@ ancestors.
|
|
479
479
|
</div>
|
480
480
|
<div class="method">
|
481
481
|
<div class="title">
|
482
|
-
<a name="
|
482
|
+
<a name="M000336"></a><b>annotations</b>()
|
483
483
|
</div>
|
484
484
|
<div class="sourcecode">
|
485
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
486
|
-
<div id="
|
485
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000336_source')" id="l_M000336_source">show source</a> ]</p>
|
486
|
+
<div id="M000336_source" class="dyn-source">
|
487
487
|
<pre>
|
488
488
|
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 106</span>
|
489
489
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">annotations</span>
|
@@ -496,11 +496,11 @@ ancestors.
|
|
496
496
|
</div>
|
497
497
|
<div class="method">
|
498
498
|
<div class="title">
|
499
|
-
<a name="
|
499
|
+
<a name="M000378"></a><b>append_features</b>(mod)
|
500
500
|
</div>
|
501
501
|
<div class="sourcecode">
|
502
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
503
|
-
<div id="
|
502
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000378_source')" id="l_M000378_source">show source</a> ]</p>
|
503
|
+
<div id="M000378_source" class="dyn-source">
|
504
504
|
<pre>
|
505
505
|
<span class="ruby-comment cmt"># File lib/more/facets/class_extension.rb, line 95</span>
|
506
506
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">append_features</span>(<span class="ruby-identifier">mod</span>)
|
@@ -516,15 +516,15 @@ ancestors.
|
|
516
516
|
</div>
|
517
517
|
<div class="method">
|
518
518
|
<div class="title">
|
519
|
-
<a name="
|
519
|
+
<a name="M000342"></a><b>append_features</b>( base )
|
520
520
|
</div>
|
521
521
|
<div class="aka">
|
522
522
|
This method is also aliased as
|
523
|
-
<a href="Module.html#
|
523
|
+
<a href="Module.html#M000376">append_features_without_class_extension</a>
|
524
524
|
</div>
|
525
525
|
<div class="sourcecode">
|
526
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
527
|
-
<div id="
|
526
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000342_source')" id="l_M000342_source">show source</a> ]</p>
|
527
|
+
<div id="M000342_source" class="dyn-source">
|
528
528
|
<pre>
|
529
529
|
<span class="ruby-comment cmt"># File lib/more/facets/classmethods.rb, line 163</span>
|
530
530
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">append_features</span>( <span class="ruby-identifier">base</span> )
|
@@ -549,21 +549,21 @@ ancestors.
|
|
549
549
|
</div>
|
550
550
|
<div class="method">
|
551
551
|
<div class="title">
|
552
|
-
<a name="
|
552
|
+
<a name="M000376"></a><b>append_features_without_class_extension</b>( base )
|
553
553
|
</div>
|
554
554
|
<div class="description">
|
555
555
|
<p>
|
556
|
-
Alias for <a href="Module.html#
|
556
|
+
Alias for <a href="Module.html#M000342">append_features</a>
|
557
557
|
</p>
|
558
558
|
</div>
|
559
559
|
</div>
|
560
560
|
<div class="method">
|
561
561
|
<div class="title">
|
562
|
-
<a name="
|
562
|
+
<a name="M000340"></a><b>attr</b>( *args )
|
563
563
|
</div>
|
564
564
|
<div class="sourcecode">
|
565
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
566
|
-
<div id="
|
565
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000340_source')" id="l_M000340_source">show source</a> ]</p>
|
566
|
+
<div id="M000340_source" class="dyn-source">
|
567
567
|
<pre>
|
568
568
|
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 220</span>
|
569
569
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
@@ -585,7 +585,7 @@ Alias for <a href="Module.html#M000334">append_features</a>
|
|
585
585
|
</div>
|
586
586
|
<div class="method">
|
587
587
|
<div class="title">
|
588
|
-
<a name="
|
588
|
+
<a name="M000353"></a><b>attr_accessor!</b>(*args)
|
589
589
|
</div>
|
590
590
|
<div class="description">
|
591
591
|
<p>
|
@@ -613,12 +613,12 @@ is equivalent to
|
|
613
613
|
</div>
|
614
614
|
<div class="aka">
|
615
615
|
This method is also aliased as
|
616
|
-
<a href="Module.html#
|
617
|
-
<a href="Module.html#
|
616
|
+
<a href="Module.html#M000354">attr_switcher</a>
|
617
|
+
<a href="Module.html#M000355">attr_toggler</a>
|
618
618
|
</div>
|
619
619
|
<div class="sourcecode">
|
620
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
621
|
-
<div id="
|
620
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000353_source')" id="l_M000353_source">show source</a> ]</p>
|
621
|
+
<div id="M000353_source" class="dyn-source">
|
622
622
|
<pre>
|
623
623
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 107</span>
|
624
624
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_accessor!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -630,7 +630,7 @@ is equivalent to
|
|
630
630
|
</div>
|
631
631
|
<div class="method">
|
632
632
|
<div class="title">
|
633
|
-
<a name="
|
633
|
+
<a name="M000359"></a><b>attr_reader!</b>(*args)
|
634
634
|
</div>
|
635
635
|
<div class="description">
|
636
636
|
<p>
|
@@ -651,12 +651,12 @@ is equivalent to
|
|
651
651
|
</div>
|
652
652
|
<div class="aka">
|
653
653
|
This method is also aliased as
|
654
|
-
<a href="Module.html#
|
655
|
-
<a href="Module.html#
|
654
|
+
<a href="Module.html#M000360">attr_reader?</a>
|
655
|
+
<a href="Module.html#M000361">attr_tester</a>
|
656
656
|
</div>
|
657
657
|
<div class="sourcecode">
|
658
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
659
|
-
<div id="
|
658
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000359_source')" id="l_M000359_source">show source</a> ]</p>
|
659
|
+
<div id="M000359_source" class="dyn-source">
|
660
660
|
<pre>
|
661
661
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 139</span>
|
662
662
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_reader!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -678,7 +678,7 @@ is equivalent to
|
|
678
678
|
</div>
|
679
679
|
<div class="method">
|
680
680
|
<div class="title">
|
681
|
-
<a name="
|
681
|
+
<a name="M000360"></a><b>attr_reader?</b>(*args)
|
682
682
|
</div>
|
683
683
|
<div class="description">
|
684
684
|
<p>
|
@@ -688,12 +688,12 @@ Alias for attr_reader!
|
|
688
688
|
</div>
|
689
689
|
<div class="method">
|
690
690
|
<div class="title">
|
691
|
-
<a name="
|
691
|
+
<a name="M000351"></a><b>attr_setter</b>(*args)
|
692
692
|
</div>
|
693
693
|
<div class="description">
|
694
694
|
<p>
|
695
695
|
Create an attribute method for both getting and <a
|
696
|
-
href="Module.html#
|
696
|
+
href="Module.html#M000367">setting</a> an instance variable.
|
697
697
|
</p>
|
698
698
|
<pre>
|
699
699
|
attr_setter :a
|
@@ -715,8 +715,8 @@ _is equivalent to_
|
|
715
715
|
</pre>
|
716
716
|
</div>
|
717
717
|
<div class="sourcecode">
|
718
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
719
|
-
<div id="
|
718
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000351_source')" id="l_M000351_source">show source</a> ]</p>
|
719
|
+
<div id="M000351_source" class="dyn-source">
|
720
720
|
<pre>
|
721
721
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 53</span>
|
722
722
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_setter</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -738,7 +738,7 @@ _is equivalent to_
|
|
738
738
|
</div>
|
739
739
|
<div class="method">
|
740
740
|
<div class="title">
|
741
|
-
<a name="
|
741
|
+
<a name="M000354"></a><b>attr_switcher</b>(*args)
|
742
742
|
</div>
|
743
743
|
<div class="description">
|
744
744
|
<p>
|
@@ -748,7 +748,7 @@ Alias for attr_accessor!
|
|
748
748
|
</div>
|
749
749
|
<div class="method">
|
750
750
|
<div class="title">
|
751
|
-
<a name="
|
751
|
+
<a name="M000361"></a><b>attr_tester</b>(*args)
|
752
752
|
</div>
|
753
753
|
<div class="description">
|
754
754
|
<p>
|
@@ -758,7 +758,7 @@ Alias for attr_reader!
|
|
758
758
|
</div>
|
759
759
|
<div class="method">
|
760
760
|
<div class="title">
|
761
|
-
<a name="
|
761
|
+
<a name="M000355"></a><b>attr_toggler</b>(*args)
|
762
762
|
</div>
|
763
763
|
<div class="description">
|
764
764
|
<p>
|
@@ -768,20 +768,20 @@ Alias for attr_accessor!
|
|
768
768
|
</div>
|
769
769
|
<div class="method">
|
770
770
|
<div class="title">
|
771
|
-
<a name="
|
771
|
+
<a name="M000349"></a><b>attr_validator</b>(*symbols, &validator)
|
772
772
|
</div>
|
773
773
|
<div class="description">
|
774
774
|
<p>
|
775
775
|
Like attr_writer, but the writer method validates the <a
|
776
|
-
href="Module.html#
|
776
|
+
href="Module.html#M000367">setting</a> against the given block.
|
777
777
|
</p>
|
778
778
|
<pre>
|
779
779
|
CREDIT: ?
|
780
780
|
</pre>
|
781
781
|
</div>
|
782
782
|
<div class="sourcecode">
|
783
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
784
|
-
<div id="
|
783
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000349_source')" id="l_M000349_source">show source</a> ]</p>
|
784
|
+
<div id="M000349_source" class="dyn-source">
|
785
785
|
<pre>
|
786
786
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 8</span>
|
787
787
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_validator</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">symbols</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">validator</span>)
|
@@ -803,7 +803,7 @@ href="Module.html#M000359">setting</a> against the given block.
|
|
803
803
|
</div>
|
804
804
|
<div class="method">
|
805
805
|
<div class="title">
|
806
|
-
<a name="
|
806
|
+
<a name="M000365"></a><b>attr_writer!</b>(*args)
|
807
807
|
</div>
|
808
808
|
<div class="description">
|
809
809
|
<p>
|
@@ -824,8 +824,8 @@ is equivalent to
|
|
824
824
|
</pre>
|
825
825
|
</div>
|
826
826
|
<div class="sourcecode">
|
827
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
828
|
-
<div id="
|
827
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000365_source')" id="l_M000365_source">show source</a> ]</p>
|
828
|
+
<div id="M000365_source" class="dyn-source">
|
829
829
|
<pre>
|
830
830
|
<span class="ruby-comment cmt"># File lib/more/facets/attr.rb, line 181</span>
|
831
831
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_writer!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -848,25 +848,25 @@ is equivalent to
|
|
848
848
|
</div>
|
849
849
|
<div class="method">
|
850
850
|
<div class="title">
|
851
|
-
<a name="
|
851
|
+
<a name="M000344"></a><b>class_inherit</b>( &yld )
|
852
852
|
</div>
|
853
853
|
<div class="description">
|
854
854
|
<p>
|
855
|
-
Alias for <a href="Module.html#
|
855
|
+
Alias for <a href="Module.html#M000343">class_methods</a>
|
856
856
|
</p>
|
857
857
|
</div>
|
858
858
|
</div>
|
859
859
|
<div class="method">
|
860
860
|
<div class="title">
|
861
|
-
<a name="
|
861
|
+
<a name="M000343"></a><b>class_methods</b>( &yld )
|
862
862
|
</div>
|
863
863
|
<div class="aka">
|
864
864
|
This method is also aliased as
|
865
|
-
<a href="Module.html#
|
865
|
+
<a href="Module.html#M000344">class_inherit</a>
|
866
866
|
</div>
|
867
867
|
<div class="sourcecode">
|
868
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
869
|
-
<div id="
|
868
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000343_source')" id="l_M000343_source">show source</a> ]</p>
|
869
|
+
<div id="M000343_source" class="dyn-source">
|
870
870
|
<pre>
|
871
871
|
<span class="ruby-comment cmt"># File lib/more/facets/classmethods.rb, line 180</span>
|
872
872
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_methods</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">yld</span> )
|
@@ -884,7 +884,7 @@ Alias for <a href="Module.html#M000335">class_methods</a>
|
|
884
884
|
</div>
|
885
885
|
<div class="method">
|
886
886
|
<div class="title">
|
887
|
-
<a name="
|
887
|
+
<a name="M000341"></a><b>classified_attributes</b>()
|
888
888
|
</div>
|
889
889
|
<div class="description">
|
890
890
|
<p>
|
@@ -902,8 +902,8 @@ Return list of attributes that have a :class annotation.
|
|
902
902
|
</pre>
|
903
903
|
</div>
|
904
904
|
<div class="sourcecode">
|
905
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
906
|
-
<div id="
|
905
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000341_source')" id="l_M000341_source">show source</a> ]</p>
|
906
|
+
<div id="M000341_source" class="dyn-source">
|
907
907
|
<pre>
|
908
908
|
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 293</span>
|
909
909
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">classified_attributes</span>
|
@@ -917,11 +917,11 @@ Return list of attributes that have a :class annotation.
|
|
917
917
|
</div>
|
918
918
|
<div class="method">
|
919
919
|
<div class="title">
|
920
|
-
<a name="
|
920
|
+
<a name="M000347"></a><b>define_dependency</b>( name, *deps )
|
921
921
|
</div>
|
922
922
|
<div class="sourcecode">
|
923
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
924
|
-
<div id="
|
923
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000347_source')" id="l_M000347_source">show source</a> ]</p>
|
924
|
+
<div id="M000347_source" class="dyn-source">
|
925
925
|
<pre>
|
926
926
|
<span class="ruby-comment cmt"># File lib/more/facets/dependency.rb, line 120</span>
|
927
927
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">define_dependency</span>( <span class="ruby-identifier">name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">deps</span> )
|
@@ -952,11 +952,11 @@ Return list of attributes that have a :class annotation.
|
|
952
952
|
</div>
|
953
953
|
<div class="method">
|
954
954
|
<div class="title">
|
955
|
-
<a name="
|
955
|
+
<a name="M000345"></a><b>depend</b>( name_and_deps=nil )
|
956
956
|
</div>
|
957
957
|
<div class="sourcecode">
|
958
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
959
|
-
<div id="
|
958
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000345_source')" id="l_M000345_source">show source</a> ]</p>
|
959
|
+
<div id="M000345_source" class="dyn-source">
|
960
960
|
<pre>
|
961
961
|
<span class="ruby-comment cmt"># File lib/more/facets/dependency.rb, line 90</span>
|
962
962
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">depend</span>( <span class="ruby-identifier">name_and_deps</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -978,7 +978,7 @@ Return list of attributes that have a :class annotation.
|
|
978
978
|
</div>
|
979
979
|
<div class="method">
|
980
980
|
<div class="title">
|
981
|
-
<a name="
|
981
|
+
<a name="M000346"></a><b>dependencies</b>(name, build=[])
|
982
982
|
</div>
|
983
983
|
<div class="description">
|
984
984
|
<p>
|
@@ -986,8 +986,8 @@ Compile list of all unique prerequisite calls.
|
|
986
986
|
</p>
|
987
987
|
</div>
|
988
988
|
<div class="sourcecode">
|
989
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
990
|
-
<div id="
|
989
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000346_source')" id="l_M000346_source">show source</a> ]</p>
|
990
|
+
<div id="M000346_source" class="dyn-source">
|
991
991
|
<pre>
|
992
992
|
<span class="ruby-comment cmt"># File lib/more/facets/dependency.rb, line 106</span>
|
993
993
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dependencies</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">build</span>=[])
|
@@ -1007,11 +1007,11 @@ Compile list of all unique prerequisite calls.
|
|
1007
1007
|
</div>
|
1008
1008
|
<div class="method">
|
1009
1009
|
<div class="title">
|
1010
|
-
<a name="
|
1010
|
+
<a name="M000337"></a><b>heritage</b>(ref)
|
1011
1011
|
</div>
|
1012
1012
|
<div class="sourcecode">
|
1013
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1014
|
-
<div id="
|
1013
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000337_source')" id="l_M000337_source">show source</a> ]</p>
|
1014
|
+
<div id="M000337_source" class="dyn-source">
|
1015
1015
|
<pre>
|
1016
1016
|
<span class="ruby-comment cmt"># File lib/more/facets/annotations.rb, line 111</span>
|
1017
1017
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">heritage</span>(<span class="ruby-identifier">ref</span>)
|
@@ -1027,7 +1027,7 @@ Compile list of all unique prerequisite calls.
|
|
1027
1027
|
</div>
|
1028
1028
|
<div class="method">
|
1029
1029
|
<div class="title">
|
1030
|
-
<a name="
|
1030
|
+
<a name="M000372"></a><b>include_as</b>(h)
|
1031
1031
|
</div>
|
1032
1032
|
<div class="description">
|
1033
1033
|
<p>
|
@@ -1047,8 +1047,8 @@ Include a module via a specified space.
|
|
1047
1047
|
</pre>
|
1048
1048
|
</div>
|
1049
1049
|
<div class="sourcecode">
|
1050
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1051
|
-
<div id="
|
1050
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000372_source')" id="l_M000372_source">show source</a> ]</p>
|
1051
|
+
<div id="M000372_source" class="dyn-source">
|
1052
1052
|
<pre>
|
1053
1053
|
<span class="ruby-comment cmt"># File lib/more/facets/methodspace.rb, line 103</span>
|
1054
1054
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include_as</span>(<span class="ruby-identifier">h</span>)
|
@@ -1060,7 +1060,7 @@ Include a module via a specified space.
|
|
1060
1060
|
</div>
|
1061
1061
|
<div class="method">
|
1062
1062
|
<div class="title">
|
1063
|
-
<a name="
|
1063
|
+
<a name="M000368"></a><b>instance_method!</b>(s)
|
1064
1064
|
</div>
|
1065
1065
|
<div class="description">
|
1066
1066
|
<p>
|
@@ -1079,8 +1079,8 @@ NOTE: This is limited to the scope of the current module/class.
|
|
1079
1079
|
</p>
|
1080
1080
|
</div>
|
1081
1081
|
<div class="sourcecode">
|
1082
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1083
|
-
<div id="
|
1082
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000368_source')" id="l_M000368_source">show source</a> ]</p>
|
1083
|
+
<div id="M000368_source" class="dyn-source">
|
1084
1084
|
<pre>
|
1085
1085
|
<span class="ruby-comment cmt"># File lib/more/facets/1stclassmethod.rb, line 134</span>
|
1086
1086
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_method!</span>(<span class="ruby-identifier">s</span>)
|
@@ -1093,12 +1093,12 @@ NOTE: This is limited to the scope of the current module/class.
|
|
1093
1093
|
</div>
|
1094
1094
|
<div class="method">
|
1095
1095
|
<div class="title">
|
1096
|
-
<a name="
|
1096
|
+
<a name="M000348"></a><b>memoize</b>(*meths)
|
1097
1097
|
</div>
|
1098
1098
|
<div class="description">
|
1099
1099
|
<p>
|
1100
1100
|
Directive for making your functions faster by trading space for time. When
|
1101
|
-
you "<a href="Module.html#
|
1101
|
+
you "<a href="Module.html#M000348">memoize</a>" a method/function
|
1102
1102
|
its results are cached so that later calls with the same arguments returns
|
1103
1103
|
results in the cache instead of recalculating them.
|
1104
1104
|
</p>
|
@@ -1118,8 +1118,8 @@ results in the cache instead of recalculating them.
|
|
1118
1118
|
</pre>
|
1119
1119
|
</div>
|
1120
1120
|
<div class="sourcecode">
|
1121
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1122
|
-
<div id="
|
1121
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000348_source')" id="l_M000348_source">show source</a> ]</p>
|
1122
|
+
<div id="M000348_source" class="dyn-source">
|
1123
1123
|
<pre>
|
1124
1124
|
<span class="ruby-comment cmt"># File lib/more/facets/memoize.rb, line 61</span>
|
1125
1125
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">memoize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">meths</span>)
|
@@ -1143,11 +1143,11 @@ results in the cache instead of recalculating them.
|
|
1143
1143
|
</div>
|
1144
1144
|
<div class="method">
|
1145
1145
|
<div class="title">
|
1146
|
-
<a name="
|
1146
|
+
<a name="M000369"></a><b>method_overloads</b>()
|
1147
1147
|
</div>
|
1148
1148
|
<div class="sourcecode">
|
1149
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1150
|
-
<div id="
|
1149
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000369_source')" id="l_M000369_source">show source</a> ]</p>
|
1150
|
+
<div id="M000369_source" class="dyn-source">
|
1151
1151
|
<pre>
|
1152
1152
|
<span class="ruby-comment cmt"># File lib/more/facets/overload.rb, line 25</span>
|
1153
1153
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_overloads</span>
|
@@ -1159,7 +1159,7 @@ results in the cache instead of recalculating them.
|
|
1159
1159
|
</div>
|
1160
1160
|
<div class="method">
|
1161
1161
|
<div class="title">
|
1162
|
-
<a name="
|
1162
|
+
<a name="M000371"></a><b>method_space</b>(name, mod=nil, &blk)
|
1163
1163
|
</div>
|
1164
1164
|
<div class="description">
|
1165
1165
|
<p>
|
@@ -1180,8 +1180,8 @@ Define a simple method namespace.
|
|
1180
1180
|
</pre>
|
1181
1181
|
</div>
|
1182
1182
|
<div class="sourcecode">
|
1183
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1184
|
-
<div id="
|
1183
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000371_source')" id="l_M000371_source">show source</a> ]</p>
|
1184
|
+
<div id="M000371_source" class="dyn-source">
|
1185
1185
|
<pre>
|
1186
1186
|
<span class="ruby-comment cmt"># File lib/more/facets/methodspace.rb, line 48</span>
|
1187
1187
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_space</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">mod</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -1231,7 +1231,7 @@ Define a simple method namespace.
|
|
1231
1231
|
</div>
|
1232
1232
|
<div class="method">
|
1233
1233
|
<div class="title">
|
1234
|
-
<a name="
|
1234
|
+
<a name="M000374"></a><b>mixin_parameters</b>()
|
1235
1235
|
</div>
|
1236
1236
|
<div class="description">
|
1237
1237
|
<p>
|
@@ -1251,11 +1251,11 @@ values are the parameters associacted with this module/class.
|
|
1251
1251
|
</div>
|
1252
1252
|
<div class="aka">
|
1253
1253
|
This method is also aliased as
|
1254
|
-
<a href="Module.html#
|
1254
|
+
<a href="Module.html#M000375">mixin_params</a>
|
1255
1255
|
</div>
|
1256
1256
|
<div class="sourcecode">
|
1257
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1258
|
-
<div id="
|
1257
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000374_source')" id="l_M000374_source">show source</a> ]</p>
|
1258
|
+
<div id="M000374_source" class="dyn-source">
|
1259
1259
|
<pre>
|
1260
1260
|
<span class="ruby-comment cmt"># File lib/more/facets/paramix.rb, line 196</span>
|
1261
1261
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mixin_parameters</span>
|
@@ -1267,17 +1267,17 @@ values are the parameters associacted with this module/class.
|
|
1267
1267
|
</div>
|
1268
1268
|
<div class="method">
|
1269
1269
|
<div class="title">
|
1270
|
-
<a name="
|
1270
|
+
<a name="M000375"></a><b>mixin_params</b>()
|
1271
1271
|
</div>
|
1272
1272
|
<div class="description">
|
1273
1273
|
<p>
|
1274
|
-
Alias for <a href="Module.html#
|
1274
|
+
Alias for <a href="Module.html#M000374">mixin_parameters</a>
|
1275
1275
|
</p>
|
1276
1276
|
</div>
|
1277
1277
|
</div>
|
1278
1278
|
<div class="method">
|
1279
1279
|
<div class="title">
|
1280
|
-
<a name="
|
1280
|
+
<a name="M000370"></a><b>overload</b>( name, *signiture, &block )
|
1281
1281
|
</div>
|
1282
1282
|
<div class="description">
|
1283
1283
|
<p>
|
@@ -1300,8 +1300,8 @@ Overload methods.
|
|
1300
1300
|
</pre>
|
1301
1301
|
</div>
|
1302
1302
|
<div class="sourcecode">
|
1303
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1304
|
-
<div id="
|
1303
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000370_source')" id="l_M000370_source">show source</a> ]</p>
|
1304
|
+
<div id="M000370_source" class="dyn-source">
|
1305
1305
|
<pre>
|
1306
1306
|
<span class="ruby-comment cmt"># File lib/more/facets/overload.rb, line 45</span>
|
1307
1307
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">overload</span>( <span class="ruby-identifier">name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">signiture</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -1357,11 +1357,11 @@ Overload methods.
|
|
1357
1357
|
</div>
|
1358
1358
|
<div class="method">
|
1359
1359
|
<div class="title">
|
1360
|
-
<a name="
|
1360
|
+
<a name="M000367"></a><b>setting</b>(sym, options = {})
|
1361
1361
|
</div>
|
1362
1362
|
<div class="description">
|
1363
1363
|
<p>
|
1364
|
-
Defines a configuration <a href="Module.html#
|
1364
|
+
Defines a configuration <a href="Module.html#M000367">setting</a> for the
|
1365
1365
|
enclosing class.
|
1366
1366
|
</p>
|
1367
1367
|
<h3>Example</h3>
|
@@ -1376,8 +1376,8 @@ end
|
|
1376
1376
|
</p>
|
1377
1377
|
</div>
|
1378
1378
|
<div class="sourcecode">
|
1379
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1380
|
-
<div id="
|
1379
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000367_source')" id="l_M000367_source">show source</a> ]</p>
|
1380
|
+
<div id="M000367_source" class="dyn-source">
|
1381
1381
|
<pre>
|
1382
1382
|
<span class="ruby-comment cmt"># File lib/more/facets/settings.rb, line 233</span>
|
1383
1383
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setting</span>(<span class="ruby-identifier">sym</span>, <span class="ruby-identifier">options</span> = {})
|