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
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
<div class="sectiontitle">Methods</div>
|
76
76
|
<ul>
|
77
|
-
<li><a href="#
|
77
|
+
<li><a href="#M000770">maybe</a></li>
|
78
78
|
</ul>
|
79
79
|
|
80
80
|
|
@@ -85,7 +85,7 @@
|
|
85
85
|
<div class="sectiontitle">Public Instance methods</div>
|
86
86
|
<div class="method">
|
87
87
|
<div class="title">
|
88
|
-
<a name="
|
88
|
+
<a name="M000770"></a><b>maybe</b>(chance = 0.5) {|if rand < chance| ...}
|
89
89
|
</div>
|
90
90
|
<div class="description">
|
91
91
|
<p>
|
@@ -98,8 +98,8 @@ Can also take a block that has a 50/50 chance to being executed.
|
|
98
98
|
</pre>
|
99
99
|
</div>
|
100
100
|
<div class="sourcecode">
|
101
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
102
|
-
<div id="
|
101
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000770_source')" id="l_M000770_source">show source</a> ]</p>
|
102
|
+
<div id="M000770_source" class="dyn-source">
|
103
103
|
<pre>
|
104
104
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 85</span>
|
105
105
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">maybe</span>(<span class="ruby-identifier">chance</span> = <span class="ruby-value">0</span><span class="ruby-value">.5</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -74,14 +74,14 @@
|
|
74
74
|
|
75
75
|
<div class="sectiontitle">Methods</div>
|
76
76
|
<ul>
|
77
|
-
<li><a href="#
|
78
|
-
<li><a href="#
|
79
|
-
<li><a href="#
|
80
|
-
<li><a href="#
|
81
|
-
<li><a href="#
|
82
|
-
<li><a href="#
|
83
|
-
<li><a href="#
|
84
|
-
<li><a href="#
|
77
|
+
<li><a href="#M000772">at_rand</a></li>
|
78
|
+
<li><a href="#M000773">at_rand!</a></li>
|
79
|
+
<li><a href="#M000771">included</a></li>
|
80
|
+
<li><a href="#M000774">rand_byte</a></li>
|
81
|
+
<li><a href="#M000775">rand_byte!</a></li>
|
82
|
+
<li><a href="#M000776">rand_index</a></li>
|
83
|
+
<li><a href="#M000777">shuffle</a></li>
|
84
|
+
<li><a href="#M000778">shuffle!</a></li>
|
85
85
|
</ul>
|
86
86
|
|
87
87
|
|
@@ -95,11 +95,11 @@
|
|
95
95
|
<div class="sectiontitle">Public Class methods</div>
|
96
96
|
<div class="method">
|
97
97
|
<div class="title">
|
98
|
-
<a name="
|
98
|
+
<a name="M000771"></a><b>included</b>(base)
|
99
99
|
</div>
|
100
100
|
<div class="sourcecode">
|
101
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
102
|
-
<div id="
|
101
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000771_source')" id="l_M000771_source">show source</a> ]</p>
|
102
|
+
<div id="M000771_source" class="dyn-source">
|
103
103
|
<pre>
|
104
104
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 315</span>
|
105
105
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">base</span>)
|
@@ -112,7 +112,7 @@
|
|
112
112
|
<div class="sectiontitle">Public Instance methods</div>
|
113
113
|
<div class="method">
|
114
114
|
<div class="title">
|
115
|
-
<a name="
|
115
|
+
<a name="M000772"></a><b>at_rand</b>( separator=// )
|
116
116
|
</div>
|
117
117
|
<div class="description">
|
118
118
|
<p>
|
@@ -124,8 +124,8 @@ charaacter.
|
|
124
124
|
</pre>
|
125
125
|
</div>
|
126
126
|
<div class="sourcecode">
|
127
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
128
|
-
<div id="
|
127
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000772_source')" id="l_M000772_source">show source</a> ]</p>
|
128
|
+
<div id="M000772_source" class="dyn-source">
|
129
129
|
<pre>
|
130
130
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 363</span>
|
131
131
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_rand</span>( <span class="ruby-identifier">separator</span>=<span class="ruby-regexp re">//</span> )
|
@@ -138,7 +138,7 @@ charaacter.
|
|
138
138
|
</div>
|
139
139
|
<div class="method">
|
140
140
|
<div class="title">
|
141
|
-
<a name="
|
141
|
+
<a name="M000773"></a><b>at_rand!</b>( separator=// )
|
142
142
|
</div>
|
143
143
|
<div class="description">
|
144
144
|
<p>
|
@@ -152,8 +152,8 @@ separation is by character.
|
|
152
152
|
</pre>
|
153
153
|
</div>
|
154
154
|
<div class="sourcecode">
|
155
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
156
|
-
<div id="
|
155
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000773_source')" id="l_M000773_source">show source</a> ]</p>
|
156
|
+
<div id="M000773_source" class="dyn-source">
|
157
157
|
<pre>
|
158
158
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 375</span>
|
159
159
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">at_rand!</span>( <span class="ruby-identifier">separator</span>=<span class="ruby-regexp re">//</span> )
|
@@ -171,7 +171,7 @@ separation is by character.
|
|
171
171
|
</div>
|
172
172
|
<div class="method">
|
173
173
|
<div class="title">
|
174
|
-
<a name="
|
174
|
+
<a name="M000774"></a><b>rand_byte</b>()
|
175
175
|
</div>
|
176
176
|
<div class="description">
|
177
177
|
<p>
|
@@ -182,8 +182,8 @@ Return a random byte of <em>self</em>.
|
|
182
182
|
</pre>
|
183
183
|
</div>
|
184
184
|
<div class="sourcecode">
|
185
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
186
|
-
<div id="
|
185
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000774_source')" id="l_M000774_source">show source</a> ]</p>
|
186
|
+
<div id="M000774_source" class="dyn-source">
|
187
187
|
<pre>
|
188
188
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 389</span>
|
189
189
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_byte</span>
|
@@ -195,11 +195,11 @@ Return a random byte of <em>self</em>.
|
|
195
195
|
</div>
|
196
196
|
<div class="method">
|
197
197
|
<div class="title">
|
198
|
-
<a name="
|
198
|
+
<a name="M000775"></a><b>rand_byte!</b>()
|
199
199
|
</div>
|
200
200
|
<div class="description">
|
201
201
|
<p>
|
202
|
-
Destructive <a href="String.html#
|
202
|
+
Destructive <a href="String.html#M000774">rand_byte</a>. Delete a random
|
203
203
|
byte of <em>self</em> and return it.
|
204
204
|
</p>
|
205
205
|
<pre>
|
@@ -209,8 +209,8 @@ byte of <em>self</em> and return it.
|
|
209
209
|
</pre>
|
210
210
|
</div>
|
211
211
|
<div class="sourcecode">
|
212
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
213
|
-
<div id="
|
212
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000775_source')" id="l_M000775_source">show source</a> ]</p>
|
213
|
+
<div id="M000775_source" class="dyn-source">
|
214
214
|
<pre>
|
215
215
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 399</span>
|
216
216
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_byte!</span>
|
@@ -225,7 +225,7 @@ byte of <em>self</em> and return it.
|
|
225
225
|
</div>
|
226
226
|
<div class="method">
|
227
227
|
<div class="title">
|
228
|
-
<a name="
|
228
|
+
<a name="M000776"></a><b>rand_index</b>()
|
229
229
|
</div>
|
230
230
|
<div class="description">
|
231
231
|
<p>
|
@@ -236,8 +236,8 @@ Return a random string index.
|
|
236
236
|
</pre>
|
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('M000776_source')" id="l_M000776_source">show source</a> ]</p>
|
240
|
+
<div id="M000776_source" class="dyn-source">
|
241
241
|
<pre>
|
242
242
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 410</span>
|
243
243
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_index</span>
|
@@ -249,7 +249,7 @@ Return a random string index.
|
|
249
249
|
</div>
|
250
250
|
<div class="method">
|
251
251
|
<div class="title">
|
252
|
-
<a name="
|
252
|
+
<a name="M000777"></a><b>shuffle</b>(separator=//)
|
253
253
|
</div>
|
254
254
|
<div class="description">
|
255
255
|
<p>
|
@@ -261,8 +261,8 @@ default seperation is by character.
|
|
261
261
|
</pre>
|
262
262
|
</div>
|
263
263
|
<div class="sourcecode">
|
264
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
265
|
-
<div id="
|
264
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000777_source')" id="l_M000777_source">show source</a> ]</p>
|
265
|
+
<div id="M000777_source" class="dyn-source">
|
266
266
|
<pre>
|
267
267
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 419</span>
|
268
268
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shuffle</span>(<span class="ruby-identifier">separator</span>=<span class="ruby-regexp re">//</span>)
|
@@ -274,16 +274,16 @@ default seperation is by character.
|
|
274
274
|
</div>
|
275
275
|
<div class="method">
|
276
276
|
<div class="title">
|
277
|
-
<a name="
|
277
|
+
<a name="M000778"></a><b>shuffle!</b>(separator=//)
|
278
278
|
</div>
|
279
279
|
<div class="description">
|
280
280
|
<p>
|
281
|
-
In place version of <a href="String.html#
|
281
|
+
In place version of <a href="String.html#M000777">shuffle</a>.
|
282
282
|
</p>
|
283
283
|
</div>
|
284
284
|
<div class="sourcecode">
|
285
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
286
|
-
<div id="
|
285
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000778_source')" id="l_M000778_source">show source</a> ]</p>
|
286
|
+
<div id="M000778_source" class="dyn-source">
|
287
287
|
<pre>
|
288
288
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 425</span>
|
289
289
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shuffle!</span>(<span class="ruby-identifier">separator</span>=<span class="ruby-regexp re">//</span>)
|
@@ -78,8 +78,8 @@ Class-level methods.
|
|
78
78
|
|
79
79
|
<div class="sectiontitle">Methods</div>
|
80
80
|
<ul>
|
81
|
-
<li><a href="#
|
82
|
-
<li><a href="#
|
81
|
+
<li><a href="#M000780">rand_letter</a></li>
|
82
|
+
<li><a href="#M000779">random</a></li>
|
83
83
|
</ul>
|
84
84
|
|
85
85
|
|
@@ -90,12 +90,12 @@ Class-level methods.
|
|
90
90
|
<div class="sectiontitle">Public Instance methods</div>
|
91
91
|
<div class="method">
|
92
92
|
<div class="title">
|
93
|
-
<a name="
|
93
|
+
<a name="M000780"></a><b>rand_letter</b>()
|
94
94
|
</div>
|
95
95
|
<div class="description">
|
96
96
|
<p>
|
97
97
|
<a href="../../Module.html">Module</a> method to generate a <a
|
98
|
-
href="Self.html#
|
98
|
+
href="Self.html#M000779">random</a> letter.
|
99
99
|
</p>
|
100
100
|
<pre>
|
101
101
|
String::Random.rand_letter #=> "q"
|
@@ -104,8 +104,8 @@ href="Self.html#M000775">random</a> letter.
|
|
104
104
|
</pre>
|
105
105
|
</div>
|
106
106
|
<div class="sourcecode">
|
107
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
108
|
-
<div id="
|
107
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000780_source')" id="l_M000780_source">show source</a> ]</p>
|
108
|
+
<div id="M000780_source" class="dyn-source">
|
109
109
|
<pre>
|
110
110
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 352</span>
|
111
111
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rand_letter</span>
|
@@ -117,7 +117,7 @@ href="Self.html#M000775">random</a> letter.
|
|
117
117
|
</div>
|
118
118
|
<div class="method">
|
119
119
|
<div class="title">
|
120
|
-
<a name="
|
120
|
+
<a name="M000779"></a><b>random</b>(max_length = 8, char_re = /[\w\d]/)
|
121
121
|
</div>
|
122
122
|
<div class="description">
|
123
123
|
<p>
|
@@ -127,8 +127,8 @@ optional valid char Regexp (default /\w\d/).
|
|
127
127
|
</p>
|
128
128
|
</div>
|
129
129
|
<div class="sourcecode">
|
130
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
131
|
-
<div id="
|
130
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000779_source')" id="l_M000779_source">show source</a> ]</p>
|
131
|
+
<div id="M000779_source" class="dyn-source">
|
132
132
|
<pre>
|
133
133
|
<span class="ruby-comment cmt"># File lib/more/facets/random.rb, line 333</span>
|
134
134
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">random</span>(<span class="ruby-identifier">max_length</span> = <span class="ruby-value">8</span>, <span class="ruby-identifier">char_re</span> = <span class="ruby-regexp re">/[\w\d]/</span>)
|
@@ -112,10 +112,10 @@ produces
|
|
112
112
|
|
113
113
|
<div class="sectiontitle">Methods</div>
|
114
114
|
<ul>
|
115
|
-
<li><a href="#
|
116
|
-
<li><a href="#
|
117
|
-
<li><a href="#
|
118
|
-
<li><a href="#
|
115
|
+
<li><a href="#M000211">__call__</a></li>
|
116
|
+
<li><a href="#M000210">inspect</a></li>
|
117
|
+
<li><a href="#M000212">method_missing</a></li>
|
118
|
+
<li><a href="#M000209">new</a></li>
|
119
119
|
</ul>
|
120
120
|
|
121
121
|
|
@@ -126,11 +126,11 @@ produces
|
|
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="M000209"></a><b>new</b>( msg=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('M000209_source')" id="l_M000209_source">show source</a> ]</p>
|
133
|
+
<div id="M000209_source" class="dyn-source">
|
134
134
|
<pre>
|
135
135
|
<span class="ruby-comment cmt"># File lib/more/facets/recorder.rb, line 84</span>
|
136
136
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">msg</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -143,11 +143,11 @@ produces
|
|
143
143
|
<div class="sectiontitle">Public Instance methods</div>
|
144
144
|
<div class="method">
|
145
145
|
<div class="title">
|
146
|
-
<a name="
|
146
|
+
<a name="M000211"></a><b>__call__</b>( orig )
|
147
147
|
</div>
|
148
148
|
<div class="sourcecode">
|
149
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
150
|
-
<div id="
|
149
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000211_source')" id="l_M000211_source">show source</a> ]</p>
|
150
|
+
<div id="M000211_source" class="dyn-source">
|
151
151
|
<pre>
|
152
152
|
<span class="ruby-comment cmt"># File lib/more/facets/recorder.rb, line 92</span>
|
153
153
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__call__</span>( <span class="ruby-identifier">orig</span> )
|
@@ -167,11 +167,11 @@ produces
|
|
167
167
|
</div>
|
168
168
|
<div class="method">
|
169
169
|
<div class="title">
|
170
|
-
<a name="
|
170
|
+
<a name="M000210"></a><b>inspect</b>()
|
171
171
|
</div>
|
172
172
|
<div class="sourcecode">
|
173
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
174
|
-
<div id="
|
173
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000210_source')" id="l_M000210_source">show source</a> ]</p>
|
174
|
+
<div id="M000210_source" class="dyn-source">
|
175
175
|
<pre>
|
176
176
|
<span class="ruby-comment cmt"># File lib/more/facets/recorder.rb, line 88</span>
|
177
177
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
@@ -183,11 +183,11 @@ produces
|
|
183
183
|
</div>
|
184
184
|
<div class="method">
|
185
185
|
<div class="title">
|
186
|
-
<a name="
|
186
|
+
<a name="M000212"></a><b>method_missing</b>( sym, *args, &blk )
|
187
187
|
</div>
|
188
188
|
<div class="sourcecode">
|
189
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
190
|
-
<div id="
|
189
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000212_source')" id="l_M000212_source">show source</a> ]</p>
|
190
|
+
<div id="M000212_source" class="dyn-source">
|
191
191
|
<pre>
|
192
192
|
<span class="ruby-comment cmt"># File lib/more/facets/recorder.rb, line 104</span>
|
193
193
|
<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>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span> )
|
@@ -94,11 +94,11 @@ indirectly. This allows for the object itself to be changed on the fly.
|
|
94
94
|
|
95
95
|
<div class="sectiontitle">Methods</div>
|
96
96
|
<ul>
|
97
|
-
<li><a href="#
|
98
|
-
<li><a href="#
|
99
|
-
<li><a href="#
|
100
|
-
<li><a href="#
|
101
|
-
<li><a href="#
|
97
|
+
<li><a href="#M000247">__value__</a></li>
|
98
|
+
<li><a href="#M000246">become</a></li>
|
99
|
+
<li><a href="#M000248">instance_delegate</a></li>
|
100
|
+
<li><a href="#M000245">method_missing</a></li>
|
101
|
+
<li><a href="#M000244">new</a></li>
|
102
102
|
</ul>
|
103
103
|
|
104
104
|
|
@@ -109,11 +109,11 @@ indirectly. This allows for the object itself to be changed on the fly.
|
|
109
109
|
<div class="sectiontitle">Public Class methods</div>
|
110
110
|
<div class="method">
|
111
111
|
<div class="title">
|
112
|
-
<a name="
|
112
|
+
<a name="M000244"></a><b>new</b>(obj)
|
113
113
|
</div>
|
114
114
|
<div class="sourcecode">
|
115
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
116
|
-
<div id="
|
115
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000244_source')" id="l_M000244_source">show source</a> ]</p>
|
116
|
+
<div id="M000244_source" class="dyn-source">
|
117
117
|
<pre>
|
118
118
|
<span class="ruby-comment cmt"># File lib/more/facets/reference.rb, line 50</span>
|
119
119
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">obj</span>)
|
@@ -128,15 +128,15 @@ indirectly. This allows for the object itself to be changed on the fly.
|
|
128
128
|
<div class="sectiontitle">Public Instance methods</div>
|
129
129
|
<div class="method">
|
130
130
|
<div class="title">
|
131
|
-
<a name="
|
131
|
+
<a name="M000247"></a><b>__value__</b>()
|
132
132
|
</div>
|
133
133
|
<div class="aka">
|
134
134
|
This method is also aliased as
|
135
|
-
<a href="Reference.html#
|
135
|
+
<a href="Reference.html#M000248">instance_delegate</a>
|
136
136
|
</div>
|
137
137
|
<div class="sourcecode">
|
138
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
139
|
-
<div id="
|
138
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000247_source')" id="l_M000247_source">show source</a> ]</p>
|
139
|
+
<div id="M000247_source" class="dyn-source">
|
140
140
|
<pre>
|
141
141
|
<span class="ruby-comment cmt"># File lib/more/facets/reference.rb, line 66</span>
|
142
142
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__value__</span>
|
@@ -148,11 +148,11 @@ indirectly. This allows for the object itself to be changed on the fly.
|
|
148
148
|
</div>
|
149
149
|
<div class="method">
|
150
150
|
<div class="title">
|
151
|
-
<a name="
|
151
|
+
<a name="M000246"></a><b>become</b>(obj)
|
152
152
|
</div>
|
153
153
|
<div class="sourcecode">
|
154
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
155
|
-
<div id="
|
154
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000246_source')" id="l_M000246_source">show source</a> ]</p>
|
155
|
+
<div id="M000246_source" class="dyn-source">
|
156
156
|
<pre>
|
157
157
|
<span class="ruby-comment cmt"># File lib/more/facets/reference.rb, line 60</span>
|
158
158
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">become</span>(<span class="ruby-identifier">obj</span>)
|
@@ -166,7 +166,7 @@ indirectly. This allows for the object itself to be changed on the fly.
|
|
166
166
|
</div>
|
167
167
|
<div class="method">
|
168
168
|
<div class="title">
|
169
|
-
<a name="
|
169
|
+
<a name="M000248"></a><b>instance_delegate</b>()
|
170
170
|
</div>
|
171
171
|
<div class="description">
|
172
172
|
<p>
|
@@ -176,11 +176,11 @@ Alias for #<em>value</em>
|
|
176
176
|
</div>
|
177
177
|
<div class="method">
|
178
178
|
<div class="title">
|
179
|
-
<a name="
|
179
|
+
<a name="M000245"></a><b>method_missing</b>(*args, &block)
|
180
180
|
</div>
|
181
181
|
<div class="sourcecode">
|
182
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
183
|
-
<div id="
|
182
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000245_source')" id="l_M000245_source">show source</a> ]</p>
|
183
|
+
<div id="M000245_source" class="dyn-source">
|
184
184
|
<pre>
|
185
185
|
<span class="ruby-comment cmt"># File lib/more/facets/reference.rb, line 56</span>
|
186
186
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -76,9 +76,9 @@
|
|
76
76
|
|
77
77
|
<div class="sectiontitle">Methods</div>
|
78
78
|
<ul>
|
79
|
-
<li><a href="#
|
80
|
-
<li><a href="#
|
81
|
-
<li><a href="#
|
79
|
+
<li><a href="#M000700">register</a></li>
|
80
|
+
<li><a href="#M000701">registry</a></li>
|
81
|
+
<li><a href="#M000702">registry_invalid?</a></li>
|
82
82
|
</ul>
|
83
83
|
|
84
84
|
|
@@ -89,7 +89,7 @@
|
|
89
89
|
<div class="sectiontitle">Public Instance methods</div>
|
90
90
|
<div class="method">
|
91
91
|
<div class="title">
|
92
|
-
<a name="
|
92
|
+
<a name="M000700"></a><b>register</b>(*names)
|
93
93
|
</div>
|
94
94
|
<div class="description">
|
95
95
|
<p>
|
@@ -97,8 +97,8 @@ Register format names.
|
|
97
97
|
</p>
|
98
98
|
</div>
|
99
99
|
<div class="sourcecode">
|
100
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
101
|
-
<div id="
|
100
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000700_source')" id="l_M000700_source">show source</a> ]</p>
|
101
|
+
<div id="M000700_source" class="dyn-source">
|
102
102
|
<pre>
|
103
103
|
<span class="ruby-comment cmt"># File lib/more/facets/registerable.rb, line 13</span>
|
104
104
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">register</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">names</span>)
|
@@ -112,16 +112,16 @@ Register format names.
|
|
112
112
|
</div>
|
113
113
|
<div class="method">
|
114
114
|
<div class="title">
|
115
|
-
<a name="
|
115
|
+
<a name="M000701"></a><b>registry</b>()
|
116
116
|
</div>
|
117
117
|
<div class="description">
|
118
118
|
<p>
|
119
|
-
Access <a href="Registerable.html#
|
119
|
+
Access <a href="Registerable.html#M000701">registry</a>.
|
120
120
|
</p>
|
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('M000701_source')" id="l_M000701_source">show source</a> ]</p>
|
124
|
+
<div id="M000701_source" class="dyn-source">
|
125
125
|
<pre>
|
126
126
|
<span class="ruby-comment cmt"># File lib/more/facets/registerable.rb, line 21</span>
|
127
127
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">registry</span>
|
@@ -133,11 +133,11 @@ Access <a href="Registerable.html#M000673">registry</a>.
|
|
133
133
|
</div>
|
134
134
|
<div class="method">
|
135
135
|
<div class="title">
|
136
|
-
<a name="
|
136
|
+
<a name="M000702"></a><b>registry_invalid?</b>(*types)
|
137
137
|
</div>
|
138
138
|
<div class="sourcecode">
|
139
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
140
|
-
<div id="
|
139
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000702_source')" id="l_M000702_source">show source</a> ]</p>
|
140
|
+
<div id="M000702_source" class="dyn-source">
|
141
141
|
<pre>
|
142
142
|
<span class="ruby-comment cmt"># File lib/more/facets/registerable.rb, line 27</span>
|
143
143
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">registry_invalid?</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">types</span>)
|