facets 2.4.3 → 2.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +1584 -108
- data/MANIFEST +78 -1746
- data/METADATA +1 -1
- data/NEWS +37 -57
- data/demo/bench/bench_load.rb +56 -0
- data/{README.core → doc/README.core} +0 -0
- data/{README.lore → doc/README.lore} +0 -0
- data/{README.more → doc/README.more} +0 -0
- data/doc/{notes → book}/history.rdoc +0 -0
- data/doc/{notes → book}/notes.rdoc +0 -0
- data/doc/news/news-2.0.5 +8 -0
- data/doc/news/news-2.1.0 +9 -0
- data/doc/news/news-2.1.1 +5 -0
- data/doc/news/news-2.1.2 +6 -0
- data/doc/news/news-2.1.3 +5 -0
- data/doc/news/news-2.2.0 +14 -0
- data/doc/news/news-2.2.1 +4 -0
- data/doc/news/news-2.3.0 +6 -0
- data/doc/news/{NEWS-2.4.0 → news-2.4.0} +19 -1
- data/doc/news/news-2.4.1 +8 -0
- data/doc/news/news-2.4.2 +4 -0
- data/doc/news/news-2.4.3 +78 -0
- data/doc/rdoc/core/classes/Array.html +118 -850
- data/doc/rdoc/core/classes/Binding.html +45 -291
- data/doc/rdoc/core/classes/Class.html +20 -244
- data/doc/rdoc/core/classes/Comparable.html +26 -195
- data/doc/rdoc/core/classes/Dir.html +32 -332
- data/doc/rdoc/core/classes/Enumerable.html +152 -1154
- data/doc/rdoc/core/classes/Exception.html +8 -76
- data/doc/rdoc/core/classes/FalseClass.html +8 -8
- data/doc/rdoc/core/classes/File.html +59 -456
- data/doc/rdoc/core/classes/FileTest.html +4 -33
- data/doc/rdoc/core/classes/Float.html +10 -148
- data/doc/rdoc/core/classes/Friend.html +4 -43
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +278 -1930
- data/doc/rdoc/core/classes/Indexable.html +97 -97
- data/doc/rdoc/core/classes/InstanceVariables.html +44 -251
- data/doc/rdoc/core/classes/Integer.html +90 -365
- data/doc/rdoc/core/classes/Kernel.html +365 -2062
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +15 -121
- data/doc/rdoc/core/classes/Module.html +213 -1197
- data/doc/rdoc/core/classes/NilClass.html +22 -79
- data/doc/rdoc/core/classes/Numeric.html +27 -136
- data/doc/rdoc/core/classes/Object.html +52 -4
- data/doc/rdoc/core/classes/Proc.html +23 -228
- data/doc/rdoc/core/classes/Range.html +1 -263
- data/doc/rdoc/core/classes/Regexp.html +14 -110
- data/doc/rdoc/core/classes/Stackable.html +31 -31
- data/doc/rdoc/core/classes/String.html +401 -2464
- data/doc/rdoc/core/classes/Symbol.html +67 -245
- data/doc/rdoc/core/classes/Time.html +157 -459
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +11 -110
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/{README_core.html → doc/README_core.html} +7 -6
- data/doc/rdoc/core/files/lib/core/facets/{module/alias_rb.html → array/index_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +1 -37
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +1 -9
- data/doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +1 -10
- data/doc/rdoc/core/files/lib/core/facets/comparable_rb.html +1 -7
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +1 -11
- data/doc/rdoc/core/files/lib/core/facets/enumerable/group_by_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +1 -27
- data/doc/rdoc/core/files/lib/core/facets/exception_rb.html +1 -6
- data/doc/rdoc/core/files/lib/core/facets/file/split_root_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +1 -9
- data/doc/rdoc/core/files/lib/core/facets/filetest_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/float/round_rb.html +5 -5
- data/doc/rdoc/core/files/lib/core/facets/float_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/hash/except_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/{time/to_date_rb.html → hash/op_push_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/hash/slice_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/update_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +1 -32
- data/doc/rdoc/core/files/lib/core/facets/indexable_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/integer_rb.html +1 -10
- data/doc/rdoc/core/files/lib/core/facets/kernel/instance_exec_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/kernel/qua_class_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/singleton_class_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel/with_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +1 -46
- data/doc/rdoc/core/files/lib/core/facets/matchdata_rb.html +1 -6
- data/doc/rdoc/core/files/lib/core/facets/metaid_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/alias_accessor_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/alias_method_chain_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/alias_module_function_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +1 -27
- data/doc/rdoc/core/files/lib/core/facets/nilclass/ergo_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/nilclass_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +1 -7
- data/doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +1 -9
- data/doc/rdoc/core/files/lib/core/facets/range_rb.html +1 -9
- data/doc/rdoc/core/files/lib/core/facets/regexp_rb.html +1 -6
- data/doc/rdoc/core/files/lib/core/facets/string/chars_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/{kernel/suppress_rb.html → string/op_sub_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/string/subtract_rb.html +9 -1
- data/doc/rdoc/core/files/lib/core/facets/string/variablize_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +1 -38
- data/doc/rdoc/core/files/lib/core/facets/symbol/plain_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol/query_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol/setter_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol/variablize_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +1 -9
- data/doc/rdoc/core/files/lib/core/facets/time/advance_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/time/change_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/elapse_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/hence_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/set_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/time/stamp_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/to_time_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time/trunc_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/time_rb.html +1 -15
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod_rb.html +1 -6
- data/doc/rdoc/core/fr_file_index.html +16 -242
- data/doc/rdoc/core/fr_method_index.html +425 -780
- data/doc/rdoc/core/index.html +1 -1
- data/doc/rdoc/lore/classes/Array.html +16 -16
- data/doc/rdoc/lore/classes/CGI.html +25 -19
- data/doc/rdoc/lore/classes/Config.html +8 -8
- data/doc/rdoc/lore/classes/Continuation.html +4 -4
- data/doc/rdoc/lore/classes/Date.html +425 -47
- data/doc/rdoc/lore/classes/DateTime.html +585 -0
- data/doc/rdoc/lore/classes/File.html +4 -4
- data/doc/rdoc/lore/classes/FileUtils.html +32 -376
- data/doc/rdoc/lore/classes/GetoptLong.html +4 -4
- data/doc/rdoc/lore/classes/GetoptLong/DSL.html +24 -24
- data/doc/rdoc/lore/classes/Kernel.html +137 -0
- data/doc/rdoc/lore/classes/Logger.html +12 -12
- data/doc/rdoc/lore/classes/Logger/Ansicolor.html +40 -40
- data/doc/rdoc/lore/classes/Logger/LogDevice.html +4 -4
- data/doc/rdoc/lore/classes/NilClass.html +5 -5
- data/doc/rdoc/lore/classes/OpenStruct.html +47 -47
- data/doc/rdoc/lore/classes/Pathname.html +126 -40
- data/doc/rdoc/lore/classes/Shellwords.html +4 -4
- data/doc/rdoc/lore/classes/String.html +29 -8
- data/doc/rdoc/lore/classes/Time.html +156 -0
- data/doc/rdoc/lore/classes/URI.html +48 -48
- data/doc/rdoc/lore/classes/URI/Hash.html +4 -4
- data/doc/rdoc/lore/classes/URI/Kernel.html +8 -8
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/lore/files/{README_lore.html → doc/README_lore.html} +4 -4
- data/doc/rdoc/lore/files/lib/lore/facets/basicobject_rb.html +22 -94
- data/doc/rdoc/lore/files/lib/lore/facets/cgi_rb.html +1 -1
- data/doc/rdoc/lore/files/lib/lore/facets/continuation_rb.html +2 -2
- data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +2 -27
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
- data/doc/rdoc/lore/files/lib/lore/facets/pathname_rb.html +1 -15
- data/doc/rdoc/lore/files/lib/lore/facets/yaml_rb.html +2 -1
- data/doc/rdoc/lore/fr_class_index.html +3 -1
- data/doc/rdoc/lore/fr_file_index.html +1 -8
- data/doc/rdoc/lore/fr_method_index.html +125 -93
- data/doc/rdoc/lore/index.html +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/Argvector.html +489 -0
- data/doc/rdoc/more/classes/Association.html +28 -28
- data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
- 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 +8 -61
- data/doc/rdoc/more/classes/BlankSlate.html +131 -0
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/BuildingBlock.html +1 -1
- data/doc/rdoc/more/classes/CLI/Arguments.html +88 -88
- data/doc/rdoc/more/classes/CLI/Command.html +29 -28
- data/doc/rdoc/more/classes/CLI/NoCommandError.html +5 -5
- data/doc/rdoc/more/classes/CLI/NoOptionError.html +5 -5
- 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 +35 -34
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +232 -232
- data/doc/rdoc/more/classes/DictionaryMatcher.html +38 -38
- data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +4 -4
- 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/FileShell.html +174 -174
- 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 +35 -181
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- 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 → Instantize.html} +17 -17
- data/doc/rdoc/more/classes/Interval.html +189 -189
- data/doc/rdoc/more/classes/It.html +12 -12
- 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/more/classes/Module.html +177 -177
- 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 +8 -69
- data/doc/rdoc/more/classes/NullClass.html +24 -24
- 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 +117 -117
- 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/Pool.html +18 -18
- data/doc/rdoc/more/classes/Proc.html +10 -10
- 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 +6 -23
- data/doc/rdoc/more/classes/Random/Array.html +52 -52
- data/doc/rdoc/more/classes/Random/Hash.html +64 -64
- data/doc/rdoc/more/classes/Random/Object.html +5 -5
- data/doc/rdoc/more/classes/Random/String.html +46 -46
- data/doc/rdoc/more/classes/Random/String/Self.html +13 -13
- 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/Rope.html +434 -0
- 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/String/Mask.html +557 -0
- data/doc/rdoc/more/classes/String/Style.html +146 -147
- data/doc/rdoc/more/classes/String/Words.html +31 -272
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +50 -50
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/TracePoint.html +58 -58
- 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 +82 -56
- 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/{README_more.html → doc/README_more.html} +3 -3
- data/doc/rdoc/more/files/lib/more/facets/annotations_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/arguments_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/argvector_rb.html +142 -0
- data/doc/rdoc/more/files/lib/more/facets/bicrypt_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/blankslate_rb.html +92 -0
- data/doc/rdoc/more/files/lib/more/facets/buildable_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/bytes_rb.html +1 -78
- data/doc/rdoc/more/files/lib/more/facets/command_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/coroutine_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/elementor_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/fileshell_rb.html +1 -29
- data/doc/rdoc/more/files/lib/more/facets/inheritor_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/instantise_rb.html +5 -54
- data/doc/rdoc/more/files/lib/more/facets/instantize_rb.html +160 -0
- data/doc/rdoc/more/files/lib/more/facets/interval_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/multipliers_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/openobject_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/random_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/recorder_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/reflection_rb.html +1 -2
- data/doc/rdoc/more/files/lib/more/facets/rope_rb.html +98 -0
- data/doc/rdoc/{core/files/lib/core/facets/string/to_time_rb.html → more/files/lib/more/facets/string/mask_rb.html} +5 -5
- data/doc/rdoc/more/files/lib/more/facets/{style_rb.html → string/style_rb.html} +4 -4
- data/doc/rdoc/more/files/lib/more/facets/timer_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/typecast_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/version_rb.html +2 -3
- data/doc/rdoc/more/fr_class_index.html +5 -2
- data/doc/rdoc/more/fr_file_index.html +7 -8
- data/doc/rdoc/more/fr_method_index.html +940 -926
- data/doc/rdoc/more/index.html +1 -1
- data/lib/core/facets-load.rb +12 -0
- data/lib/core/facets.rb +1 -1
- data/lib/core/facets/array.rb +5 -25
- data/lib/core/facets/array/index.rb +23 -0
- data/lib/core/facets/binding.rb +5 -6
- data/lib/core/facets/class.rb +5 -6
- data/lib/core/facets/class/descendents.rb +10 -2
- data/lib/core/facets/comparable.rb +5 -3
- data/lib/core/facets/dir.rb +5 -6
- data/lib/core/facets/enumerable.rb +5 -23
- data/lib/core/facets/enumerable/group_by.rb +2 -2
- data/lib/core/facets/exception.rb +6 -2
- data/lib/core/facets/file.rb +5 -5
- data/lib/core/facets/file/split_root.rb +10 -0
- data/lib/core/facets/filetest.rb +6 -1
- data/lib/core/facets/float.rb +6 -1
- data/lib/core/facets/float/round.rb +1 -35
- data/lib/core/facets/hash.rb +5 -28
- data/lib/core/facets/hash/except.rb +15 -11
- data/lib/core/facets/hash/op_push.rb +17 -0
- data/lib/core/facets/hash/slice.rb +21 -13
- data/lib/core/facets/hash/update.rb +19 -13
- data/lib/core/facets/indexable.rb +1 -0
- data/lib/core/facets/integer.rb +5 -7
- data/lib/core/facets/kernel.rb +5 -44
- data/lib/core/facets/kernel/instance_exec.rb +29 -8
- data/lib/core/facets/kernel/qua_class.rb +19 -0
- data/lib/core/facets/kernel/singleton_class.rb +6 -1
- data/lib/core/facets/kernel/with.rb +1 -1
- data/lib/core/facets/matchdata.rb +5 -3
- data/lib/core/facets/metaid.rb +0 -51
- data/lib/core/facets/module.rb +5 -23
- data/lib/core/facets/module/alias_accessor.rb +45 -0
- data/lib/core/facets/module/{alias.rb → alias_method_chain.rb} +0 -65
- data/lib/core/facets/module/alias_module_function.rb +30 -0
- data/lib/core/facets/module/instance_methods.rb +2 -2
- data/lib/core/facets/nilclass.rb +5 -2
- data/lib/core/facets/nilclass/ergo.rb +1 -0
- data/lib/core/facets/nilclass/to_f.rb +2 -2
- data/lib/core/facets/numeric.rb +5 -3
- data/lib/core/facets/numeric/round.rb +21 -0
- data/lib/core/facets/proc.rb +5 -5
- data/lib/core/facets/range.rb +5 -5
- data/lib/core/facets/regexp.rb +5 -2
- data/lib/core/facets/string.rb +5 -36
- data/lib/core/facets/string/chars.rb +3 -3
- data/lib/core/facets/string/each_char.rb +15 -6
- data/lib/core/facets/string/op_sub.rb +14 -0
- data/lib/core/facets/string/subtract.rb +3 -13
- data/lib/core/facets/string/variablize.rb +12 -0
- data/lib/core/facets/symbol.rb +5 -5
- data/lib/core/facets/symbol/plain.rb +44 -0
- data/lib/core/facets/symbol/query.rb +1 -0
- data/lib/core/facets/symbol/setter.rb +1 -0
- data/lib/core/facets/symbol/variablize.rb +12 -0
- data/lib/core/facets/time.rb +5 -12
- data/lib/core/facets/time/advance.rb +17 -0
- data/lib/core/facets/time/change.rb +16 -22
- data/lib/core/facets/time/elapse.rb +2 -2
- data/lib/core/facets/time/hence.rb +83 -50
- data/lib/core/facets/time/set.rb +21 -1
- data/lib/core/facets/time/stamp.rb +2 -4
- data/lib/core/facets/time/to_time.rb +8 -2
- data/lib/core/facets/unboundmethod.rb +5 -2
- data/lib/lore/facets/basicobject.rb +8 -257
- data/lib/lore/facets/cgi.rb +1 -1
- data/lib/lore/facets/date.rb +349 -43
- data/lib/lore/facets/ostruct.rb +1 -1
- data/lib/lore/facets/pathname.rb +41 -10
- data/lib/more/facets/annotations.rb +2 -0
- data/lib/more/facets/arguments.rb +2 -0
- data/lib/more/facets/argvector.rb +353 -0
- data/lib/more/facets/bicrypt.rb +1 -1
- data/lib/more/facets/blankslate.rb +66 -0
- data/lib/more/facets/buildable.rb +1 -1
- data/lib/more/facets/bytes.rb +2 -0
- data/lib/more/facets/command.rb +4 -1
- data/lib/more/facets/coroutine.rb +1 -0
- data/lib/more/facets/dictionary.rb +4 -4
- data/lib/more/facets/elementor.rb +1 -1
- data/lib/more/facets/fileshell.rb +2 -0
- data/lib/more/facets/inheritor.rb +9 -5
- data/lib/more/facets/instantise.rb +1 -92
- data/lib/more/facets/instantize.rb +95 -0
- data/lib/more/facets/interval.rb +2 -2
- data/lib/more/facets/multipliers.rb +4 -4
- data/lib/more/facets/openobject.rb +6 -1
- data/lib/more/facets/random.rb +25 -22
- data/lib/more/facets/recorder.rb +1 -1
- data/lib/more/facets/rope.rb +131 -0
- data/lib/more/facets/string/mask.rb +278 -0
- data/lib/more/facets/{style.rb → string/style.rb} +7 -6
- data/lib/more/facets/typecast.rb +1 -1
- data/lib/more/facets/version.rb +14 -0
- data/test/core/binding/test_local_variables.rb +1 -1
- data/test/core/enumerable/test_group_by.rb +7 -2
- data/test/core/hash/test_slice.rb +20 -0
- data/test/core/kernel/test_tap.rb +1 -1
- data/test/core/module/test_alias.rb +2 -1
- data/test/core/module/test_revise.rb +2 -2
- data/test/lore/test_basicobject.rb +26 -26
- data/test/lore/test_date.rb +9 -0
- data/test/lore/test_ostruct.rb +5 -5
- data/test/more/test_class_extension.rb +1 -1
- data/test/more/test_classmethods.rb +5 -5
- data/test/more/test_dictionary.rb +1 -1
- data/test/more/test_instantise.rb +2 -4
- data/test/more/test_interval.rb +4 -4
- data/test/more/test_linkedlist.rb +1 -1
- data/test/more/test_multipliers.rb +1 -1
- data/test/more/test_multiton.rb +1 -1
- data/test/more/test_random.rb +1 -1
- data/test/more/test_style.rb +1 -1
- data/test/more/test_typecast.rb +1 -1
- data/test/test_facets.rb +9 -0
- metadata +82 -1753
- data/doc/rdoc/lore/classes/BasicObject.html +0 -259
- data/doc/rdoc/more/classes/Kernel.html +0 -641
- data/doc/ri/ANSICode/cdesc-ANSICode.yaml +0 -60
- data/doc/ri/ANSICode/clear_line-i.yaml +0 -13
- data/doc/ri/ANSICode/clear_screen-i.yaml +0 -13
- data/doc/ri/ANSICode/clr-i.yaml +0 -12
- data/doc/ri/ANSICode/cls-i.yaml +0 -12
- data/doc/ri/ANSICode/colors-i.yaml +0 -10
- data/doc/ri/ANSICode/define_ansicolor_method-c.yaml +0 -12
- data/doc/ri/ANSICode/display-i.yaml +0 -12
- data/doc/ri/ANSICode/down-i.yaml +0 -12
- data/doc/ri/ANSICode/left-i.yaml +0 -12
- data/doc/ri/ANSICode/move-i.yaml +0 -12
- data/doc/ri/ANSICode/restore-i.yaml +0 -12
- data/doc/ri/ANSICode/right-i.yaml +0 -12
- data/doc/ri/ANSICode/save-i.yaml +0 -12
- data/doc/ri/ANSICode/uncolored-i.yaml +0 -10
- data/doc/ri/ANSICode/up-i.yaml +0 -12
- data/doc/ri/Advisable/Method/advice_after%3d-i.yaml +0 -10
- data/doc/ri/Advisable/Method/advice_around%3d-i.yaml +0 -10
- data/doc/ri/Advisable/Method/advice_before%3d-i.yaml +0 -10
- data/doc/ri/Advisable/Method/advised%3f-i.yaml +0 -10
- data/doc/ri/Advisable/Method/call_with_advice-i.yaml +0 -12
- data/doc/ri/Advisable/Method/cdesc-Method.yaml +0 -43
- data/doc/ri/Advisable/Method/lambda_target-i.yaml +0 -12
- data/doc/ri/Advisable/advice_after-i.yaml +0 -10
- data/doc/ri/Advisable/advice_around-i.yaml +0 -10
- data/doc/ri/Advisable/advice_before-i.yaml +0 -10
- data/doc/ri/Advisable/advise-i.yaml +0 -12
- data/doc/ri/Advisable/after-i.yaml +0 -10
- data/doc/ri/Advisable/around-i.yaml +0 -10
- data/doc/ri/Advisable/before-i.yaml +0 -10
- data/doc/ri/Advisable/cdesc-Advisable.yaml +0 -35
- data/doc/ri/Advisable/method_added-i.yaml +0 -16
- data/doc/ri/Archive/Tar/Minitar/BlockRequired/cdesc-BlockRequired.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/ClosedStream/cdesc-ClosedStream.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/FileNameTooLong/cdesc-FileNameTooLong.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/Input/cdesc-Input.yaml +0 -30
- data/doc/ri/Archive/Tar/Minitar/Input/close-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Input/each-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Input/extract_entry-i.yaml +0 -43
- data/doc/ri/Archive/Tar/Minitar/Input/fsync_dir-i.yaml +0 -10
- data/doc/ri/Archive/Tar/Minitar/Input/new-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Input/open-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Input/tar-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/NonSeekableStream/cdesc-NonSeekableStream.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/Output/cdesc-Output.yaml +0 -23
- data/doc/ri/Archive/Tar/Minitar/Output/close-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Output/new-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Output/open-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Output/tar-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Reader/EntryStream/cdesc-EntryStream.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/Reader/InvalidEntryStream/cdesc-InvalidEntryStream.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/Reader/cdesc-Reader.yaml +0 -27
- data/doc/ri/Archive/Tar/Minitar/Reader/close-i.yaml +0 -10
- data/doc/ri/Archive/Tar/Minitar/Reader/each-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Reader/each_entry-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Reader/new-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Reader/open-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Reader/rewind-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/UnexpectedEOF/cdesc-UnexpectedEOF.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/Writer/BoundedStream/FileOverflow/cdesc-FileOverflow.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/Writer/BoundedStream/cdesc-BoundedStream.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/Writer/RestrictedStream/cdesc-RestrictedStream.yaml +0 -17
- data/doc/ri/Archive/Tar/Minitar/Writer/add_file-i.yaml +0 -34
- data/doc/ri/Archive/Tar/Minitar/Writer/add_file_simple-i.yaml +0 -33
- data/doc/ri/Archive/Tar/Minitar/Writer/cdesc-Writer.yaml +0 -31
- data/doc/ri/Archive/Tar/Minitar/Writer/close-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Writer/flush-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Writer/mkdir-i.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Writer/new-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Writer/open-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/Writer/split_name-i.yaml +0 -10
- data/doc/ri/Archive/Tar/Minitar/cdesc-Minitar.yaml +0 -68
- data/doc/ri/Archive/Tar/Minitar/dir%3f-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/open-c.yaml +0 -12
- data/doc/ri/Archive/Tar/Minitar/pack-c.yaml +0 -14
- data/doc/ri/Archive/Tar/Minitar/pack_file-c.yaml +0 -75
- data/doc/ri/Archive/Tar/Minitar/unpack-c.yaml +0 -12
- data/doc/ri/Archive/Tar/PosixHeader/cdesc-PosixHeader.yaml +0 -53
- data/doc/ri/Archive/Tar/cdesc-Tar.yaml +0 -15
- data/doc/ri/Archive/cdesc-Archive.yaml +0 -16
- data/doc/ri/Array/cdesc-Array.yaml +0 -17
- data/doc/ri/As/cdesc-As.yaml +0 -19
- data/doc/ri/Association/%3c%3d%3e-i.yaml +0 -10
- data/doc/ri/Association/%5b%5d-c.yaml +0 -10
- data/doc/ri/Association/Kernel/%3e%3e-i.yaml +0 -12
- data/doc/ri/Association/Kernel/associations-i.yaml +0 -10
- data/doc/ri/Association/Kernel/cdesc-Kernel.yaml +0 -20
- data/doc/ri/Association/cdesc-Association.yaml +0 -67
- data/doc/ri/Association/inspect-i.yaml +0 -10
- data/doc/ri/Association/invert%21-i.yaml +0 -10
- data/doc/ri/Association/new-c.yaml +0 -10
- data/doc/ri/Association/to_ary-i.yaml +0 -10
- data/doc/ri/Association/to_s-i.yaml +0 -10
- data/doc/ri/Autoarray/%5b%5d%3d-i.yaml +0 -10
- data/doc/ri/Autoarray/%5b%5d-i.yaml +0 -10
- data/doc/ri/Autoarray/cdesc-Autoarray.yaml +0 -26
- data/doc/ri/Autoarray/new-c.yaml +0 -10
- data/doc/ri/BBCode/ansi-c.yaml +0 -12
- data/doc/ri/BBCode/ansi_to_bbcode-c.yaml +0 -12
- data/doc/ri/BBCode/ansi_to_html-c.yaml +0 -12
- data/doc/ri/BBCode/bbcode_to_ansi-c.yaml +0 -12
- data/doc/ri/BBCode/bbcode_to_html-c.yaml +0 -12
- data/doc/ri/BBCode/cdesc-BBCode.yaml +0 -59
- data/doc/ri/BBCode/html_to_ansi-c.yaml +0 -12
- data/doc/ri/BBCode/html_to_bbcode-c.yaml +0 -12
- data/doc/ri/BBCode/strip_bbcode-c.yaml +0 -12
- data/doc/ri/BaseX/cdesc-BaseX.yaml +0 -27
- data/doc/ri/BaseX/convert_base-i.yaml +0 -10
- data/doc/ri/BaseX/decode-i.yaml +0 -10
- data/doc/ri/BaseX/encode-i.yaml +0 -10
- data/doc/ri/BaseX/new-c.yaml +0 -10
- data/doc/ri/BasicObject/__self__-i.yaml +0 -12
- data/doc/ri/BasicObject/cdesc-BasicObject.yaml +0 -53
- data/doc/ri/BasicObject/hide-c.yaml +0 -12
- data/doc/ri/BasicObject/object_self-i.yaml +0 -13
- data/doc/ri/BiCrypt/block_size-i.yaml +0 -10
- data/doc/ri/BiCrypt/carefully_open_file-i.yaml +0 -10
- data/doc/ri/BiCrypt/cdesc-BiCrypt.yaml +0 -53
- data/doc/ri/BiCrypt/decrypt_block-i.yaml +0 -10
- data/doc/ri/BiCrypt/decrypt_file-i.yaml +0 -10
- data/doc/ri/BiCrypt/decrypt_pair-i.yaml +0 -10
- data/doc/ri/BiCrypt/decrypt_stream-i.yaml +0 -10
- data/doc/ri/BiCrypt/decrypt_string-i.yaml +0 -10
- data/doc/ri/BiCrypt/encrypt_block-i.yaml +0 -10
- data/doc/ri/BiCrypt/encrypt_file-i.yaml +0 -10
- data/doc/ri/BiCrypt/encrypt_pair-i.yaml +0 -10
- data/doc/ri/BiCrypt/encrypt_stream-i.yaml +0 -10
- data/doc/ri/BiCrypt/encrypt_string-i.yaml +0 -10
- data/doc/ri/BiCrypt/f-i.yaml +0 -10
- data/doc/ri/BiCrypt/generate_initialization_vector-i.yaml +0 -12
- data/doc/ri/BiCrypt/new-c.yaml +0 -10
- data/doc/ri/BiCrypt/precalculate_S_table-i.yaml +0 -10
- data/doc/ri/BigDuration/cdesc-BigDuration.yaml +0 -41
- data/doc/ri/BigDuration/each-i.yaml +0 -12
- data/doc/ri/BigDuration/months%3d-i.yaml +0 -12
- data/doc/ri/BigDuration/new-c.yaml +0 -12
- data/doc/ri/BigDuration/seconds-i.yaml +0 -12
- data/doc/ri/BigDuration/strftime-i.yaml +0 -16
- data/doc/ri/BigDuration/years%3d-i.yaml +0 -12
- data/doc/ri/BinReadable/ByteOrder/big%3f-i.yaml +0 -12
- data/doc/ri/BinReadable/ByteOrder/big_endian%3f-i.yaml +0 -13
- data/doc/ri/BinReadable/ByteOrder/byte_order-i.yaml +0 -13
- data/doc/ri/BinReadable/ByteOrder/byteorder-i.yaml +0 -12
- data/doc/ri/BinReadable/ByteOrder/cdesc-ByteOrder.yaml +0 -39
- data/doc/ri/BinReadable/ByteOrder/little%3f-i.yaml +0 -12
- data/doc/ri/BinReadable/ByteOrder/little_endian%3f-i.yaml +0 -11
- data/doc/ri/BinReadable/ByteOrder/network%3f-i.yaml +0 -12
- data/doc/ri/BinReadable/byte_order%3d-i.yaml +0 -11
- data/doc/ri/BinReadable/byte_order-i.yaml +0 -13
- data/doc/ri/BinReadable/byteorder%3d-i.yaml +0 -12
- data/doc/ri/BinReadable/byteorder-i.yaml +0 -12
- data/doc/ri/BinReadable/cdesc-BinReadable.yaml +0 -65
- data/doc/ri/BinReadable/read_cstring-i.yaml +0 -10
- data/doc/ri/BinReadable/read_int16_big-i.yaml +0 -10
- data/doc/ri/BinReadable/read_int16_little-i.yaml +0 -10
- data/doc/ri/BinReadable/read_int16_native-i.yaml +0 -13
- data/doc/ri/BinReadable/read_int32_big-i.yaml +0 -10
- data/doc/ri/BinReadable/read_int32_little-i.yaml +0 -10
- data/doc/ri/BinReadable/read_int32_native-i.yaml +0 -13
- data/doc/ri/BinReadable/read_int8-i.yaml +0 -10
- data/doc/ri/BinReadable/read_uint8-i.yaml +0 -12
- data/doc/ri/BinReadable/read_word16_big-i.yaml +0 -10
- data/doc/ri/BinReadable/read_word16_little-i.yaml +0 -10
- data/doc/ri/BinReadable/read_word16_native-i.yaml +0 -13
- data/doc/ri/BinReadable/read_word32_big-i.yaml +0 -10
- data/doc/ri/BinReadable/read_word32_little-i.yaml +0 -10
- data/doc/ri/BinReadable/read_word32_native-i.yaml +0 -13
- data/doc/ri/BinReadable/read_word8-i.yaml +0 -13
- data/doc/ri/BinReadable/readn-i.yaml +0 -12
- data/doc/ri/BinReadable/ru-i.yaml +0 -12
- data/doc/ri/BinReadable/ru_swap-i.yaml +0 -12
- data/doc/ri/Binding/%5b%5d%3d-i.yaml +0 -14
- data/doc/ri/Binding/%5b%5d-i.yaml +0 -14
- data/doc/ri/Binding/__DIR__-i.yaml +0 -12
- data/doc/ri/Binding/__FILE__-i.yaml +0 -12
- data/doc/ri/Binding/__LINE__-i.yaml +0 -12
- data/doc/ri/Binding/__callee__-i.yaml +0 -14
- data/doc/ri/Binding/__method__-i.yaml +0 -14
- data/doc/ri/Binding/caller-i.yaml +0 -12
- data/doc/ri/Binding/callstack-i.yaml +0 -12
- data/doc/ri/Binding/cdesc-Binding.yaml +0 -40
- data/doc/ri/Binding/defined%3f-i.yaml +0 -12
- data/doc/ri/Binding/eval-i.yaml +0 -12
- data/doc/ri/Binding/local_variables-i.yaml +0 -14
- data/doc/ri/Binding/self-i.yaml +0 -12
- data/doc/ri/Buildable/cdesc-Buildable.yaml +0 -29
- data/doc/ri/Buildable/included-c.yaml +0 -10
- data/doc/ri/BuildingBlock/%3c%3c-i.yaml +0 -12
- data/doc/ri/BuildingBlock/build%21-i.yaml +0 -11
- data/doc/ri/BuildingBlock/cdesc-BuildingBlock.yaml +0 -57
- data/doc/ri/BuildingBlock/inspect-i.yaml +0 -12
- data/doc/ri/BuildingBlock/method_missing-i.yaml +0 -11
- data/doc/ri/BuildingBlock/new-c.yaml +0 -11
- data/doc/ri/BuildingBlock/to_buffer-i.yaml +0 -12
- data/doc/ri/BuildingBlock/to_s-i.yaml +0 -12
- data/doc/ri/BuildingBlock/to_str-i.yaml +0 -10
- data/doc/ri/CGI/cdesc-CGI.yaml +0 -25
- data/doc/ri/CGI/esc-i.yaml +0 -12
- data/doc/ri/CGI/escformat-i.yaml +0 -12
- data/doc/ri/CGI/marshal_from_cgi-i.yaml +0 -12
- data/doc/ri/CGI/marshal_to_cgi-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/arguments-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/assoc_options-i.yaml +0 -14
- data/doc/ri/CLI/Arguments/cdesc-Arguments.yaml +0 -77
- data/doc/ri/CLI/Arguments/flags-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/format_options-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/multi_flag-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/new-c.yaml +0 -12
- data/doc/ri/CLI/Arguments/operands-i.yaml +0 -13
- data/doc/ri/CLI/Arguments/options-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/parameters-c.yaml +0 -10
- data/doc/ri/CLI/Arguments/parameters-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/parameters_without_duplicates-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/parse-i.yaml +0 -14
- data/doc/ri/CLI/Arguments/parse_arity-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/parse_line-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/parse_preoptions-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/preflags-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/preoptions-i.yaml +0 -14
- data/doc/ri/CLI/Arguments/subcommand-i.yaml +0 -12
- data/doc/ri/CLI/Arguments/subcommand_with_arguments-i.yaml +0 -14
- data/doc/ri/CLI/Arguments/subcommand_with_parameters-i.yaml +0 -13
- data/doc/ri/CLI/Arguments/subcommand_with_preoptions-i.yaml +0 -11
- data/doc/ri/CLI/Command/UniversalOptions/cdesc-UniversalOptions.yaml +0 -17
- data/doc/ri/CLI/Command/call-i.yaml +0 -12
- data/doc/ri/CLI/Command/cdesc-Command.yaml +0 -50
- data/doc/ri/CLI/Command/command_missing-i.yaml +0 -11
- data/doc/ri/CLI/Command/commands-i.yaml +0 -11
- data/doc/ri/CLI/Command/default-i.yaml +0 -12
- data/doc/ri/CLI/Command/initialize_arguments-i.yaml +0 -11
- data/doc/ri/CLI/Command/initialize_options-i.yaml +0 -11
- data/doc/ri/CLI/Command/new-c.yaml +0 -11
- data/doc/ri/CLI/Command/option_arity-c.yaml +0 -11
- data/doc/ri/CLI/Command/option_missing-i.yaml +0 -11
- data/doc/ri/CLI/Command/start-c.yaml +0 -11
- data/doc/ri/CLI/Command/subcommand-c.yaml +0 -12
- data/doc/ri/CLI/NoCommandError/cdesc-NoCommandError.yaml +0 -16
- data/doc/ri/CLI/NoCommandError/new-c.yaml +0 -10
- data/doc/ri/CLI/NoOptionError/cdesc-NoOptionError.yaml +0 -18
- data/doc/ri/CLI/NoOptionError/new-c.yaml +0 -10
- data/doc/ri/CLI/cdesc-CLI.yaml +0 -20
- data/doc/ri/CacheDecorator/cache-c.yaml +0 -10
- data/doc/ri/CacheDecorator/cdesc-CacheDecorator.yaml +0 -45
- data/doc/ri/CacheDecorator/method_missing-i.yaml +0 -10
- data/doc/ri/CacheDecorator/new-c.yaml +0 -10
- data/doc/ri/CacheDecorator/self-i.yaml +0 -10
- data/doc/ri/CacheDecorator/uncache-c.yaml +0 -10
- data/doc/ri/Capsule/MissingFile/cdesc-MissingFile.yaml +0 -17
- data/doc/ri/Capsule/cdesc-Capsule.yaml +0 -55
- data/doc/ri/Capsule/include-i.yaml +0 -11
- data/doc/ri/Capsule/include_script-i.yaml +0 -10
- data/doc/ri/Capsule/load-c.yaml +0 -12
- data/doc/ri/Capsule/load-i.yaml +0 -16
- data/doc/ri/Capsule/load_in_module-i.yaml +0 -12
- data/doc/ri/Capsule/load_path_lookup-i.yaml +0 -12
- data/doc/ri/Capsule/new-c.yaml +0 -12
- data/doc/ri/Capsule/require-i.yaml +0 -14
- data/doc/ri/Chain/%7e-i.yaml +0 -10
- data/doc/ri/Chain/cdesc-Chain.yaml +0 -36
- data/doc/ri/Chain/end-i.yaml +0 -16
- data/doc/ri/Chain/method_missing-i.yaml +0 -10
- data/doc/ri/Chain/new-c.yaml +0 -10
- data/doc/ri/Class/cdesc-Class.yaml +0 -17
- data/doc/ri/Cloneable/cdesc-Cloneable.yaml +0 -21
- data/doc/ri/Cloneable/initialize_copy-i.yaml +0 -10
- data/doc/ri/Comparable/at_least-i.yaml +0 -14
- data/doc/ri/Comparable/at_most-i.yaml +0 -14
- data/doc/ri/Comparable/bound-i.yaml +0 -15
- data/doc/ri/Comparable/cap-i.yaml +0 -14
- data/doc/ri/Comparable/cdesc-Comparable.yaml +0 -26
- data/doc/ri/Comparable/clip-i.yaml +0 -12
- data/doc/ri/Comparable/cmp-i.yaml +0 -18
- data/doc/ri/Config/cdesc-Config.yaml +0 -18
- data/doc/ri/Config/datadir-c.yaml +0 -16
- data/doc/ri/Config/inspect-c.yaml +0 -10
- data/doc/ri/Console/cdesc-Console.yaml +0 -17
- data/doc/ri/ConsoleUtils/ask-i.yaml +0 -12
- data/doc/ri/ConsoleUtils/cdesc-ConsoleUtils.yaml +0 -27
- data/doc/ri/ConsoleUtils/password-i.yaml +0 -12
- data/doc/ri/ConsoleUtils/print_justified-i.yaml +0 -14
- data/doc/ri/ConsoleUtils/screen_width-i.yaml +0 -14
- data/doc/ri/Continuation/cdesc-Continuation.yaml +0 -16
- data/doc/ri/Continuation/create-c.yaml +0 -10
- data/doc/ri/Coroutine/%5b%5d%3d-i.yaml +0 -10
- data/doc/ri/Coroutine/%5b%5d-i.yaml +0 -10
- data/doc/ri/Coroutine/cdesc-Coroutine.yaml +0 -42
- data/doc/ri/Coroutine/continue-i.yaml +0 -10
- data/doc/ri/Coroutine/new-c.yaml +0 -10
- data/doc/ri/Coroutine/resume-i.yaml +0 -10
- data/doc/ri/Coroutine/run-i.yaml +0 -10
- data/doc/ri/Coroutine/stop-i.yaml +0 -10
- data/doc/ri/Crypt/cdesc-Crypt.yaml +0 -28
- data/doc/ri/Crypt/check-c.yaml +0 -12
- data/doc/ri/Crypt/crypt-c.yaml +0 -20
- data/doc/ri/Crypt/generate_salt-c.yaml +0 -12
- data/doc/ri/CssFilter/accept_host-i.yaml +0 -11
- data/doc/ri/CssFilter/cdesc-CssFilter.yaml +0 -98
- data/doc/ri/CssFilter/clean_properties-i.yaml +0 -14
- data/doc/ri/CssFilter/clean_value-i.yaml +0 -11
- data/doc/ri/CssFilter/filter-i.yaml +0 -11
- data/doc/ri/CssFilter/new-c.yaml +0 -11
- data/doc/ri/CssFilter/parse-i.yaml +0 -14
- data/doc/ri/CssFilter/remove_blanklines-i.yaml +0 -11
- data/doc/ri/CssFilter/remove_comments-i.yaml +0 -11
- data/doc/ri/CssFilter/remove_nullvalues-i.yaml +0 -11
- data/doc/ri/CssFilter/remove_urls-i.yaml +0 -12
- data/doc/ri/CssFilter/remove_whitespace-i.yaml +0 -11
- data/doc/ri/CssTree/cdesc-CssTree.yaml +0 -19
- data/doc/ri/CssTree/new-c.yaml +0 -10
- data/doc/ri/CssTree/to_css-i.yaml +0 -12
- data/doc/ri/Date/cdesc-Date.yaml +0 -28
- data/doc/ri/Date/days_in_month-i.yaml +0 -14
- data/doc/ri/Date/days_of_month-i.yaml +0 -10
- data/doc/ri/Date/month_name-i.yaml +0 -14
- data/doc/ri/Date/stamp-i.yaml +0 -13
- data/doc/ri/Date/to_date-i.yaml +0 -12
- data/doc/ri/Date/to_s-i.yaml +0 -12
- data/doc/ri/Date/to_time-i.yaml +0 -12
- data/doc/ri/Dictionary/%3c%3c-i.yaml +0 -10
- data/doc/ri/Dictionary/%3d%3d-i.yaml +0 -16
- data/doc/ri/Dictionary/%5b%5d%3d-i.yaml +0 -18
- data/doc/ri/Dictionary/%5b%5d-c.yaml +0 -10
- data/doc/ri/Dictionary/%5b%5d-i.yaml +0 -10
- data/doc/ri/Dictionary/alpha-c.yaml +0 -18
- data/doc/ri/Dictionary/auto-c.yaml +0 -14
- data/doc/ri/Dictionary/cdesc-Dictionary.yaml +0 -150
- data/doc/ri/Dictionary/clear-i.yaml +0 -10
- data/doc/ri/Dictionary/delete-i.yaml +0 -10
- data/doc/ri/Dictionary/delete_if-i.yaml +0 -10
- data/doc/ri/Dictionary/dup-i.yaml +0 -10
- data/doc/ri/Dictionary/each-i.yaml +0 -11
- data/doc/ri/Dictionary/each_key-i.yaml +0 -10
- data/doc/ri/Dictionary/each_pair-i.yaml +0 -12
- data/doc/ri/Dictionary/each_value-i.yaml +0 -10
- data/doc/ri/Dictionary/empty%3f-i.yaml +0 -10
- data/doc/ri/Dictionary/fetch-i.yaml +0 -10
- data/doc/ri/Dictionary/first-i.yaml +0 -11
- data/doc/ri/Dictionary/has_key%3f-i.yaml +0 -10
- data/doc/ri/Dictionary/insert-i.yaml +0 -10
- data/doc/ri/Dictionary/inspect-i.yaml +0 -10
- data/doc/ri/Dictionary/invert-i.yaml +0 -10
- data/doc/ri/Dictionary/key%3f-i.yaml +0 -10
- data/doc/ri/Dictionary/keys-i.yaml +0 -10
- data/doc/ri/Dictionary/last-i.yaml +0 -11
- data/doc/ri/Dictionary/length-i.yaml +0 -11
- data/doc/ri/Dictionary/merge%21-i.yaml +0 -12
- data/doc/ri/Dictionary/merge-i.yaml +0 -10
- data/doc/ri/Dictionary/new-c.yaml +0 -12
- data/doc/ri/Dictionary/new_by-c.yaml +0 -12
- data/doc/ri/Dictionary/order-i.yaml +0 -10
- data/doc/ri/Dictionary/order_by-i.yaml +0 -12
- data/doc/ri/Dictionary/order_by_key-i.yaml +0 -20
- data/doc/ri/Dictionary/order_by_value-i.yaml +0 -18
- data/doc/ri/Dictionary/pop-i.yaml +0 -10
- data/doc/ri/Dictionary/push-i.yaml +0 -10
- data/doc/ri/Dictionary/reject%21-i.yaml +0 -10
- data/doc/ri/Dictionary/reject-i.yaml +0 -10
- data/doc/ri/Dictionary/reorder-i.yaml +0 -11
- data/doc/ri/Dictionary/replace-i.yaml +0 -10
- data/doc/ri/Dictionary/reverse%21-i.yaml +0 -10
- data/doc/ri/Dictionary/reverse-i.yaml +0 -10
- data/doc/ri/Dictionary/select-i.yaml +0 -10
- data/doc/ri/Dictionary/shift-i.yaml +0 -10
- data/doc/ri/Dictionary/size-i.yaml +0 -12
- data/doc/ri/Dictionary/store-i.yaml +0 -10
- data/doc/ri/Dictionary/to_a-i.yaml +0 -10
- data/doc/ri/Dictionary/to_h-i.yaml +0 -10
- data/doc/ri/Dictionary/to_hash-i.yaml +0 -10
- data/doc/ri/Dictionary/to_s-i.yaml +0 -10
- data/doc/ri/Dictionary/unshift-i.yaml +0 -10
- data/doc/ri/Dictionary/update-i.yaml +0 -11
- data/doc/ri/Dictionary/values-i.yaml +0 -10
- data/doc/ri/DictionaryMatcher/%3c%3c-i.yaml +0 -12
- data/doc/ri/DictionaryMatcher/%3d%3d%3d-i.yaml +0 -12
- data/doc/ri/DictionaryMatcher/%3d%7e-i.yaml +0 -13
- data/doc/ri/DictionaryMatcher/MatchData/cdesc-MatchData.yaml +0 -18
- data/doc/ri/DictionaryMatcher/MatchData/inspect-i.yaml +0 -10
- data/doc/ri/DictionaryMatcher/add-i.yaml +0 -13
- data/doc/ri/DictionaryMatcher/cdesc-DictionaryMatcher.yaml +0 -38
- data/doc/ri/DictionaryMatcher/compute_failure_function-i.yaml +0 -10
- data/doc/ri/DictionaryMatcher/include%3f-i.yaml +0 -12
- data/doc/ri/DictionaryMatcher/inspect-i.yaml +0 -10
- data/doc/ri/DictionaryMatcher/internal_match-i.yaml +0 -10
- data/doc/ri/DictionaryMatcher/match-i.yaml +0 -12
- data/doc/ri/DictionaryMatcher/new-c.yaml +0 -12
- data/doc/ri/DictionaryMatcher/scan-i.yaml +0 -12
- data/doc/ri/Dir/ascend-c.yaml +0 -18
- data/doc/ri/Dir/cdesc-Dir.yaml +0 -28
- data/doc/ri/Dir/descend-c.yaml +0 -18
- data/doc/ri/Dir/ls_r-c.yaml +0 -12
- data/doc/ri/Dir/multiglob-c.yaml +0 -30
- data/doc/ri/Dir/multiglob_r-c.yaml +0 -22
- data/doc/ri/Dir/parent%3f-c.yaml +0 -14
- data/doc/ri/Dir/recurse-c.yaml +0 -14
- data/doc/ri/Downloader/Checksum/cdesc-Checksum.yaml +0 -17
- data/doc/ri/Downloader/Mirror/cdesc-Mirror.yaml +0 -15
- data/doc/ri/Downloader/add_mirror-i.yaml +0 -10
- data/doc/ri/Downloader/add_mirrors-i.yaml +0 -10
- data/doc/ri/Downloader/cdesc-Downloader.yaml +0 -49
- data/doc/ri/Downloader/compute_checksum-i.yaml +0 -12
- data/doc/ri/Downloader/download-i.yaml +0 -14
- data/doc/ri/Downloader/extract-i.yaml +0 -12
- data/doc/ri/Downloader/fetch-i.yaml +0 -12
- data/doc/ri/Downloader/interface%3d-i.yaml +0 -10
- data/doc/ri/Downloader/interface-i.yaml +0 -12
- data/doc/ri/Downloader/mirrors-i.yaml +0 -10
- data/doc/ri/Downloader/monitored_download-i.yaml +0 -12
- data/doc/ri/Downloader/new-c.yaml +0 -10
- data/doc/ri/Downloader/prioritize_urls-i.yaml +0 -12
- data/doc/ri/Duration/%2a-i.yaml +0 -16
- data/doc/ri/Duration/%2b-i.yaml +0 -16
- data/doc/ri/Duration/%2d-i.yaml +0 -16
- data/doc/ri/Duration/%2f-i.yaml +0 -16
- data/doc/ri/Duration/%3c%3d%3e-i.yaml +0 -16
- data/doc/ri/Duration/cdesc-Duration.yaml +0 -93
- data/doc/ri/Duration/days%3d-i.yaml +0 -16
- data/doc/ri/Duration/each-i.yaml +0 -20
- data/doc/ri/Duration/hours%3d-i.yaml +0 -16
- data/doc/ri/Duration/inspect-i.yaml +0 -16
- data/doc/ri/Duration/minutes%3d-i.yaml +0 -16
- data/doc/ri/Duration/new-c.yaml +0 -16
- data/doc/ri/Duration/seconds%3d-i.yaml +0 -16
- data/doc/ri/Duration/seconds-i.yaml +0 -16
- data/doc/ri/Duration/strftime-i.yaml +0 -20
- data/doc/ri/Duration/to_s-i.yaml +0 -16
- data/doc/ri/Duration/weeks%3d-i.yaml +0 -16
- data/doc/ri/Enumerable/Elementor/cdesc-Elementor.yaml +0 -26
- data/doc/ri/Enumerable/Elementor/instance_delegate-i.yaml +0 -10
- data/doc/ri/Enumerable/Elementor/instance_operator-i.yaml +0 -10
- data/doc/ri/Enumerable/Elementor/method_missing-i.yaml +0 -10
- data/doc/ri/Enumerable/Elementor/new-c.yaml +0 -10
- data/doc/ri/Enumerable/Enumerator/cdesc-Enumerator.yaml +0 -16
- data/doc/ri/Enumerable/Enumerator/to_elem-i.yaml +0 -12
- data/doc/ri/Enumerable/accumulate-i.yaml +0 -18
- data/doc/ri/Enumerable/cdesc-Enumerable.yaml +0 -94
- data/doc/ri/Enumerable/cluster_by-i.yaml +0 -18
- data/doc/ri/Enumerable/collect_with_index-i.yaml +0 -15
- data/doc/ri/Enumerable/commonality-i.yaml +0 -14
- data/doc/ri/Enumerable/compact_collect-i.yaml +0 -12
- data/doc/ri/Enumerable/compact_map-i.yaml +0 -23
- data/doc/ri/Enumerable/count-i.yaml +0 -18
- data/doc/ri/Enumerable/divide-i.yaml +0 -14
- data/doc/ri/Enumerable/duplicates-i.yaml +0 -12
- data/doc/ri/Enumerable/each_by-i.yaml +0 -18
- data/doc/ri/Enumerable/elements%21-i.yaml +0 -12
- data/doc/ri/Enumerable/elements-i.yaml +0 -12
- data/doc/ri/Enumerable/elementwise-i.yaml +0 -15
- data/doc/ri/Enumerable/entropy-i.yaml +0 -14
- data/doc/ri/Enumerable/every%21-i.yaml +0 -13
- data/doc/ri/Enumerable/every-i.yaml +0 -15
- data/doc/ri/Enumerable/ewise-i.yaml +0 -12
- data/doc/ri/Enumerable/frequency-i.yaml +0 -14
- data/doc/ri/Enumerable/graph-i.yaml +0 -12
- data/doc/ri/Enumerable/group_by-i.yaml +0 -14
- data/doc/ri/Enumerable/ideal_entropy-i.yaml +0 -14
- data/doc/ri/Enumerable/inject%21-i.yaml +0 -20
- data/doc/ri/Enumerable/map_send-i.yaml +0 -14
- data/doc/ri/Enumerable/map_with_index-i.yaml +0 -12
- data/doc/ri/Enumerable/mash-i.yaml +0 -19
- data/doc/ri/Enumerable/mode-i.yaml +0 -14
- data/doc/ri/Enumerable/modulate-i.yaml +0 -18
- data/doc/ri/Enumerable/none%3f-i.yaml +0 -16
- data/doc/ri/Enumerable/nonuniq-i.yaml +0 -15
- data/doc/ri/Enumerable/occur-i.yaml +0 -14
- data/doc/ri/Enumerable/one%3f-i.yaml +0 -16
- data/doc/ri/Enumerable/per-i.yaml +0 -10
- data/doc/ri/Enumerable/probability-i.yaml +0 -14
- data/doc/ri/Enumerable/split-i.yaml +0 -16
- data/doc/ri/Enumerable/sum-i.yaml +0 -14
- data/doc/ri/Enumerable/threaded_map-i.yaml +0 -14
- data/doc/ri/Enumerable/threaded_map_send-i.yaml +0 -14
- data/doc/ri/Enumerable/to_elem-i.yaml +0 -12
- data/doc/ri/Enumerable/to_h-i.yaml +0 -14
- data/doc/ri/Enumerable/uniq_by-i.yaml +0 -18
- data/doc/ri/EnumerablePass/cdesc-EnumerablePass.yaml +0 -28
- data/doc/ri/EnumerablePass/detect-i.yaml +0 -12
- data/doc/ri/EnumerablePass/find-i.yaml +0 -15
- data/doc/ri/EnumerablePass/wrap_enumerable_method-c.yaml +0 -10
- data/doc/ri/Equatable/%3d%3d-i.yaml +0 -10
- data/doc/ri/Equatable/cdesc-Equatable.yaml +0 -34
- data/doc/ri/Equatable/eql%3f-i.yaml +0 -10
- data/doc/ri/Equatable/hash-i.yaml +0 -10
- data/doc/ri/Equatable/identify-c.yaml +0 -10
- data/doc/ri/EventHook/call-i.yaml +0 -10
- data/doc/ri/EventHook/cdesc-EventHook.yaml +0 -31
- data/doc/ri/EventHook/new-c.yaml +0 -10
- data/doc/ri/Exception/cdesc-Exception.yaml +0 -17
- data/doc/ri/Exception/detail-i.yaml +0 -18
- data/doc/ri/Exception/suppress-c.yaml +0 -14
- data/doc/ri/Expirable/cdesc-Expirable.yaml +0 -30
- data/doc/ri/Expirable/expired%3f-i.yaml +0 -12
- data/doc/ri/Expirable/expires_after-i.yaml +0 -12
- data/doc/ri/Expirable/expires_spread-i.yaml +0 -12
- data/doc/ri/Expirable/touch%21-i.yaml +0 -12
- data/doc/ri/FalseClass/cdesc-FalseClass.yaml +0 -15
- data/doc/ri/File/append-c.yaml +0 -14
- data/doc/ri/File/cdesc-File.yaml +0 -38
- data/doc/ri/File/create-c.yaml +0 -14
- data/doc/ri/File/null-c.yaml +0 -14
- data/doc/ri/File/read_binary-c.yaml +0 -14
- data/doc/ri/File/read_list-c.yaml +0 -14
- data/doc/ri/File/rewrite%21-c.yaml +0 -14
- data/doc/ri/File/rewrite-c.yaml +0 -24
- data/doc/ri/File/rootname-c.yaml +0 -14
- data/doc/ri/File/sanitize-c.yaml +0 -14
- data/doc/ri/File/write-c.yaml +0 -16
- data/doc/ri/File/writelines-c.yaml +0 -18
- data/doc/ri/File/yaml%3f-c.yaml +0 -14
- data/doc/ri/FileList/%2a-i.yaml +0 -12
- data/doc/ri/FileList/%3d%3d-i.yaml +0 -12
- data/doc/ri/FileList/%5b%5d-c.yaml +0 -14
- data/doc/ri/FileList/add-i.yaml +0 -12
- data/doc/ri/FileList/add_matching-i.yaml +0 -12
- data/doc/ri/FileList/calculate_exclude_regexp-i.yaml +0 -10
- data/doc/ri/FileList/cdesc-FileList.yaml +0 -111
- data/doc/ri/FileList/clear_exclude-i.yaml +0 -12
- data/doc/ri/FileList/clear_ignore_patterns-c.yaml +0 -12
- data/doc/ri/FileList/clone-i.yaml +0 -13
- data/doc/ri/FileList/dup-i.yaml +0 -12
- data/doc/ri/FileList/egrep-i.yaml +0 -12
- data/doc/ri/FileList/exclude%3f-i.yaml +0 -12
- data/doc/ri/FileList/exclude-i.yaml +0 -26
- data/doc/ri/FileList/ext-i.yaml +0 -18
- data/doc/ri/FileList/gsub%21-i.yaml +0 -12
- data/doc/ri/FileList/gsub-i.yaml +0 -16
- data/doc/ri/FileList/import-i.yaml +0 -10
- data/doc/ri/FileList/include-i.yaml +0 -17
- data/doc/ri/FileList/new-c.yaml +0 -16
- data/doc/ri/FileList/resolve-i.yaml +0 -12
- data/doc/ri/FileList/resolve_add-i.yaml +0 -10
- data/doc/ri/FileList/resolve_exclude-i.yaml +0 -10
- data/doc/ri/FileList/select_default_ignore_patterns-c.yaml +0 -35
- data/doc/ri/FileList/sub%21-i.yaml +0 -12
- data/doc/ri/FileList/sub-i.yaml +0 -16
- data/doc/ri/FileList/to_a-i.yaml +0 -12
- data/doc/ri/FileList/to_ary-i.yaml +0 -12
- data/doc/ri/FileList/to_s-i.yaml +0 -12
- data/doc/ri/FileShell/%5b%5d-i.yaml +0 -12
- data/doc/ri/FileShell/cd-i.yaml +0 -15
- data/doc/ri/FileShell/cdesc-FileShell.yaml +0 -83
- data/doc/ri/FileShell/chdir-i.yaml +0 -12
- data/doc/ri/FileShell/chmod-i.yaml +0 -12
- data/doc/ri/FileShell/chmod_R-i.yaml +0 -12
- data/doc/ri/FileShell/chown-i.yaml +0 -12
- data/doc/ri/FileShell/chown_R-i.yaml +0 -12
- data/doc/ri/FileShell/cp-i.yaml +0 -12
- data/doc/ri/FileShell/cp_r-i.yaml +0 -12
- data/doc/ri/FileShell/dryrun%3f-i.yaml +0 -10
- data/doc/ri/FileShell/fu-i.yaml +0 -11
- data/doc/ri/FileShell/install-i.yaml +0 -12
- data/doc/ri/FileShell/ln-i.yaml +0 -12
- data/doc/ri/FileShell/ln_s-i.yaml +0 -12
- data/doc/ri/FileShell/ln_sf-i.yaml +0 -12
- data/doc/ri/FileShell/ls-i.yaml +0 -12
- data/doc/ri/FileShell/mkdir-i.yaml +0 -12
- data/doc/ri/FileShell/mkdir_p-i.yaml +0 -12
- data/doc/ri/FileShell/move-i.yaml +0 -12
- data/doc/ri/FileShell/mv-i.yaml +0 -13
- data/doc/ri/FileShell/new-c.yaml +0 -10
- data/doc/ri/FileShell/pwd-i.yaml +0 -12
- data/doc/ri/FileShell/quiet%3f-i.yaml +0 -10
- data/doc/ri/FileShell/rm-i.yaml +0 -12
- data/doc/ri/FileShell/rm_r-i.yaml +0 -12
- data/doc/ri/FileShell/rm_rf-i.yaml +0 -12
- data/doc/ri/FileShell/rmdir-i.yaml +0 -12
- data/doc/ri/FileShell/root%3f-i.yaml +0 -12
- data/doc/ri/FileShell/touch-i.yaml +0 -12
- data/doc/ri/FileShell/verbose%3f-i.yaml +0 -10
- data/doc/ri/FileTest/cdesc-FileTest.yaml +0 -16
- data/doc/ri/FileTest/root%3f-i.yaml +0 -14
- data/doc/ri/FileUtils/cdesc-FileUtils.yaml +0 -39
- data/doc/ri/FileUtils/head-i.yaml +0 -14
- data/doc/ri/FileUtils/safe_ln-i.yaml +0 -14
- data/doc/ri/FileUtils/slice-i.yaml +0 -16
- data/doc/ri/FileUtils/tail-i.yaml +0 -16
- data/doc/ri/FileUtils/wc-i.yaml +0 -18
- data/doc/ri/FileUtils/whereis-i.yaml +0 -10
- data/doc/ri/FileUtils/which-i.yaml +0 -16
- data/doc/ri/Fileable/DSL/cdesc-DSL.yaml +0 -31
- data/doc/ri/Fileable/DSL/file-i.yaml +0 -12
- data/doc/ri/Fileable/DSL/filename-i.yaml +0 -12
- data/doc/ri/Fileable/DSL/included-i.yaml +0 -12
- data/doc/ri/Fileable/DSL/load-i.yaml +0 -12
- data/doc/ri/Fileable/DSL/load_cache-i.yaml +0 -12
- data/doc/ri/Fileable/DSL/locate-i.yaml +0 -12
- data/doc/ri/Fileable/DSL/lookup-i.yaml +0 -12
- data/doc/ri/Fileable/DSL/open-i.yaml +0 -12
- data/doc/ri/Fileable/cdesc-Fileable.yaml +0 -30
- data/doc/ri/Fileable/included-c.yaml +0 -12
- data/doc/ri/Fileable/new-c.yaml +0 -12
- data/doc/ri/Fileable/read-i.yaml +0 -12
- data/doc/ri/Float/cdesc-Float.yaml +0 -17
- data/doc/ri/Friend/cdesc-Friend.yaml +0 -27
- data/doc/ri/Friend/new-c.yaml +0 -10
- data/doc/ri/Functor/cdesc-Functor.yaml +0 -23
- data/doc/ri/Functor/method_missing-i.yaml +0 -12
- data/doc/ri/Functor/new-c.yaml +0 -10
- data/doc/ri/Functor/to_proc-i.yaml +0 -10
- data/doc/ri/GetoptLong/DSL/cdesc-DSL.yaml +0 -30
- data/doc/ri/GetoptLong/DSL/flag-i.yaml +0 -10
- data/doc/ri/GetoptLong/DSL/new-c.yaml +0 -10
- data/doc/ri/GetoptLong/DSL/optional-i.yaml +0 -11
- data/doc/ri/GetoptLong/DSL/opts-i.yaml +0 -12
- data/doc/ri/GetoptLong/DSL/reqs-i.yaml +0 -12
- data/doc/ri/GetoptLong/DSL/required-i.yaml +0 -11
- data/doc/ri/GetoptLong/cdesc-GetoptLong.yaml +0 -16
- data/doc/ri/GetoptLong/new-c.yaml +0 -10
- data/doc/ri/Hash/cdesc-Hash.yaml +0 -15
- data/doc/ri/Hash2Xml/cdesc-Hash2Xml.yaml +0 -21
- data/doc/ri/Hash2Xml/convert-i.yaml +0 -10
- data/doc/ri/Hash2Xml/convert_body-i.yaml +0 -11
- data/doc/ri/Hash2Xml/convert_tag-i.yaml +0 -11
- data/doc/ri/HtmlFilter/balance_html-i.yaml +0 -11
- data/doc/ri/HtmlFilter/cdesc-HtmlFilter.yaml +0 -149
- data/doc/ri/HtmlFilter/check_entity-i.yaml +0 -11
- data/doc/ri/HtmlFilter/check_tags-i.yaml +0 -11
- data/doc/ri/HtmlFilter/decode_dec_entity-i.yaml +0 -11
- data/doc/ri/HtmlFilter/decode_entities-i.yaml +0 -12
- data/doc/ri/HtmlFilter/decode_hex_entity-i.yaml +0 -11
- data/doc/ri/HtmlFilter/decode_num_entity-i.yaml +0 -11
- data/doc/ri/HtmlFilter/escape_comments-i.yaml +0 -11
- data/doc/ri/HtmlFilter/escape_special_chars-i.yaml +0 -12
- data/doc/ri/HtmlFilter/filter-i.yaml +0 -12
- data/doc/ri/HtmlFilter/fix_case-i.yaml +0 -11
- data/doc/ri/HtmlFilter/fix_case_inner-i.yaml +0 -11
- data/doc/ri/HtmlFilter/is_valid_entity-i.yaml +0 -11
- data/doc/ri/HtmlFilter/new-c.yaml +0 -12
- data/doc/ri/HtmlFilter/process_param_protocol-i.yaml +0 -11
- data/doc/ri/HtmlFilter/process_remove_blanks-i.yaml +0 -11
- data/doc/ri/HtmlFilter/process_tag-i.yaml +0 -11
- data/doc/ri/HtmlFilter/strip_single-i.yaml +0 -11
- data/doc/ri/HtmlFilter/validate_entities-i.yaml +0 -11
- data/doc/ri/IORedirect/cdesc-IORedirect.yaml +0 -28
- data/doc/ri/IORedirect/new-c.yaml +0 -12
- data/doc/ri/IORedirect/redirect-c.yaml +0 -12
- data/doc/ri/IORedirect/start-i.yaml +0 -12
- data/doc/ri/IORedirect/stop-i.yaml +0 -12
- data/doc/ri/Indexable/body-i.yaml +0 -14
- data/doc/ri/Indexable/cdesc-Indexable.yaml +0 -55
- data/doc/ri/Indexable/ends-i.yaml +0 -16
- data/doc/ri/Indexable/first%21-i.yaml +0 -14
- data/doc/ri/Indexable/first%3d-i.yaml +0 -14
- data/doc/ri/Indexable/first-i.yaml +0 -14
- data/doc/ri/Indexable/foot-i.yaml +0 -14
- data/doc/ri/Indexable/head-i.yaml +0 -14
- data/doc/ri/Indexable/index_of-i.yaml +0 -16
- data/doc/ri/Indexable/last%21-i.yaml +0 -14
- data/doc/ri/Indexable/last%3d-i.yaml +0 -14
- data/doc/ri/Indexable/last-i.yaml +0 -14
- data/doc/ri/Indexable/mid-i.yaml +0 -16
- data/doc/ri/Indexable/middle-i.yaml +0 -16
- data/doc/ri/Indexable/pos-i.yaml +0 -14
- data/doc/ri/Indexable/range-i.yaml +0 -14
- data/doc/ri/Indexable/tail-i.yaml +0 -14
- data/doc/ri/Indexable/thru-i.yaml +0 -14
- data/doc/ri/InfinityClass/%2b%40-i.yaml +0 -12
- data/doc/ri/InfinityClass/%2d%40-i.yaml +0 -12
- data/doc/ri/InfinityClass/%3c%3d%3e-i.yaml +0 -12
- data/doc/ri/InfinityClass/%3d%3d-i.yaml +0 -12
- data/doc/ri/InfinityClass/Numeric/cdesc-Numeric.yaml +0 -27
- data/doc/ri/InfinityClass/Numeric/finite%3f-i.yaml +0 -10
- data/doc/ri/InfinityClass/Numeric/inf%3f-i.yaml +0 -12
- data/doc/ri/InfinityClass/Numeric/infinite%3f-i.yaml +0 -11
- data/doc/ri/InfinityClass/Numeric/nan%3f-i.yaml +0 -10
- data/doc/ri/InfinityClass/Numeric/neginf%3f-i.yaml +0 -10
- data/doc/ri/InfinityClass/Numeric/posinf%3f-i.yaml +0 -10
- data/doc/ri/InfinityClass/cdesc-InfinityClass.yaml +0 -75
- data/doc/ri/InfinityClass/coerce-i.yaml +0 -12
- data/doc/ri/InfinityClass/new-c.yaml +0 -10
- data/doc/ri/InfinityClass/times-i.yaml +0 -12
- data/doc/ri/InfinityClass/to_f-i.yaml +0 -12
- data/doc/ri/InfinityClass/to_s-i.yaml +0 -11
- data/doc/ri/Ini/%5b%5d%3d-i.yaml +0 -12
- data/doc/ri/Ini/%5b%5d-i.yaml +0 -12
- data/doc/ri/Ini/cdesc-Ini.yaml +0 -51
- data/doc/ri/Ini/new-c.yaml +0 -16
- data/doc/ri/Ini/read_comment_from_file-c.yaml +0 -16
- data/doc/ri/Ini/read_from_file-c.yaml +0 -16
- data/doc/ri/Ini/restore-i.yaml +0 -12
- data/doc/ri/Ini/to_s-c.yaml +0 -16
- data/doc/ri/Ini/update-i.yaml +0 -12
- data/doc/ri/Ini/write_to_file-c.yaml +0 -16
- data/doc/ri/InstanceVariables/%3c%3c-i.yaml +0 -10
- data/doc/ri/InstanceVariables/%5b%5d%3d-i.yaml +0 -10
- data/doc/ri/InstanceVariables/%5b%5d-i.yaml +0 -10
- data/doc/ri/InstanceVariables/atize-i.yaml +0 -10
- data/doc/ri/InstanceVariables/cdesc-InstanceVariables.yaml +0 -38
- data/doc/ri/InstanceVariables/each-i.yaml +0 -10
- data/doc/ri/InstanceVariables/instance_delegate-i.yaml +0 -10
- data/doc/ri/InstanceVariables/keys-i.yaml +0 -10
- data/doc/ri/InstanceVariables/names-i.yaml +0 -10
- data/doc/ri/InstanceVariables/new-c.yaml +0 -10
- data/doc/ri/InstanceVariables/to_hash-i.yaml +0 -10
- data/doc/ri/InstanceVariables/update-i.yaml +0 -10
- data/doc/ri/InstanceVariables/values-i.yaml +0 -10
- data/doc/ri/Instantiable/append_features-c.yaml +0 -10
- data/doc/ri/Instantiable/cdesc-Instantiable.yaml +0 -24
- data/doc/ri/Instantiable/new-i.yaml +0 -12
- data/doc/ri/Instantise/append_features-c.yaml +0 -10
- data/doc/ri/Instantise/cdesc-Instantise.yaml +0 -29
- data/doc/ri/Instantise/singleton_method_added-i.yaml +0 -10
- data/doc/ri/Integer/cdesc-Integer.yaml +0 -15
- data/doc/ri/Interval/%2b%40-i.yaml +0 -12
- data/doc/ri/Interval/%2d%40-i.yaml +0 -10
- data/doc/ri/Interval/%3d%3d%3d-i.yaml +0 -12
- data/doc/ri/Interval/%5b%5d-c.yaml +0 -10
- data/doc/ri/Interval/%7e-i.yaml +0 -10
- data/doc/ri/Interval/begin-i.yaml +0 -12
- data/doc/ri/Interval/cdesc-Interval.yaml +0 -97
- data/doc/ri/Interval/closed-i.yaml +0 -12
- data/doc/ri/Interval/degenerate%3f-i.yaml +0 -12
- data/doc/ri/Interval/direction-i.yaml +0 -14
- data/doc/ri/Interval/distance-i.yaml +0 -15
- data/doc/ri/Interval/each-i.yaml +0 -15
- data/doc/ri/Interval/end-i.yaml +0 -12
- data/doc/ri/Interval/eql%3f-i.yaml +0 -12
- data/doc/ri/Interval/exclude_begin%3f-i.yaml +0 -12
- data/doc/ri/Interval/exclude_end%3f-i.yaml +0 -12
- data/doc/ri/Interval/exclude_first%3f-i.yaml +0 -12
- data/doc/ri/Interval/exclude_last%3f-i.yaml +0 -11
- data/doc/ri/Interval/first-i.yaml +0 -13
- data/doc/ri/Interval/first_closed-i.yaml +0 -12
- data/doc/ri/Interval/first_opened-i.yaml +0 -10
- data/doc/ri/Interval/half_closed-i.yaml +0 -12
- data/doc/ri/Interval/include%3f-i.yaml +0 -15
- data/doc/ri/Interval/last-i.yaml +0 -11
- data/doc/ri/Interval/last_closed-i.yaml +0 -10
- data/doc/ri/Interval/last_opened-i.yaml +0 -10
- data/doc/ri/Interval/length-i.yaml +0 -12
- data/doc/ri/Interval/max-i.yaml +0 -12
- data/doc/ri/Interval/member%3f-i.yaml +0 -12
- data/doc/ri/Interval/min-i.yaml +0 -12
- data/doc/ri/Interval/new-c.yaml +0 -10
- data/doc/ri/Interval/null%3f-i.yaml +0 -12
- data/doc/ri/Interval/opened-i.yaml +0 -12
- data/doc/ri/Interval/reversed-i.yaml +0 -14
- data/doc/ri/Interval/sentinels-i.yaml +0 -14
- data/doc/ri/Interval/size-i.yaml +0 -12
- data/doc/ri/Interval/step-i.yaml +0 -12
- data/doc/ri/It/cdesc-It.yaml +0 -39
- data/doc/ri/It/first%3f-i.yaml +0 -10
- data/doc/ri/It/last%3f-i.yaml +0 -10
- data/doc/ri/It/new-c.yaml +0 -10
- data/doc/ri/It/next_iteration-i.yaml +0 -10
- data/doc/ri/Kernel/cdesc-Kernel.yaml +0 -16
- data/doc/ri/LRUCache/%5b%5d%3d-i.yaml +0 -12
- data/doc/ri/LRUCache/%5b%5d-i.yaml +0 -12
- data/doc/ri/LRUCache/Item/cdesc-Item.yaml +0 -28
- data/doc/ri/LRUCache/Sentinel/cdesc-Sentinel.yaml +0 -18
- data/doc/ri/LRUCache/cdesc-LRUCache.yaml +0 -65
- data/doc/ri/LRUCache/clear-i.yaml +0 -12
- data/doc/ri/LRUCache/delete-i.yaml +0 -12
- data/doc/ri/LRUCache/first-i.yaml +0 -12
- data/doc/ri/LRUCache/last-i.yaml +0 -13
- data/doc/ri/LRUCache/lru-i.yaml +0 -12
- data/doc/ri/LRUCache/lru_append-i.yaml +0 -12
- data/doc/ri/LRUCache/lru_clear-i.yaml +0 -12
- data/doc/ri/LRUCache/lru_delete-i.yaml +0 -12
- data/doc/ri/LRUCache/lru_insert-i.yaml +0 -12
- data/doc/ri/LRUCache/lru_join-i.yaml +0 -12
- data/doc/ri/LRUCache/lru_touch-i.yaml +0 -12
- data/doc/ri/LRUCache/new-c.yaml +0 -10
- data/doc/ri/Lazy/DivergenceError/cdesc-DivergenceError.yaml +0 -17
- data/doc/ri/Lazy/Future/cdesc-Future.yaml +0 -20
- data/doc/ri/Lazy/LazyException/cdesc-LazyException.yaml +0 -19
- data/doc/ri/Lazy/Promise/cdesc-Promise.yaml +0 -25
- data/doc/ri/Lazy/PromiseSafe/cdesc-PromiseSafe.yaml +0 -20
- data/doc/ri/Lazy/cdesc-Lazy.yaml +0 -20
- data/doc/ri/LinkedList/%5b%5d%3d-i.yaml +0 -10
- data/doc/ri/LinkedList/%5b%5d-i.yaml +0 -10
- data/doc/ri/LinkedList/Node/cdesc-Node.yaml +0 -33
- data/doc/ri/LinkedList/Node/new-c.yaml +0 -10
- data/doc/ri/LinkedList/cdesc-LinkedList.yaml +0 -57
- data/doc/ri/LinkedList/delete-i.yaml +0 -10
- data/doc/ri/LinkedList/each-i.yaml +0 -10
- data/doc/ri/LinkedList/empty%3f-i.yaml +0 -10
- data/doc/ri/LinkedList/first-i.yaml +0 -10
- data/doc/ri/LinkedList/last-i.yaml +0 -10
- data/doc/ri/LinkedList/length-i.yaml +0 -10
- data/doc/ri/LinkedList/new-c.yaml +0 -10
- data/doc/ri/LinkedList/node_delete-i.yaml +0 -10
- data/doc/ri/LinkedList/node_join-i.yaml +0 -10
- data/doc/ri/LinkedList/node_purge-i.yaml +0 -10
- data/doc/ri/LinkedList/pop-i.yaml +0 -10
- data/doc/ri/LinkedList/push-i.yaml +0 -10
- data/doc/ri/LinkedList/queue-i.yaml +0 -10
- data/doc/ri/LinkedList/shift-i.yaml +0 -10
- data/doc/ri/LinkedList/to_a-i.yaml +0 -10
- data/doc/ri/LinkedList/unshift-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/cdesc-Ansicolor.yaml +0 -36
- data/doc/ri/Logger/Ansicolor/debug-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/debug_with_color-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/error-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/error_with_color-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/fatal-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/fatal_with_color-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/info-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/info_with_color-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/warn-i.yaml +0 -10
- data/doc/ri/Logger/Ansicolor/warn_with_color-i.yaml +0 -10
- data/doc/ri/Logger/LogDevice/ansicolor%3f-i.yaml +0 -10
- data/doc/ri/Logger/LogDevice/cdesc-LogDevice.yaml +0 -19
- data/doc/ri/Logger/ansicolor%3d-i.yaml +0 -10
- data/doc/ri/Logger/cdesc-Logger.yaml +0 -44
- data/doc/ri/Logger/format_procedure-i.yaml +0 -10
- data/doc/ri/Logger/setup_format-i.yaml +0 -21
- data/doc/ri/MatchData/cdesc-MatchData.yaml +0 -20
- data/doc/ri/MatchData/match-i.yaml +0 -14
- data/doc/ri/MatchData/matchset-i.yaml +0 -14
- data/doc/ri/MatchData/matchtree-i.yaml +0 -14
- data/doc/ri/Method/cdesc-Method.yaml +0 -15
- data/doc/ri/MissingArgument/cdesc-MissingArgument.yaml +0 -17
- data/doc/ri/Module/%2a-i.yaml +0 -14
- data/doc/ri/Module/%2b-i.yaml +0 -22
- data/doc/ri/Module/%2d-i.yaml +0 -14
- data/doc/ri/Module/Comparable-i.yaml +0 -18
- data/doc/ri/Module/Equatable-i.yaml +0 -18
- data/doc/ri/Module/abstract-i.yaml +0 -14
- data/doc/ri/Module/alias_accessor%21-i.yaml +0 -17
- data/doc/ri/Module/alias_accessor-i.yaml +0 -14
- data/doc/ri/Module/alias_method_chain-i.yaml +0 -32
- data/doc/ri/Module/alias_module_function-i.yaml +0 -14
- data/doc/ri/Module/alias_reader%21-i.yaml +0 -17
- data/doc/ri/Module/alias_reader%3f-i.yaml +0 -12
- data/doc/ri/Module/alias_reader-i.yaml +0 -12
- data/doc/ri/Module/alias_setter-i.yaml +0 -14
- data/doc/ri/Module/alias_switcher-i.yaml +0 -12
- data/doc/ri/Module/alias_tester-i.yaml +0 -12
- data/doc/ri/Module/alias_toggler-i.yaml +0 -12
- data/doc/ri/Module/alias_validator-i.yaml +0 -12
- data/doc/ri/Module/alias_writer%21-i.yaml +0 -14
- data/doc/ri/Module/alias_writer-i.yaml +0 -12
- data/doc/ri/Module/all_instance_methods-i.yaml +0 -18
- data/doc/ri/Module/ancestor%3f-i.yaml +0 -14
- data/doc/ri/Module/ann%21-i.yaml +0 -12
- data/doc/ri/Module/ann-i.yaml +0 -12
- data/doc/ri/Module/annotations-i.yaml +0 -10
- data/doc/ri/Module/append_features-c.yaml +0 -10
- data/doc/ri/Module/append_features-i.yaml +0 -11
- data/doc/ri/Module/append_features_without_class_extension-i.yaml +0 -12
- data/doc/ri/Module/attr-i.yaml +0 -10
- data/doc/ri/Module/attr_accessor%21-i.yaml +0 -21
- data/doc/ri/Module/attr_reader%21-i.yaml +0 -21
- data/doc/ri/Module/attr_reader%3f-i.yaml +0 -12
- data/doc/ri/Module/attr_setter-i.yaml +0 -18
- data/doc/ri/Module/attr_switcher-i.yaml +0 -12
- data/doc/ri/Module/attr_tester-i.yaml +0 -12
- data/doc/ri/Module/attr_toggler-i.yaml +0 -12
- data/doc/ri/Module/attr_validator-i.yaml +0 -14
- data/doc/ri/Module/attr_writer%21-i.yaml +0 -18
- data/doc/ri/Module/basename-i.yaml +0 -18
- data/doc/ri/Module/cdesc-Module.yaml +0 -192
- data/doc/ri/Module/class_def-i.yaml +0 -14
- data/doc/ri/Module/class_extension-i.yaml +0 -17
- data/doc/ri/Module/class_inherit-i.yaml +0 -12
- data/doc/ri/Module/class_load-i.yaml +0 -12
- data/doc/ri/Module/class_methods-i.yaml +0 -11
- data/doc/ri/Module/class_require-i.yaml +0 -12
- data/doc/ri/Module/classified_attributes-i.yaml +0 -14
- data/doc/ri/Module/conflict%3f-i.yaml +0 -14
- data/doc/ri/Module/define_dependency-i.yaml +0 -11
- data/doc/ri/Module/depend-i.yaml +0 -11
- data/doc/ri/Module/dependencies-i.yaml +0 -12
- data/doc/ri/Module/heritage-i.yaml +0 -10
- data/doc/ri/Module/include_as-i.yaml +0 -14
- data/doc/ri/Module/include_function_module-i.yaml +0 -14
- data/doc/ri/Module/instance_method%21-i.yaml +0 -16
- data/doc/ri/Module/instance_method_defined%3f-i.yaml +0 -14
- data/doc/ri/Module/integrate-i.yaml +0 -20
- data/doc/ri/Module/is%3f-i.yaml +0 -14
- data/doc/ri/Module/is-i.yaml +0 -12
- data/doc/ri/Module/memoize-i.yaml +0 -14
- data/doc/ri/Module/method_overloads-i.yaml +0 -10
- data/doc/ri/Module/method_space-i.yaml +0 -14
- data/doc/ri/Module/methodize-i.yaml +0 -14
- data/doc/ri/Module/mixin_parameters-i.yaml +0 -17
- data/doc/ri/Module/mixin_params-i.yaml +0 -12
- data/doc/ri/Module/modspace-i.yaml +0 -18
- data/doc/ri/Module/module_load-i.yaml +0 -15
- data/doc/ri/Module/module_method_defined%3f-i.yaml +0 -12
- data/doc/ri/Module/module_require-i.yaml +0 -15
- data/doc/ri/Module/nesting-i.yaml +0 -14
- data/doc/ri/Module/overload-i.yaml +0 -14
- data/doc/ri/Module/pathize-i.yaml +0 -16
- data/doc/ri/Module/prepend-i.yaml +0 -14
- data/doc/ri/Module/private_conflict%3f-i.yaml +0 -12
- data/doc/ri/Module/protected_conflict%3f-i.yaml +0 -12
- data/doc/ri/Module/public_conflict%3f-i.yaml +0 -12
- data/doc/ri/Module/redef-i.yaml +0 -12
- data/doc/ri/Module/redefine_method-i.yaml +0 -17
- data/doc/ri/Module/redirect-i.yaml +0 -12
- data/doc/ri/Module/redirect_method-i.yaml +0 -21
- data/doc/ri/Module/rename-i.yaml +0 -12
- data/doc/ri/Module/rename_method-i.yaml +0 -15
- data/doc/ri/Module/revisal-i.yaml +0 -12
- data/doc/ri/Module/revise-i.yaml +0 -15
- data/doc/ri/Module/setting-i.yaml +0 -21
- data/doc/ri/Module/singleton_method_defined%3f-i.yaml +0 -15
- data/doc/ri/Module/spacename-i.yaml +0 -20
- data/doc/ri/Module/wrap-i.yaml +0 -12
- data/doc/ri/Module/wrap_method-i.yaml +0 -19
- data/doc/ri/Multiton/Inclusive/cdesc-Inclusive.yaml +0 -18
- data/doc/ri/Multiton/Inclusive/included-i.yaml +0 -10
- data/doc/ri/Multiton/InstanceMutex/cdesc-InstanceMutex.yaml +0 -17
- data/doc/ri/Multiton/MetaMethods/_load-i.yaml +0 -10
- data/doc/ri/Multiton/MetaMethods/cdesc-MetaMethods.yaml +0 -34
- data/doc/ri/Multiton/MetaMethods/initialized%3f-i.yaml +0 -10
- data/doc/ri/Multiton/MetaMethods/instance-i.yaml +0 -11
- data/doc/ri/Multiton/MetaMethods/multiton_id-i.yaml +0 -12
- data/doc/ri/Multiton/MetaMethods/multiton_instance-i.yaml +0 -10
- data/doc/ri/Multiton/MetaMethods/multiton_mutex-i.yaml +0 -10
- data/doc/ri/Multiton/MetaMethods/new-i.yaml +0 -12
- data/doc/ri/Multiton/MetaMethods/reinitialize-i.yaml +0 -10
- data/doc/ri/Multiton/MetaMethods/singleton_method_added-i.yaml +0 -10
- data/doc/ri/Multiton/_dump-i.yaml +0 -12
- data/doc/ri/Multiton/cdesc-Multiton.yaml +0 -40
- data/doc/ri/Multiton/clone-i.yaml +0 -12
- data/doc/ri/Multiton/dup-i.yaml +0 -10
- data/doc/ri/NackClass/cdesc-NackClass.yaml +0 -20
- data/doc/ri/Net/SMTP/cdesc-SMTP.yaml +0 -25
- data/doc/ri/Net/SMTP/do_helo-i.yaml +0 -10
- data/doc/ri/Net/SMTP/do_tls_start-i.yaml +0 -10
- data/doc/ri/Net/SMTP/quit-i.yaml +0 -10
- data/doc/ri/Net/SMTP/start-c.yaml +0 -10
- data/doc/ri/Net/SMTP/start-i.yaml +0 -10
- data/doc/ri/Net/SMTP/starttls-i.yaml +0 -10
- data/doc/ri/Net/cdesc-Net.yaml +0 -15
- data/doc/ri/NilClass/cdesc-NilClass.yaml +0 -17
- data/doc/ri/NullClass/%5b%5d-i.yaml +0 -10
- data/doc/ri/NullClass/cdesc-NullClass.yaml +0 -32
- data/doc/ri/NullClass/inspect-i.yaml +0 -10
- data/doc/ri/NullClass/method_missing-i.yaml +0 -10
- data/doc/ri/NullClass/new-c.yaml +0 -10
- data/doc/ri/NullClass/nil%3f-i.yaml +0 -10
- data/doc/ri/NullClass/null%3f-i.yaml +0 -10
- data/doc/ri/Numeric/cdesc-Numeric.yaml +0 -26
- data/doc/ri/Object/cdesc-Object.yaml +0 -15
- data/doc/ri/ObjectReflection/_bind_method-i.yaml +0 -10
- data/doc/ri/ObjectReflection/cdesc-ObjectReflection.yaml +0 -28
- data/doc/ri/ObjectReflection/id-i.yaml +0 -11
- data/doc/ri/ObjectReflection/method_missing-i.yaml +0 -16
- data/doc/ri/ObjectReflection/new-c.yaml +0 -11
- data/doc/ri/OpEsc/cdesc-OpEsc.yaml +0 -30
- data/doc/ri/OpEsc/escape-c.yaml +0 -14
- data/doc/ri/OpenCascade/cdesc-OpenCascade.yaml +0 -25
- data/doc/ri/OpenCascade/method_missing-i.yaml +0 -10
- data/doc/ri/OpenCollection/cdesc-OpenCollection.yaml +0 -22
- data/doc/ri/OpenCollection/method_missing-i.yaml +0 -10
- data/doc/ri/OpenCollection/new-c.yaml +0 -10
- data/doc/ri/OpenHash/cdesc-OpenHash.yaml +0 -22
- data/doc/ri/OpenHash/method_missing-i.yaml +0 -12
- data/doc/ri/OpenHash/new-c.yaml +0 -12
- data/doc/ri/OpenObject/%3d%3d-i.yaml +0 -12
- data/doc/ri/OpenObject/%5b%5d%3d-i.yaml +0 -10
- data/doc/ri/OpenObject/%5b%5d-c.yaml +0 -10
- data/doc/ri/OpenObject/%5b%5d-i.yaml +0 -10
- data/doc/ri/OpenObject/as_hash%21-i.yaml +0 -12
- data/doc/ri/OpenObject/cdesc-OpenObject.yaml +0 -77
- data/doc/ri/OpenObject/default%21-i.yaml +0 -12
- data/doc/ri/OpenObject/define_slot-i.yaml +0 -10
- data/doc/ri/OpenObject/delete-i.yaml +0 -11
- data/doc/ri/OpenObject/each-i.yaml +0 -12
- data/doc/ri/OpenObject/fetch-i.yaml +0 -10
- data/doc/ri/OpenObject/initialize_copy-i.yaml +0 -10
- data/doc/ri/OpenObject/inspect-i.yaml +0 -12
- data/doc/ri/OpenObject/merge-i.yaml +0 -12
- data/doc/ri/OpenObject/method_missing-i.yaml +0 -10
- data/doc/ri/OpenObject/new-c.yaml +0 -14
- data/doc/ri/OpenObject/protect_slot-i.yaml +0 -10
- data/doc/ri/OpenObject/store-i.yaml +0 -10
- data/doc/ri/OpenObject/to_a-i.yaml +0 -12
- data/doc/ri/OpenObject/to_h-i.yaml +0 -10
- data/doc/ri/OpenObject/to_hash-i.yaml +0 -10
- data/doc/ri/OpenObject/to_openobject-i.yaml +0 -10
- data/doc/ri/OpenObject/to_proc-i.yaml +0 -10
- data/doc/ri/OpenObject/update-i.yaml +0 -12
- data/doc/ri/OpenStruct/%5b%5d%3d-i.yaml +0 -14
- data/doc/ri/OpenStruct/%5b%5d-i.yaml +0 -14
- data/doc/ri/OpenStruct/__merge__-i.yaml +0 -14
- data/doc/ri/OpenStruct/__update__-i.yaml +0 -14
- data/doc/ri/OpenStruct/cdesc-OpenStruct.yaml +0 -35
- data/doc/ri/OpenStruct/each-i.yaml +0 -11
- data/doc/ri/OpenStruct/instance_delegate-i.yaml +0 -19
- data/doc/ri/OpenStruct/new-c.yaml +0 -18
- data/doc/ri/OpenStruct/ostruct_delegate-i.yaml +0 -12
- data/doc/ri/OpenStruct/ostruct_merge-i.yaml +0 -14
- data/doc/ri/OpenStruct/ostruct_update-i.yaml +0 -14
- data/doc/ri/OpenStruct/to_h-i.yaml +0 -11
- data/doc/ri/PQueue/%3c%3c-i.yaml +0 -12
- data/doc/ri/PQueue/%3d%3d-i.yaml +0 -12
- data/doc/ri/PQueue/cdesc-PQueue.yaml +0 -77
- data/doc/ri/PQueue/clear-i.yaml +0 -12
- data/doc/ri/PQueue/downheap-i.yaml +0 -14
- data/doc/ri/PQueue/each_pop-i.yaml +0 -12
- data/doc/ri/PQueue/empty%3f-i.yaml +0 -12
- data/doc/ri/PQueue/heapify-i.yaml +0 -12
- data/doc/ri/PQueue/include%3f-i.yaml +0 -12
- data/doc/ri/PQueue/initialize_copy-i.yaml +0 -10
- data/doc/ri/PQueue/inspect-i.yaml +0 -12
- data/doc/ri/PQueue/merge-i.yaml +0 -12
- data/doc/ri/PQueue/new-c.yaml +0 -18
- data/doc/ri/PQueue/pop-i.yaml +0 -18
- data/doc/ri/PQueue/pop_array-i.yaml +0 -12
- data/doc/ri/PQueue/push-i.yaml +0 -15
- data/doc/ri/PQueue/push_all-i.yaml +0 -15
- data/doc/ri/PQueue/replace-i.yaml +0 -14
- data/doc/ri/PQueue/replace_top-i.yaml +0 -14
- data/doc/ri/PQueue/sort-i.yaml +0 -12
- data/doc/ri/PQueue/to_a-i.yaml +0 -13
- data/doc/ri/PQueue/top-i.yaml +0 -12
- data/doc/ri/PQueue/upheap-i.yaml +0 -14
- data/doc/ri/Paramix/Delegator/%5b%5d-i.yaml +0 -10
- data/doc/ri/Paramix/Delegator/append_features-i.yaml +0 -11
- data/doc/ri/Paramix/Delegator/cdesc-Delegator.yaml +0 -33
- data/doc/ri/Paramix/Delegator/extend_object-i.yaml +0 -11
- data/doc/ri/Paramix/Delegator/new-c.yaml +0 -11
- data/doc/ri/Paramix/append_features-c.yaml +0 -10
- data/doc/ri/Paramix/cdesc-Paramix.yaml +0 -41
- data/doc/ri/Paramix/new-c.yaml +0 -12
- data/doc/ri/PathList/Finder/cdesc-Finder.yaml +0 -21
- data/doc/ri/PathList/Finder/find-i.yaml +0 -11
- data/doc/ri/PathList/Finder/include%3f-i.yaml +0 -12
- data/doc/ri/PathList/cdesc-PathList.yaml +0 -28
- data/doc/ri/PathList/new-c.yaml +0 -10
- data/doc/ri/PathList/to_s-i.yaml +0 -10
- data/doc/ri/Pathname/%2f-c.yaml +0 -14
- data/doc/ri/Pathname/%5b%5d-c.yaml +0 -14
- data/doc/ri/Pathname/cdesc-Pathname.yaml +0 -27
- data/doc/ri/Pathname/home-c.yaml +0 -14
- data/doc/ri/Pathname/null-c.yaml +0 -12
- data/doc/ri/Pathname/root-c.yaml +0 -12
- data/doc/ri/Pathname/rootname-i.yaml +0 -11
- data/doc/ri/Pathname/work-c.yaml +0 -12
- data/doc/ri/Platform/%3d%3d%3d-i.yaml +0 -10
- data/doc/ri/Platform/%3d%3d-i.yaml +0 -10
- data/doc/ri/Platform/%3d%7e-i.yaml +0 -10
- data/doc/ri/Platform/cdesc-Platform.yaml +0 -65
- data/doc/ri/Platform/const_missing-c.yaml +0 -10
- data/doc/ri/Platform/inspect-i.yaml +0 -10
- data/doc/ri/Platform/local-c.yaml +0 -10
- data/doc/ri/Platform/match-c.yaml +0 -10
- data/doc/ri/Platform/new-c.yaml +0 -10
- data/doc/ri/Platform/supported-c.yaml +0 -12
- data/doc/ri/Platform/to_a-i.yaml +0 -10
- data/doc/ri/Platform/to_s-i.yaml +0 -10
- data/doc/ri/Pool/cdesc-Pool.yaml +0 -27
- data/doc/ri/Pool/new-c.yaml +0 -10
- data/doc/ri/Pool/obtain-i.yaml +0 -12
- data/doc/ri/Pool/pop-i.yaml +0 -12
- data/doc/ri/Pool/push-i.yaml +0 -12
- data/doc/ri/Proc/%2a-i.yaml +0 -14
- data/doc/ri/Proc/bind-i.yaml +0 -16
- data/doc/ri/Proc/cdesc-Proc.yaml +0 -28
- data/doc/ri/Proc/compose-i.yaml +0 -14
- data/doc/ri/Proc/curry-i.yaml +0 -14
- data/doc/ri/Proc/partial-i.yaml +0 -20
- data/doc/ri/Proc/to_method-i.yaml +0 -14
- data/doc/ri/Proc/to_openobject-i.yaml +0 -16
- data/doc/ri/ProgressBar/bar-i.yaml +0 -10
- data/doc/ri/ProgressBar/bar_mark%3d-i.yaml +0 -10
- data/doc/ri/ProgressBar/bytes-i.yaml +0 -10
- data/doc/ri/ProgressBar/cdesc-ProgressBar.yaml +0 -76
- data/doc/ri/ProgressBar/convert_bytes-i.yaml +0 -10
- data/doc/ri/ProgressBar/elapsed-i.yaml +0 -10
- data/doc/ri/ProgressBar/eol-i.yaml +0 -10
- data/doc/ri/ProgressBar/eta-i.yaml +0 -12
- data/doc/ri/ProgressBar/file_transfer_mode-i.yaml +0 -10
- data/doc/ri/ProgressBar/finish-i.yaml +0 -10
- data/doc/ri/ProgressBar/flush-i.yaml +0 -10
- data/doc/ri/ProgressBar/format%3d-i.yaml +0 -10
- data/doc/ri/ProgressBar/format_arguments%3d-i.yaml +0 -10
- data/doc/ri/ProgressBar/format_time-i.yaml +0 -10
- data/doc/ri/ProgressBar/get_width-i.yaml +0 -10
- data/doc/ri/ProgressBar/halt-i.yaml +0 -10
- data/doc/ri/ProgressBar/inc-i.yaml +0 -10
- data/doc/ri/ProgressBar/inspect-i.yaml +0 -10
- data/doc/ri/ProgressBar/new-c.yaml +0 -10
- data/doc/ri/ProgressBar/percentage-i.yaml +0 -10
- data/doc/ri/ProgressBar/set-i.yaml +0 -10
- data/doc/ri/ProgressBar/show-i.yaml +0 -10
- data/doc/ri/ProgressBar/show_progress-i.yaml +0 -10
- data/doc/ri/ProgressBar/stat-i.yaml +0 -10
- data/doc/ri/ProgressBar/stat_for_file_transfer-i.yaml +0 -10
- data/doc/ri/ProgressBar/title%3d-i.yaml +0 -10
- data/doc/ri/ProgressBar/title-i.yaml +0 -10
- data/doc/ri/ProgressBar/total_overflow%3d-i.yaml +0 -10
- data/doc/ri/ProgressBar/transfer_rate-i.yaml +0 -10
- data/doc/ri/Prototype/cdesc-Prototype.yaml +0 -30
- data/doc/ri/Prototype/fn-i.yaml +0 -10
- data/doc/ri/Prototype/meta-i.yaml +0 -10
- data/doc/ri/Prototype/method_missing-i.yaml +0 -10
- data/doc/ri/Prototype/new-c.yaml +0 -12
- data/doc/ri/Prototype/new-i.yaml +0 -10
- data/doc/ri/Prototype/trait-i.yaml +0 -10
- data/doc/ri/Prototype/traits-i.yaml +0 -10
- data/doc/ri/RWDelegator/%3d%3d-i.yaml +0 -10
- data/doc/ri/RWDelegator/cdesc-RWDelegator.yaml +0 -28
- data/doc/ri/RWDelegator/inspect-i.yaml +0 -10
- data/doc/ri/RWDelegator/method_missing-i.yaml +0 -10
- data/doc/ri/RWDelegator/new-c.yaml +0 -10
- data/doc/ri/Random/Array/at_rand%21-i.yaml +0 -14
- data/doc/ri/Random/Array/at_rand-i.yaml +0 -14
- data/doc/ri/Random/Array/cdesc-Array.yaml +0 -31
- data/doc/ri/Random/Array/pick%21-i.yaml +0 -12
- data/doc/ri/Random/Array/pick-i.yaml +0 -12
- data/doc/ri/Random/Array/rand_index-i.yaml +0 -12
- data/doc/ri/Random/Array/rand_subset-i.yaml +0 -18
- data/doc/ri/Random/Array/shuffle%21-i.yaml +0 -16
- data/doc/ri/Random/Array/shuffle-i.yaml +0 -14
- data/doc/ri/Random/Hash/at_rand%21-i.yaml +0 -12
- data/doc/ri/Random/Hash/at_rand-i.yaml +0 -12
- data/doc/ri/Random/Hash/cdesc-Hash.yaml +0 -41
- data/doc/ri/Random/Hash/pick-i.yaml +0 -12
- data/doc/ri/Random/Hash/pick_key-i.yaml +0 -12
- data/doc/ri/Random/Hash/pick_pair-i.yaml +0 -12
- data/doc/ri/Random/Hash/rand_key%21-i.yaml +0 -15
- data/doc/ri/Random/Hash/rand_key-i.yaml +0 -14
- data/doc/ri/Random/Hash/rand_pair%21-i.yaml +0 -15
- data/doc/ri/Random/Hash/rand_pair-i.yaml +0 -14
- data/doc/ri/Random/Hash/rand_value%21-i.yaml +0 -17
- data/doc/ri/Random/Hash/rand_value-i.yaml +0 -15
- data/doc/ri/Random/Hash/shuffle%21-i.yaml +0 -14
- data/doc/ri/Random/Hash/shuffle-i.yaml +0 -14
- data/doc/ri/Random/Object/cdesc-Object.yaml +0 -16
- data/doc/ri/Random/Object/maybe-i.yaml +0 -14
- data/doc/ri/Random/String/Self/cdesc-Self.yaml +0 -20
- data/doc/ri/Random/String/Self/rand_letter-i.yaml +0 -14
- data/doc/ri/Random/String/Self/random-i.yaml +0 -12
- data/doc/ri/Random/String/at_rand%21-i.yaml +0 -14
- data/doc/ri/Random/String/at_rand-i.yaml +0 -14
- data/doc/ri/Random/String/cdesc-String.yaml +0 -30
- data/doc/ri/Random/String/included-c.yaml +0 -10
- data/doc/ri/Random/String/rand_byte%21-i.yaml +0 -14
- data/doc/ri/Random/String/rand_byte-i.yaml +0 -14
- data/doc/ri/Random/String/rand_index-i.yaml +0 -14
- data/doc/ri/Random/String/shuffle%21-i.yaml +0 -12
- data/doc/ri/Random/String/shuffle-i.yaml +0 -14
- data/doc/ri/Random/append_features-c.yaml +0 -11
- data/doc/ri/Random/cdesc-Random.yaml +0 -31
- data/doc/ri/Random/number-c.yaml +0 -11
- data/doc/ri/Range/cdesc-Range.yaml +0 -27
- data/doc/ri/Range/combine-c.yaml +0 -14
- data/doc/ri/Range/combine-i.yaml +0 -14
- data/doc/ri/Range/overlap%3f-i.yaml +0 -14
- data/doc/ri/Range/to_r-i.yaml +0 -14
- data/doc/ri/Range/to_range-i.yaml +0 -16
- data/doc/ri/Range/umbrella-i.yaml +0 -20
- data/doc/ri/Range/within%3f-i.yaml +0 -14
- data/doc/ri/Recorder/__call__-i.yaml +0 -10
- data/doc/ri/Recorder/cdesc-Recorder.yaml +0 -34
- data/doc/ri/Recorder/inspect-i.yaml +0 -10
- data/doc/ri/Recorder/method_missing-i.yaml +0 -10
- data/doc/ri/Recorder/new-c.yaml +0 -11
- data/doc/ri/RecursiveDependency/cdesc-RecursiveDependency.yaml +0 -15
- data/doc/ri/Reference/__value__-i.yaml +0 -11
- data/doc/ri/Reference/become-i.yaml +0 -10
- data/doc/ri/Reference/cdesc-Reference.yaml +0 -30
- data/doc/ri/Reference/instance_delegate-i.yaml +0 -12
- data/doc/ri/Reference/method_missing-i.yaml +0 -10
- data/doc/ri/Reference/new-c.yaml +0 -10
- data/doc/ri/Regexp/arity-i.yaml +0 -18
- data/doc/ri/Regexp/cdesc-Regexp.yaml +0 -20
- data/doc/ri/Regexp/to_re-i.yaml +0 -16
- data/doc/ri/Regexp/to_regexp-i.yaml +0 -16
- data/doc/ri/Registerable/cdesc-Registerable.yaml +0 -23
- data/doc/ri/Registerable/register-i.yaml +0 -12
- data/doc/ri/Registerable/registry-i.yaml +0 -12
- data/doc/ri/Registerable/registry_invalid%3f-i.yaml +0 -11
- data/doc/ri/Semaphore/cdesc-Semaphore.yaml +0 -36
- data/doc/ri/Semaphore/down-i.yaml +0 -12
- data/doc/ri/Semaphore/exclusive-i.yaml +0 -11
- data/doc/ri/Semaphore/new-c.yaml +0 -10
- data/doc/ri/Semaphore/p-i.yaml +0 -12
- data/doc/ri/Semaphore/signal-i.yaml +0 -13
- data/doc/ri/Semaphore/synchronize-i.yaml +0 -12
- data/doc/ri/Semaphore/up-i.yaml +0 -12
- data/doc/ri/Semaphore/v-i.yaml +0 -12
- data/doc/ri/Semaphore/wait-i.yaml +0 -13
- data/doc/ri/Set/cdesc-Set.yaml +0 -16
- data/doc/ri/Set/power_set-i.yaml +0 -10
- data/doc/ri/Settings/Setting/cdesc-Setting.yaml +0 -42
- data/doc/ri/Settings/Setting/new-c.yaml +0 -10
- data/doc/ri/Settings/Setting/to_s-i.yaml +0 -12
- data/doc/ri/Settings/Setting/update-i.yaml +0 -12
- data/doc/ri/Settings/SettingCollection/cdesc-SettingCollection.yaml +0 -23
- data/doc/ri/Settings/SettingCollection/method_missing-i.yaml +0 -12
- data/doc/ri/Settings/add_setting-c.yaml +0 -17
- data/doc/ri/Settings/cdesc-Settings.yaml +0 -33
- data/doc/ri/Settings/load-c.yaml +0 -12
- data/doc/ri/Settings/method_missing-c.yaml +0 -10
- data/doc/ri/Settings/parse-c.yaml +0 -12
- data/doc/ri/Settings/settings-c.yaml +0 -12
- data/doc/ri/Settings/setup-c.yaml +0 -15
- data/doc/ri/Shellwords/cdesc-Shellwords.yaml +0 -16
- data/doc/ri/Shellwords/escape-i.yaml +0 -12
- data/doc/ri/SimpleStringIO/cdesc-SimpleStringIO.yaml +0 -20
- data/doc/ri/SimpleStringIO/new-c.yaml +0 -10
- data/doc/ri/SimpleStringIO/write-i.yaml +0 -10
- data/doc/ri/Snapshot/ValueHolder/cdesc-ValueHolder.yaml +0 -24
- data/doc/ri/Snapshot/ValueHolder/new-c.yaml +0 -10
- data/doc/ri/Snapshot/ValueHolder/restore_snapshot-i.yaml +0 -10
- data/doc/ri/Snapshot/ValueHolder/take_snapshot-i.yaml +0 -10
- data/doc/ri/Snapshot/add-i.yaml +0 -10
- data/doc/ri/Snapshot/cdesc-Snapshot.yaml +0 -36
- data/doc/ri/Snapshot/new-c.yaml +0 -10
- data/doc/ri/Snapshot/restore-i.yaml +0 -10
- data/doc/ri/Stackable/cdesc-Stackable.yaml +0 -33
- data/doc/ri/Stackable/peek-i.yaml +0 -14
- data/doc/ri/Stackable/poke-i.yaml +0 -15
- data/doc/ri/Stackable/pop-i.yaml +0 -14
- data/doc/ri/Stackable/pull-i.yaml +0 -15
- data/doc/ri/Stackable/push-i.yaml +0 -14
- data/doc/ri/Stackable/shift-i.yaml +0 -12
- data/doc/ri/Stackable/unshift-i.yaml +0 -12
- data/doc/ri/String/Style/camelize-c.yaml +0 -18
- data/doc/ri/String/Style/capitalize-c.yaml +0 -12
- data/doc/ri/String/Style/cdesc-Style.yaml +0 -69
- data/doc/ri/String/Style/classify-c.yaml +0 -20
- data/doc/ri/String/Style/dasherize-c.yaml +0 -16
- data/doc/ri/String/Style/demodulize-c.yaml +0 -16
- data/doc/ri/String/Style/downcase-c.yaml +0 -12
- data/doc/ri/String/Style/foreign_key-c.yaml +0 -16
- data/doc/ri/String/Style/humanize-c.yaml +0 -16
- data/doc/ri/String/Style/lowercamel-c.yaml +0 -10
- data/doc/ri/String/Style/lowercase-c.yaml +0 -12
- data/doc/ri/String/Style/methodize-c.yaml +0 -18
- data/doc/ri/String/Style/modulize-c.yaml +0 -18
- data/doc/ri/String/Style/ordinalize-c.yaml +0 -16
- data/doc/ri/String/Style/pathize-c.yaml +0 -22
- data/doc/ri/String/Style/snakecase-c.yaml +0 -18
- data/doc/ri/String/Style/tableize-c.yaml +0 -16
- data/doc/ri/String/Style/titlecase-c.yaml +0 -14
- data/doc/ri/String/Style/titleize-c.yaml +0 -18
- data/doc/ri/String/Style/underscore-c.yaml +0 -18
- data/doc/ri/String/Style/upcase-c.yaml +0 -12
- data/doc/ri/String/Style/uppercamel-c.yaml +0 -10
- data/doc/ri/String/Style/uppercase-c.yaml +0 -12
- data/doc/ri/String/Words/brief-i.yaml +0 -14
- data/doc/ri/String/Words/cdesc-Words.yaml +0 -28
- data/doc/ri/String/Words/each_word-i.yaml +0 -14
- data/doc/ri/String/Words/word_filter%21-i.yaml +0 -14
- data/doc/ri/String/Words/word_filter-i.yaml +0 -14
- data/doc/ri/String/Words/word_wrap%21-i.yaml +0 -14
- data/doc/ri/String/Words/word_wrap-i.yaml +0 -18
- data/doc/ri/String/Words/words-i.yaml +0 -14
- data/doc/ri/String/cdesc-String.yaml +0 -17
- data/doc/ri/Struct/cdesc-Struct.yaml +0 -18
- data/doc/ri/Struct/restore_snapshot-i.yaml +0 -10
- data/doc/ri/Struct/take_snapshot-i.yaml +0 -10
- data/doc/ri/Symbol/cdesc-Symbol.yaml +0 -15
- data/doc/ri/SyncArray/cdesc-SyncArray.yaml +0 -19
- data/doc/ri/SyncArray/new-c.yaml +0 -12
- data/doc/ri/SyncHash/Delegator/%5b%5d%3d-i.yaml +0 -10
- data/doc/ri/SyncHash/Delegator/%5b%5d-i.yaml +0 -10
- data/doc/ri/SyncHash/Delegator/cdesc-Delegator.yaml +0 -30
- data/doc/ri/SyncHash/Delegator/clear-i.yaml +0 -10
- data/doc/ri/SyncHash/Delegator/delete-i.yaml +0 -10
- data/doc/ri/SyncHash/Delegator/keys-i.yaml +0 -10
- data/doc/ri/SyncHash/Delegator/size-i.yaml +0 -10
- data/doc/ri/SyncHash/Delegator/values-i.yaml +0 -10
- data/doc/ri/SyncHash/Inheritor/%5b%5d%3d-i.yaml +0 -10
- data/doc/ri/SyncHash/Inheritor/%5b%5d-i.yaml +0 -10
- data/doc/ri/SyncHash/Inheritor/cdesc-Inheritor.yaml +0 -30
- data/doc/ri/SyncHash/Inheritor/clear-i.yaml +0 -10
- data/doc/ri/SyncHash/Inheritor/delete-i.yaml +0 -10
- data/doc/ri/SyncHash/Inheritor/keys-i.yaml +0 -10
- data/doc/ri/SyncHash/Inheritor/size-i.yaml +0 -10
- data/doc/ri/SyncHash/Inheritor/values-i.yaml +0 -10
- data/doc/ri/SyncHash/cdesc-SyncHash.yaml +0 -38
- data/doc/ri/SyncHash/new-c.yaml +0 -10
- data/doc/ri/System/argf-i.yaml +0 -12
- data/doc/ri/System/argv-i.yaml +0 -11
- data/doc/ri/System/cdesc-System.yaml +0 -145
- data/doc/ri/System/child_status-i.yaml +0 -11
- data/doc/ri/System/coding%3d-i.yaml +0 -10
- data/doc/ri/System/coding-i.yaml +0 -10
- data/doc/ri/System/current_platform-i.yaml +0 -12
- data/doc/ri/System/data-i.yaml +0 -12
- data/doc/ri/System/debug-i.yaml +0 -10
- data/doc/ri/System/default_input-i.yaml +0 -13
- data/doc/ri/System/default_output%3d-i.yaml +0 -11
- data/doc/ri/System/default_output-i.yaml +0 -11
- data/doc/ri/System/defin-i.yaml +0 -12
- data/doc/ri/System/defout%3d-i.yaml +0 -12
- data/doc/ri/System/defout-i.yaml +0 -12
- data/doc/ri/System/env-i.yaml +0 -10
- data/doc/ri/System/environment-i.yaml +0 -10
- data/doc/ri/System/error_info-i.yaml +0 -10
- data/doc/ri/System/error_position-i.yaml +0 -10
- data/doc/ri/System/exit_status-i.yaml +0 -12
- data/doc/ri/System/extentions-i.yaml +0 -10
- data/doc/ri/System/fs%3d-i.yaml +0 -12
- data/doc/ri/System/fs-i.yaml +0 -12
- data/doc/ri/System/input_field_separator%3d-i.yaml +0 -11
- data/doc/ri/System/input_field_separator-i.yaml +0 -11
- data/doc/ri/System/input_line_number-i.yaml +0 -11
- data/doc/ri/System/input_lineno-i.yaml +0 -12
- data/doc/ri/System/input_record_separator%3d-i.yaml +0 -11
- data/doc/ri/System/input_record_separator-i.yaml +0 -11
- data/doc/ri/System/line_end_processing-i.yaml +0 -10
- data/doc/ri/System/load_path-i.yaml +0 -12
- data/doc/ri/System/loaded_features-i.yaml +0 -11
- data/doc/ri/System/match_platform-i.yaml +0 -11
- data/doc/ri/System/ofs%3d-i.yaml +0 -12
- data/doc/ri/System/ofs-i.yaml +0 -12
- data/doc/ri/System/options-i.yaml +0 -12
- data/doc/ri/System/ors%3d-i.yaml +0 -12
- data/doc/ri/System/ors-i.yaml +0 -12
- data/doc/ri/System/output_field_separator%3d-i.yaml +0 -11
- data/doc/ri/System/output_field_separator-i.yaml +0 -11
- data/doc/ri/System/output_record_separator%3d-i.yaml +0 -11
- data/doc/ri/System/output_record_separator-i.yaml +0 -11
- data/doc/ri/System/pid-i.yaml +0 -12
- data/doc/ri/System/platform-i.yaml +0 -10
- data/doc/ri/System/process_id-i.yaml +0 -15
- data/doc/ri/System/program_loop-i.yaml +0 -10
- data/doc/ri/System/program_name%3d-i.yaml +0 -10
- data/doc/ri/System/program_name-i.yaml +0 -12
- data/doc/ri/System/release-i.yaml +0 -10
- data/doc/ri/System/required-i.yaml +0 -12
- data/doc/ri/System/rs%3d-i.yaml +0 -12
- data/doc/ri/System/rs-i.yaml +0 -12
- data/doc/ri/System/rubylibdir-i.yaml +0 -10
- data/doc/ri/System/rubypath-i.yaml +0 -10
- data/doc/ri/System/safe-i.yaml +0 -10
- data/doc/ri/System/stderr%3d-i.yaml +0 -10
- data/doc/ri/System/stderr-i.yaml +0 -10
- data/doc/ri/System/stdin%3d-i.yaml +0 -10
- data/doc/ri/System/stdin-i.yaml +0 -12
- data/doc/ri/System/stdout%3d-i.yaml +0 -10
- data/doc/ri/System/stdout-i.yaml +0 -10
- data/doc/ri/System/verbose%3d-i.yaml +0 -10
- data/doc/ri/System/verbose-i.yaml +0 -10
- data/doc/ri/System/version-i.yaml +0 -10
- data/doc/ri/Time/cdesc-Time.yaml +0 -17
- data/doc/ri/Timer/Dummy/cdesc-Dummy.yaml +0 -20
- data/doc/ri/Timer/Dummy/start-i.yaml +0 -10
- data/doc/ri/Timer/Dummy/stop-i.yaml +0 -10
- data/doc/ri/Timer/cdesc-Timer.yaml +0 -57
- data/doc/ri/Timer/defuse-i.yaml +0 -12
- data/doc/ri/Timer/limit-i.yaml +0 -12
- data/doc/ri/Timer/new-c.yaml +0 -10
- data/doc/ri/Timer/on_timeout-i.yaml +0 -10
- data/doc/ri/Timer/reset-i.yaml +0 -12
- data/doc/ri/Timer/reset_limit-i.yaml +0 -14
- data/doc/ri/Timer/running%3f-i.yaml +0 -12
- data/doc/ri/Timer/start-i.yaml +0 -12
- data/doc/ri/Timer/stop-i.yaml +0 -12
- data/doc/ri/Timer/stopped%3f-i.yaml +0 -12
- data/doc/ri/Timer/total_time-i.yaml +0 -12
- data/doc/ri/TracePoint/%3d%3d%3d-i.yaml +0 -12
- data/doc/ri/TracePoint/active%3d-c.yaml +0 -10
- data/doc/ri/TracePoint/active-c.yaml +0 -10
- data/doc/ri/TracePoint/back-i.yaml +0 -12
- data/doc/ri/TracePoint/bind-i.yaml +0 -12
- data/doc/ri/TracePoint/called-i.yaml +0 -13
- data/doc/ri/TracePoint/callee-i.yaml +0 -13
- data/doc/ri/TracePoint/cdesc-TracePoint.yaml +0 -82
- data/doc/ri/TracePoint/event%3f-i.yaml +0 -12
- data/doc/ri/TracePoint/event_map-i.yaml +0 -10
- data/doc/ri/TracePoint/eventless%3f-i.yaml +0 -10
- data/doc/ri/TracePoint/method_name-i.yaml +0 -12
- data/doc/ri/TracePoint/new-c.yaml +0 -12
- data/doc/ri/TracePoint/self-i.yaml +0 -12
- data/doc/ri/TracePoint/trace-c.yaml +0 -12
- data/doc/ri/TrueClass/cdesc-TrueClass.yaml +0 -15
- data/doc/ri/Tuple/%3c%3c-i.yaml +0 -12
- data/doc/ri/Tuple/%3c%3d%3e-i.yaml +0 -10
- data/doc/ri/Tuple/%3d%7e-i.yaml +0 -12
- data/doc/ri/Tuple/%5b%5d%3d-i.yaml +0 -10
- data/doc/ri/Tuple/%5b%5d-c.yaml +0 -10
- data/doc/ri/Tuple/%5b%5d-i.yaml +0 -10
- data/doc/ri/Tuple/cast_from_array-c.yaml +0 -11
- data/doc/ri/Tuple/cast_from_string-c.yaml +0 -20
- data/doc/ri/Tuple/cdesc-Tuple.yaml +0 -113
- data/doc/ri/Tuple/constraint_to_lambda-c.yaml +0 -12
- data/doc/ri/Tuple/divider-i.yaml +0 -10
- data/doc/ri/Tuple/each-i.yaml +0 -10
- data/doc/ri/Tuple/each_index-i.yaml +0 -10
- data/doc/ri/Tuple/empty%3f-i.yaml +0 -10
- data/doc/ri/Tuple/eql%3f-i.yaml +0 -12
- data/doc/ri/Tuple/first-i.yaml +0 -10
- data/doc/ri/Tuple/hash-i.yaml +0 -12
- data/doc/ri/Tuple/index-i.yaml +0 -10
- data/doc/ri/Tuple/inspect-i.yaml +0 -10
- data/doc/ri/Tuple/last-i.yaml +0 -10
- data/doc/ri/Tuple/length-i.yaml +0 -10
- data/doc/ri/Tuple/major-i.yaml +0 -12
- data/doc/ri/Tuple/minor-i.yaml +0 -10
- data/doc/ri/Tuple/multiton_id-c.yaml +0 -10
- data/doc/ri/Tuple/new-c.yaml +0 -10
- data/doc/ri/Tuple/parse_constraint-c.yaml +0 -10
- data/doc/ri/Tuple/pop-i.yaml +0 -10
- data/doc/ri/Tuple/pot-i.yaml +0 -13
- data/doc/ri/Tuple/pull-i.yaml +0 -13
- data/doc/ri/Tuple/push-i.yaml +0 -10
- data/doc/ri/Tuple/rindex-i.yaml +0 -10
- data/doc/ri/Tuple/shift-i.yaml +0 -12
- data/doc/ri/Tuple/size-i.yaml +0 -10
- data/doc/ri/Tuple/teeny-i.yaml +0 -10
- data/doc/ri/Tuple/to_a-i.yaml +0 -10
- data/doc/ri/Tuple/to_ary-i.yaml +0 -10
- data/doc/ri/Tuple/to_s-i.yaml +0 -10
- data/doc/ri/Tuple/to_t-i.yaml +0 -10
- data/doc/ri/Tuple/to_tuple-i.yaml +0 -10
- data/doc/ri/Tuple/unshift-i.yaml +0 -12
- data/doc/ri/Tuple/values-i.yaml +0 -10
- data/doc/ri/TypeCast/Class/cast_from-i.yaml +0 -14
- data/doc/ri/TypeCast/Class/cdesc-Class.yaml +0 -18
- data/doc/ri/TypeCast/Object/cast_to-i.yaml +0 -14
- data/doc/ri/TypeCast/Object/cdesc-Object.yaml +0 -18
- data/doc/ri/TypeCast/cdesc-TypeCast.yaml +0 -52
- data/doc/ri/TypeCastException/cdesc-TypeCastException.yaml +0 -17
- data/doc/ri/URI/Hash/cdesc-Hash.yaml +0 -16
- data/doc/ri/URI/Hash/to_uri-i.yaml +0 -11
- data/doc/ri/URI/Kernel/cdesc-Kernel.yaml +0 -18
- data/doc/ri/URI/Kernel/unuri-i.yaml +0 -11
- data/doc/ri/URI/Kernel/uri-i.yaml +0 -11
- data/doc/ri/URI/cdesc-URI.yaml +0 -38
- data/doc/ri/URI/cgi_escape-i.yaml +0 -12
- data/doc/ri/URI/cgi_parse-i.yaml +0 -11
- data/doc/ri/URI/cgi_unescape-i.yaml +0 -11
- data/doc/ri/URI/chomp_query_string-i.yaml +0 -16
- data/doc/ri/URI/decode-i.yaml +0 -12
- data/doc/ri/URI/get_query_string-i.yaml +0 -16
- data/doc/ri/URI/hash_to_query-i.yaml +0 -15
- data/doc/ri/URI/hash_to_query_string-i.yaml +0 -12
- data/doc/ri/URI/query_string_to_hash-i.yaml +0 -12
- data/doc/ri/URI/query_to_hash-i.yaml +0 -17
- data/doc/ri/URI/update_query_string-i.yaml +0 -18
- data/doc/ri/URI/update_request_uri-i.yaml +0 -12
- data/doc/ri/UnboundMethod/arguments-i.yaml +0 -18
- data/doc/ri/UnboundMethod/cdesc-UnboundMethod.yaml +0 -18
- data/doc/ri/UnboundMethod/name-i.yaml +0 -14
- data/doc/ri/Uninheritable/cdesc-Uninheritable.yaml +0 -21
- data/doc/ri/Uninheritable/inherited-i.yaml +0 -12
- data/doc/ri/UploadUtils/cdesc-UploadUtils.yaml +0 -47
- data/doc/ri/UploadUtils/files-i.yaml +0 -12
- data/doc/ri/UploadUtils/ftp-i.yaml +0 -12
- data/doc/ri/UploadUtils/rsync-i.yaml +0 -12
- data/doc/ri/UploadUtils/sftp-i.yaml +0 -12
- data/doc/ri/UploadUtils/stage_linkdir-i.yaml +0 -12
- data/doc/ri/UploadUtils/stage_transfer-i.yaml +0 -20
- data/doc/ri/UploadUtils/upload-i.yaml +0 -12
- data/doc/ri/UploadUtils/upload_parameters-i.yaml +0 -12
- data/doc/ri/VersionNumber/%3c%3d%3e-i.yaml +0 -12
- data/doc/ri/VersionNumber/%3d%7e-i.yaml +0 -12
- data/doc/ri/VersionNumber/%5b%5d-i.yaml +0 -10
- data/doc/ri/VersionNumber/cdesc-VersionNumber.yaml +0 -45
- data/doc/ri/VersionNumber/constraint_lambda-c.yaml +0 -12
- data/doc/ri/VersionNumber/inspect-i.yaml +0 -10
- data/doc/ri/VersionNumber/major-i.yaml +0 -12
- data/doc/ri/VersionNumber/method_missing-i.yaml +0 -12
- data/doc/ri/VersionNumber/minor-i.yaml +0 -12
- data/doc/ri/VersionNumber/new-c.yaml +0 -10
- data/doc/ri/VersionNumber/parse_constraint-c.yaml +0 -10
- data/doc/ri/VersionNumber/teeny-i.yaml +0 -12
- data/doc/ri/VersionNumber/to_s-i.yaml +0 -10
- data/doc/ri/VersionNumber/to_str-i.yaml +0 -12
- data/doc/ri/Weekdays/after-i.yaml +0 -12
- data/doc/ri/Weekdays/ago-i.yaml +0 -13
- data/doc/ri/Weekdays/before-i.yaml +0 -12
- data/doc/ri/Weekdays/cdesc-Weekdays.yaml +0 -38
- data/doc/ri/Weekdays/from_now-i.yaml +0 -12
- data/doc/ri/Weekdays/new-c.yaml +0 -10
- data/doc/ri/Weekdays/since-i.yaml +0 -13
- data/doc/ri/Weekdays/step-i.yaml +0 -10
- data/doc/ri/Weekdays/until-i.yaml +0 -12
- data/doc/ri/XOXO/Parser/cdesc-Parser.yaml +0 -15
- data/doc/ri/XOXO/cdesc-XOXO.yaml +0 -25
- data/doc/ri/XOXO/dump-c.yaml +0 -35
- data/doc/ri/XOXO/load-c.yaml +0 -12
- data/doc/ri/XOXO/make_xoxo-c.yaml +0 -10
- data/doc/ri/ZipUtils/DryRun/cdesc-DryRun.yaml +0 -32
- data/doc/ri/ZipUtils/DryRun/compress-i.yaml +0 -10
- data/doc/ri/ZipUtils/DryRun/tar_bzip2-i.yaml +0 -10
- data/doc/ri/ZipUtils/DryRun/tar_gzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/DryRun/untar_bzip2-i.yaml +0 -10
- data/doc/ri/ZipUtils/DryRun/untar_gzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/DryRun/unzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/DryRun/zip-i.yaml +0 -10
- data/doc/ri/ZipUtils/NoWrite/cdesc-NoWrite.yaml +0 -32
- data/doc/ri/ZipUtils/NoWrite/compress-i.yaml +0 -10
- data/doc/ri/ZipUtils/NoWrite/tar_bzip2-i.yaml +0 -10
- data/doc/ri/ZipUtils/NoWrite/tar_gzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/NoWrite/untar_bzip2-i.yaml +0 -10
- data/doc/ri/ZipUtils/NoWrite/untar_gzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/NoWrite/unzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/NoWrite/zip-i.yaml +0 -10
- data/doc/ri/ZipUtils/Verbose/cdesc-Verbose.yaml +0 -32
- data/doc/ri/ZipUtils/Verbose/compress-i.yaml +0 -10
- data/doc/ri/ZipUtils/Verbose/tar_bzip2-i.yaml +0 -10
- data/doc/ri/ZipUtils/Verbose/tar_gzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/Verbose/untar_bzip2-i.yaml +0 -10
- data/doc/ri/ZipUtils/Verbose/untar_gzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/Verbose/unzip-i.yaml +0 -10
- data/doc/ri/ZipUtils/Verbose/zip-i.yaml +0 -10
- data/doc/ri/ZipUtils/cdesc-ZipUtils.yaml +0 -50
- data/doc/ri/ZipUtils/compress-i.yaml +0 -27
- data/doc/ri/ZipUtils/tar_bzip-i.yaml +0 -12
- data/doc/ri/ZipUtils/tar_bzip2-i.yaml +0 -15
- data/doc/ri/ZipUtils/tar_gzip-i.yaml +0 -13
- data/doc/ri/ZipUtils/tar_j-i.yaml +0 -12
- data/doc/ri/ZipUtils/tar_z-i.yaml +0 -12
- data/doc/ri/ZipUtils/tgz-i.yaml +0 -11
- data/doc/ri/ZipUtils/untar_bzip-i.yaml +0 -12
- data/doc/ri/ZipUtils/untar_bzip2-i.yaml +0 -15
- data/doc/ri/ZipUtils/untar_gzip-i.yaml +0 -13
- data/doc/ri/ZipUtils/untar_j-i.yaml +0 -12
- data/doc/ri/ZipUtils/untar_z-i.yaml +0 -12
- data/doc/ri/ZipUtils/unzip-i.yaml +0 -12
- data/doc/ri/ZipUtils/zip-i.yaml +0 -12
- data/doc/ri/created.rid +0 -1
- data/lib/core/facets/kernel/suppress.rb +0 -18
- data/lib/core/facets/string/to_time.rb +0 -15
- data/lib/core/facets/time/to_date.rb +0 -26
- data/test/core/string/test_to_time.rb +0 -15
- data/test/core/time/test_to_date.rb +0 -12
@@ -80,29 +80,6 @@
|
|
80
80
|
<a href="../files/lib/core/facets/enumerable/map_send_rb.html">lib/core/facets/enumerable/map_send.rb</a>
|
81
81
|
<a href="../files/lib/core/facets/enumerable/probability_rb.html">lib/core/facets/enumerable/probability.rb</a>
|
82
82
|
<a href="../files/lib/core/facets/enumerable/count_rb.html">lib/core/facets/enumerable/count.rb</a>
|
83
|
-
<a href="../files/lib/core/facets/enumerable/each_by_rb.html">lib/core/facets/enumerable/each_by.rb</a>
|
84
|
-
<a href="../files/lib/core/facets/enumerable/one_rb.html">lib/core/facets/enumerable/one.rb</a>
|
85
|
-
<a href="../files/lib/core/facets/enumerable/cluster_by_rb.html">lib/core/facets/enumerable/cluster_by.rb</a>
|
86
|
-
<a href="../files/lib/core/facets/enumerable/group_by_rb.html">lib/core/facets/enumerable/group_by.rb</a>
|
87
|
-
<a href="../files/lib/core/facets/enumerable/sum_rb.html">lib/core/facets/enumerable/sum.rb</a>
|
88
|
-
<a href="../files/lib/core/facets/enumerable/mode_rb.html">lib/core/facets/enumerable/mode.rb</a>
|
89
|
-
<a href="../files/lib/core/facets/enumerable/commonality_rb.html">lib/core/facets/enumerable/commonality.rb</a>
|
90
|
-
<a href="../files/lib/core/facets/enumerable/occur_rb.html">lib/core/facets/enumerable/occur.rb</a>
|
91
|
-
<a href="../files/lib/core/facets/enumerable/collect_rb.html">lib/core/facets/enumerable/collect.rb</a>
|
92
|
-
<a href="../files/lib/core/facets/enumerable/frequency_rb.html">lib/core/facets/enumerable/frequency.rb</a>
|
93
|
-
<a href="../files/lib/core/facets/enumerable/divide_rb.html">lib/core/facets/enumerable/divide.rb</a>
|
94
|
-
<a href="../files/lib/core/facets/enumerable/inject_rb.html">lib/core/facets/enumerable/inject.rb</a>
|
95
|
-
<a href="../files/lib/core/facets/enumerable/duplicates_rb.html">lib/core/facets/enumerable/duplicates.rb</a>
|
96
|
-
<a href="../files/lib/core/facets/enumerable/none_rb.html">lib/core/facets/enumerable/none.rb</a>
|
97
|
-
<a href="../files/lib/core/facets/enumerable/uniq_by_rb.html">lib/core/facets/enumerable/uniq_by.rb</a>
|
98
|
-
<a href="../files/lib/core/facets/enumerable/accumulate_rb.html">lib/core/facets/enumerable/accumulate.rb</a>
|
99
|
-
<a href="../files/lib/core/facets/enumerable/mash_rb.html">lib/core/facets/enumerable/mash.rb</a>
|
100
|
-
<a href="../files/lib/core/facets/enumerable/modulate_rb.html">lib/core/facets/enumerable/modulate.rb</a>
|
101
|
-
<a href="../files/lib/core/facets/enumerable/entropy_rb.html">lib/core/facets/enumerable/entropy.rb</a>
|
102
|
-
<a href="../files/lib/core/facets/enumerable/split_rb.html">lib/core/facets/enumerable/split.rb</a>
|
103
|
-
<a href="../files/lib/core/facets/enumerable/map_send_rb.html">lib/core/facets/enumerable/map_send.rb</a>
|
104
|
-
<a href="../files/lib/core/facets/enumerable/probability_rb.html">lib/core/facets/enumerable/probability.rb</a>
|
105
|
-
<a href="../files/lib/core/facets/enumerable/count_rb.html">lib/core/facets/enumerable/count.rb</a>
|
106
83
|
<a href="../files/lib/core/facets/enumerable/each_by_rb.html">lib/core/facets/enumerable/each_by.rb</a>
|
107
84
|
</td>
|
108
85
|
</tr>
|
@@ -120,65 +97,36 @@
|
|
120
97
|
|
121
98
|
<div class="sectiontitle">Methods</div>
|
122
99
|
<ul>
|
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="#
|
138
|
-
<li><a href="#
|
139
|
-
<li><a href="#
|
140
|
-
<li><a href="#
|
141
|
-
<li><a href="#
|
142
|
-
<li><a href="#
|
143
|
-
<li><a href="#
|
144
|
-
<li><a href="#
|
145
|
-
<li><a href="#
|
146
|
-
<li><a href="#
|
147
|
-
<li><a href="#
|
148
|
-
<li><a href="#
|
149
|
-
<li><a href="#
|
150
|
-
<li><a href="#
|
151
|
-
<li><a href="#
|
152
|
-
<li><a href="#
|
153
|
-
<li><a href="#M000771">inject!</a></li>
|
154
|
-
<li><a href="#M000742">inject!</a></li>
|
155
|
-
<li><a href="#M000754">map_send</a></li>
|
156
|
-
<li><a href="#M000783">map_send</a></li>
|
157
|
-
<li><a href="#M000766">map_with_index</a></li>
|
158
|
-
<li><a href="#M000737">map_with_index</a></li>
|
159
|
-
<li><a href="#M000748">mash</a></li>
|
160
|
-
<li><a href="#M000777">mash</a></li>
|
161
|
-
<li><a href="#M000762">mode</a></li>
|
162
|
-
<li><a href="#M000733">mode</a></li>
|
163
|
-
<li><a href="#M000750">modulate</a></li>
|
164
|
-
<li><a href="#M000779">modulate</a></li>
|
165
|
-
<li><a href="#M000774">none?</a></li>
|
166
|
-
<li><a href="#M000745">none?</a></li>
|
167
|
-
<li><a href="#M000772">nonuniq</a></li>
|
168
|
-
<li><a href="#M000743">nonuniq</a></li>
|
169
|
-
<li><a href="#M000735">occur</a></li>
|
170
|
-
<li><a href="#M000764">occur</a></li>
|
171
|
-
<li><a href="#M000729">one?</a></li>
|
172
|
-
<li><a href="#M000758">one?</a></li>
|
173
|
-
<li><a href="#M000755">probability</a></li>
|
174
|
-
<li><a href="#M000784">probability</a></li>
|
175
|
-
<li><a href="#M000753">split</a></li>
|
176
|
-
<li><a href="#M000782">split</a></li>
|
177
|
-
<li><a href="#M000732">sum</a></li>
|
178
|
-
<li><a href="#M000761">sum</a></li>
|
179
|
-
<li><a href="#M000728">to_h</a></li>
|
180
|
-
<li><a href="#M000746">uniq_by</a></li>
|
181
|
-
<li><a href="#M000775">uniq_by</a></li>
|
100
|
+
<li><a href="#M000421">accumulate</a></li>
|
101
|
+
<li><a href="#M000404">cluster_by</a></li>
|
102
|
+
<li><a href="#M000410">collect_with_index</a></li>
|
103
|
+
<li><a href="#M000408">commonality</a></li>
|
104
|
+
<li><a href="#M000413">compact_collect</a></li>
|
105
|
+
<li><a href="#M000412">compact_map</a></li>
|
106
|
+
<li><a href="#M000430">count</a></li>
|
107
|
+
<li><a href="#M000415">divide</a></li>
|
108
|
+
<li><a href="#M000418">duplicates</a></li>
|
109
|
+
<li><a href="#M000431">each_by</a></li>
|
110
|
+
<li><a href="#M000425">entropy</a></li>
|
111
|
+
<li><a href="#M000414">frequency</a></li>
|
112
|
+
<li><a href="#M000423">graph</a></li>
|
113
|
+
<li><a href="#M000405">group_by</a></li>
|
114
|
+
<li><a href="#M000426">ideal_entropy</a></li>
|
115
|
+
<li><a href="#M000416">inject!</a></li>
|
116
|
+
<li><a href="#M000428">map_send</a></li>
|
117
|
+
<li><a href="#M000411">map_with_index</a></li>
|
118
|
+
<li><a href="#M000422">mash</a></li>
|
119
|
+
<li><a href="#M000407">mode</a></li>
|
120
|
+
<li><a href="#M000424">modulate</a></li>
|
121
|
+
<li><a href="#M000419">none?</a></li>
|
122
|
+
<li><a href="#M000417">nonuniq</a></li>
|
123
|
+
<li><a href="#M000409">occur</a></li>
|
124
|
+
<li><a href="#M000403">one?</a></li>
|
125
|
+
<li><a href="#M000429">probability</a></li>
|
126
|
+
<li><a href="#M000427">split</a></li>
|
127
|
+
<li><a href="#M000406">sum</a></li>
|
128
|
+
<li><a href="#M000402">to_h</a></li>
|
129
|
+
<li><a href="#M000420">uniq_by</a></li>
|
182
130
|
</ul>
|
183
131
|
|
184
132
|
|
@@ -189,39 +137,7 @@
|
|
189
137
|
<div class="sectiontitle">Public Instance methods</div>
|
190
138
|
<div class="method">
|
191
139
|
<div class="title">
|
192
|
-
<a name="
|
193
|
-
</div>
|
194
|
-
<div class="description">
|
195
|
-
<p>
|
196
|
-
Accumulate a set of a set.
|
197
|
-
</p>
|
198
|
-
<p>
|
199
|
-
For example, in an ORM design if Group has_many User then
|
200
|
-
</p>
|
201
|
-
<pre>
|
202
|
-
groups.accumulate.users
|
203
|
-
</pre>
|
204
|
-
<p>
|
205
|
-
will return a list of users from all groups.
|
206
|
-
</p>
|
207
|
-
</div>
|
208
|
-
<div class="sourcecode">
|
209
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000776_source')" id="l_M000776_source">show source</a> ]</p>
|
210
|
-
<div id="M000776_source" class="dyn-source">
|
211
|
-
<pre>
|
212
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/accumulate.rb, line 14</span>
|
213
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">accumulate</span>
|
214
|
-
<span class="ruby-ivar">@_accumulate</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Functor</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span><span class="ruby-operator">|</span>
|
215
|
-
<span class="ruby-identifier">inject</span>([]) { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span>, <span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">op</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) }.<span class="ruby-identifier">flatten</span>
|
216
|
-
<span class="ruby-keyword kw">end</span>
|
217
|
-
<span class="ruby-keyword kw">end</span>
|
218
|
-
</pre>
|
219
|
-
</div>
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
<div class="method">
|
223
|
-
<div class="title">
|
224
|
-
<a name="M000747"></a><b>accumulate</b>()
|
140
|
+
<a name="M000421"></a><b>accumulate</b>()
|
225
141
|
</div>
|
226
142
|
<div class="description">
|
227
143
|
<p>
|
@@ -238,8 +154,8 @@ will return a list of users from all groups.
|
|
238
154
|
</p>
|
239
155
|
</div>
|
240
156
|
<div class="sourcecode">
|
241
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
242
|
-
<div id="
|
157
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000421_source')" id="l_M000421_source">show source</a> ]</p>
|
158
|
+
<div id="M000421_source" class="dyn-source">
|
243
159
|
<pre>
|
244
160
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/accumulate.rb, line 14</span>
|
245
161
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">accumulate</span>
|
@@ -253,44 +169,11 @@ will return a list of users from all groups.
|
|
253
169
|
</div>
|
254
170
|
<div class="method">
|
255
171
|
<div class="title">
|
256
|
-
<a name="
|
257
|
-
</div>
|
258
|
-
<div class="description">
|
259
|
-
<p>
|
260
|
-
Similar to <a href="Enumerable.html#M000731">group_by</a> but returns an
|
261
|
-
array of the groups. Returned elements are sorted by block.
|
262
|
-
</p>
|
263
|
-
<pre>
|
264
|
-
%w{this is a test}.cluster_by {|x| x[0]}
|
265
|
-
</pre>
|
266
|
-
<p>
|
267
|
-
<em>produces</em>
|
268
|
-
</p>
|
269
|
-
<pre>
|
270
|
-
[ ['a'], ['is'], ['this', 'test'] ]
|
271
|
-
|
272
|
-
CREDIT Erik Veenstra
|
273
|
-
</pre>
|
274
|
-
</div>
|
275
|
-
<div class="sourcecode">
|
276
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000759_source')" id="l_M000759_source">show source</a> ]</p>
|
277
|
-
<div id="M000759_source" class="dyn-source">
|
278
|
-
<pre>
|
279
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/cluster_by.rb, line 16</span>
|
280
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cluster_by</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
281
|
-
<span class="ruby-identifier">group_by</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">b</span>).<span class="ruby-identifier">sort</span>.<span class="ruby-identifier">transpose</span>.<span class="ruby-identifier">pop</span> <span class="ruby-operator">||</span> [] <span class="ruby-comment cmt"># group_by(&b).values ?</span>
|
282
|
-
<span class="ruby-keyword kw">end</span>
|
283
|
-
</pre>
|
284
|
-
</div>
|
285
|
-
</div>
|
286
|
-
</div>
|
287
|
-
<div class="method">
|
288
|
-
<div class="title">
|
289
|
-
<a name="M000730"></a><b>cluster_by</b>(&b)
|
172
|
+
<a name="M000404"></a><b>cluster_by</b>(&b)
|
290
173
|
</div>
|
291
174
|
<div class="description">
|
292
175
|
<p>
|
293
|
-
Similar to <a href="Enumerable.html#
|
176
|
+
Similar to <a href="Enumerable.html#M000405">group_by</a> but returns an
|
294
177
|
array of the groups. Returned elements are sorted by block.
|
295
178
|
</p>
|
296
179
|
<pre>
|
@@ -306,8 +189,8 @@ array of the groups. Returned elements are sorted by block.
|
|
306
189
|
</pre>
|
307
190
|
</div>
|
308
191
|
<div class="sourcecode">
|
309
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
310
|
-
<div id="
|
192
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000404_source')" id="l_M000404_source">show source</a> ]</p>
|
193
|
+
<div id="M000404_source" class="dyn-source">
|
311
194
|
<pre>
|
312
195
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/cluster_by.rb, line 16</span>
|
313
196
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cluster_by</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -319,38 +202,7 @@ array of the groups. Returned elements are sorted by block.
|
|
319
202
|
</div>
|
320
203
|
<div class="method">
|
321
204
|
<div class="title">
|
322
|
-
<a name="
|
323
|
-
</div>
|
324
|
-
<div class="description">
|
325
|
-
<p>
|
326
|
-
Same as collect but with an iteration counter.
|
327
|
-
</p>
|
328
|
-
<pre>
|
329
|
-
a = [1,2,3].collect_with_index { |e,i| e*i }
|
330
|
-
a #=> [0,2,6]
|
331
|
-
|
332
|
-
CREDIT: Gavin Sinclair
|
333
|
-
</pre>
|
334
|
-
</div>
|
335
|
-
<div class="sourcecode">
|
336
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000765_source')" id="l_M000765_source">show source</a> ]</p>
|
337
|
-
<div id="M000765_source" class="dyn-source">
|
338
|
-
<pre>
|
339
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/collect.rb, line 10</span>
|
340
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collect_with_index</span>
|
341
|
-
<span class="ruby-identifier">r</span> = []
|
342
|
-
<span class="ruby-identifier">each_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
343
|
-
<span class="ruby-identifier">r</span> <span class="ruby-operator"><<</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">i</span>], <span class="ruby-identifier">i</span>)
|
344
|
-
<span class="ruby-keyword kw">end</span>
|
345
|
-
<span class="ruby-identifier">r</span>
|
346
|
-
<span class="ruby-keyword kw">end</span>
|
347
|
-
</pre>
|
348
|
-
</div>
|
349
|
-
</div>
|
350
|
-
</div>
|
351
|
-
<div class="method">
|
352
|
-
<div class="title">
|
353
|
-
<a name="M000736"></a><b>collect_with_index</b>() {|self[i], i| ...}
|
205
|
+
<a name="M000410"></a><b>collect_with_index</b>() {|self[i], i| ...}
|
354
206
|
</div>
|
355
207
|
<div class="description">
|
356
208
|
<p>
|
@@ -365,12 +217,11 @@ Same as collect but with an iteration counter.
|
|
365
217
|
</div>
|
366
218
|
<div class="aka">
|
367
219
|
This method is also aliased as
|
368
|
-
<a href="Enumerable.html#
|
369
|
-
<a href="Enumerable.html#M000766">map_with_index</a>
|
220
|
+
<a href="Enumerable.html#M000411">map_with_index</a>
|
370
221
|
</div>
|
371
222
|
<div class="sourcecode">
|
372
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
373
|
-
<div id="
|
223
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000410_source')" id="l_M000410_source">show source</a> ]</p>
|
224
|
+
<div id="M000410_source" class="dyn-source">
|
374
225
|
<pre>
|
375
226
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/collect.rb, line 10</span>
|
376
227
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collect_with_index</span>
|
@@ -386,52 +237,7 @@ Same as collect but with an iteration counter.
|
|
386
237
|
</div>
|
387
238
|
<div class="method">
|
388
239
|
<div class="title">
|
389
|
-
<a name="
|
390
|
-
</div>
|
391
|
-
<div class="description">
|
392
|
-
<p>
|
393
|
-
Returns all items that are equal in terms of the supplied block. If no
|
394
|
-
block is given objects are considered to be equal if they return the same
|
395
|
-
value for Object#hash and if obj1 == obj2.
|
396
|
-
</p>
|
397
|
-
<pre>
|
398
|
-
[1, 2, 2, 3, 4, 4].commonality # => { 2 => [2], 4 => [4] }
|
399
|
-
|
400
|
-
["foo", "bar", "a"].commonality { |str| str.length }
|
401
|
-
# => { 3 => ["foo, "bar"] }
|
402
|
-
|
403
|
-
# Returns all persons that share their last name with another person.
|
404
|
-
persons.collisions { |person| person.last_name }
|
405
|
-
|
406
|
-
CREDIT: Florian Gross
|
407
|
-
</pre>
|
408
|
-
</div>
|
409
|
-
<div class="sourcecode">
|
410
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000763_source')" id="l_M000763_source">show source</a> ]</p>
|
411
|
-
<div id="M000763_source" class="dyn-source">
|
412
|
-
<pre>
|
413
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/commonality.rb, line 17</span>
|
414
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commonality</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
415
|
-
<span class="ruby-identifier">had_no_block</span> = <span class="ruby-operator">!</span><span class="ruby-identifier">block</span>
|
416
|
-
<span class="ruby-identifier">block</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">lambda</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span> <span class="ruby-identifier">item</span> }
|
417
|
-
<span class="ruby-identifier">result</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span> }
|
418
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span>
|
419
|
-
<span class="ruby-identifier">key</span> = <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">item</span>)
|
420
|
-
<span class="ruby-identifier">result</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator"><<</span> <span class="ruby-identifier">item</span>
|
421
|
-
<span class="ruby-keyword kw">end</span>
|
422
|
-
<span class="ruby-identifier">result</span>.<span class="ruby-identifier">reject!</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">values</span><span class="ruby-operator">|</span>
|
423
|
-
<span class="ruby-identifier">values</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator"><=</span> <span class="ruby-value">1</span>
|
424
|
-
<span class="ruby-keyword kw">end</span>
|
425
|
-
<span class="ruby-comment cmt">#return had_no_block ? result.values.flatten : result</span>
|
426
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">result</span>
|
427
|
-
<span class="ruby-keyword kw">end</span>
|
428
|
-
</pre>
|
429
|
-
</div>
|
430
|
-
</div>
|
431
|
-
</div>
|
432
|
-
<div class="method">
|
433
|
-
<div class="title">
|
434
|
-
<a name="M000734"></a><b>commonality</b>( &block )
|
240
|
+
<a name="M000408"></a><b>commonality</b>( &block )
|
435
241
|
</div>
|
436
242
|
<div class="description">
|
437
243
|
<p>
|
@@ -452,8 +258,8 @@ value for Object#hash and if obj1 == obj2.
|
|
452
258
|
</pre>
|
453
259
|
</div>
|
454
260
|
<div class="sourcecode">
|
455
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
456
|
-
<div id="
|
261
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000408_source')" id="l_M000408_source">show source</a> ]</p>
|
262
|
+
<div id="M000408_source" class="dyn-source">
|
457
263
|
<pre>
|
458
264
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/commonality.rb, line 17</span>
|
459
265
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commonality</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -476,27 +282,17 @@ value for Object#hash and if obj1 == obj2.
|
|
476
282
|
</div>
|
477
283
|
<div class="method">
|
478
284
|
<div class="title">
|
479
|
-
<a name="
|
480
|
-
</div>
|
481
|
-
<div class="description">
|
482
|
-
<p>
|
483
|
-
Alias for <a href="Enumerable.html#M000738">compact_map</a>
|
484
|
-
</p>
|
485
|
-
</div>
|
486
|
-
</div>
|
487
|
-
<div class="method">
|
488
|
-
<div class="title">
|
489
|
-
<a name="M000739"></a><b>compact_collect</b>(trash=nil, &block)
|
285
|
+
<a name="M000413"></a><b>compact_collect</b>(trash=nil, &block)
|
490
286
|
</div>
|
491
287
|
<div class="description">
|
492
288
|
<p>
|
493
|
-
Alias for <a href="Enumerable.html#
|
289
|
+
Alias for <a href="Enumerable.html#M000412">compact_map</a>
|
494
290
|
</p>
|
495
291
|
</div>
|
496
292
|
</div>
|
497
293
|
<div class="method">
|
498
294
|
<div class="title">
|
499
|
-
<a name="
|
295
|
+
<a name="M000412"></a><b>compact_map</b>(trash=nil) {|*a| ...}
|
500
296
|
</div>
|
501
297
|
<div class="description">
|
502
298
|
<p>
|
@@ -523,62 +319,11 @@ NOTE: Perhaps nicer to have as added functionality for compact.
|
|
523
319
|
</div>
|
524
320
|
<div class="aka">
|
525
321
|
This method is also aliased as
|
526
|
-
<a href="Enumerable.html#
|
527
|
-
<a href="Enumerable.html#M000768">compact_collect</a>
|
528
|
-
</div>
|
529
|
-
<div class="sourcecode">
|
530
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000738_source')" id="l_M000738_source">show source</a> ]</p>
|
531
|
-
<div id="M000738_source" class="dyn-source">
|
532
|
-
<pre>
|
533
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/collect.rb, line 37</span>
|
534
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compact_map</span>(<span class="ruby-identifier">trash</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
535
|
-
<span class="ruby-identifier">y</span> = []
|
536
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
537
|
-
<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-operator">*</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
|
538
|
-
<span class="ruby-identifier">r</span> = <span class="ruby-keyword kw">yield</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>)
|
539
|
-
<span class="ruby-identifier">y</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">r</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">trash</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">r</span>
|
540
|
-
<span class="ruby-keyword kw">end</span>
|
541
|
-
<span class="ruby-keyword kw">else</span>
|
542
|
-
<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
|
543
|
-
<span class="ruby-identifier">y</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">r</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">trash</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">r</span>
|
544
|
-
<span class="ruby-keyword kw">end</span>
|
545
|
-
<span class="ruby-keyword kw">end</span>
|
546
|
-
<span class="ruby-identifier">y</span>
|
547
|
-
<span class="ruby-keyword kw">end</span>
|
548
|
-
</pre>
|
549
|
-
</div>
|
550
|
-
</div>
|
322
|
+
<a href="Enumerable.html#M000413">compact_collect</a>
|
551
323
|
</div>
|
552
|
-
<div class="method">
|
553
|
-
<div class="title">
|
554
|
-
<a name="M000767"></a><b>compact_map</b>(trash=nil) {|*a| ...}
|
555
|
-
</div>
|
556
|
-
<div class="description">
|
557
|
-
<p>
|
558
|
-
A more versitle compact method. It can be used to collect and filter items
|
559
|
-
out in one single step.
|
560
|
-
</p>
|
561
|
-
<pre>
|
562
|
-
[1,2,3].compact_map do |n|
|
563
|
-
n < 1 ? nil : n
|
564
|
-
end
|
565
|
-
</pre>
|
566
|
-
<p>
|
567
|
-
<em>produces</em>
|
568
|
-
</p>
|
569
|
-
<pre>
|
570
|
-
[2,3]
|
571
|
-
</pre>
|
572
|
-
<p>
|
573
|
-
NOTE: Perhaps nicer to have as added functionality for compact.
|
574
|
-
</p>
|
575
|
-
<pre>
|
576
|
-
CREDIT: Trans
|
577
|
-
</pre>
|
578
|
-
</div>
|
579
324
|
<div class="sourcecode">
|
580
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
581
|
-
<div id="
|
325
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000412_source')" id="l_M000412_source">show source</a> ]</p>
|
326
|
+
<div id="M000412_source" class="dyn-source">
|
582
327
|
<pre>
|
583
328
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/collect.rb, line 37</span>
|
584
329
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compact_map</span>(<span class="ruby-identifier">trash</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -601,42 +346,7 @@ NOTE: Perhaps nicer to have as added functionality for compact.
|
|
601
346
|
</div>
|
602
347
|
<div class="method">
|
603
348
|
<div class="title">
|
604
|
-
<a name="
|
605
|
-
</div>
|
606
|
-
<div class="description">
|
607
|
-
<p>
|
608
|
-
Count the number of items in an enumerable equal (==) to the given object.
|
609
|
-
</p>
|
610
|
-
<pre>
|
611
|
-
e = [ 'a', '1', 'a' ]
|
612
|
-
e.count('1') #=> 1
|
613
|
-
e.count('a') #=> 2
|
614
|
-
</pre>
|
615
|
-
<p>
|
616
|
-
Count can also handle multiple-valued blocks.
|
617
|
-
</p>
|
618
|
-
<pre>
|
619
|
-
e = { 'a' => 2, 'a' => 2, 'b' => 1 }
|
620
|
-
e.count('a',2) #=> 1
|
621
|
-
|
622
|
-
CREDIT: Trans
|
623
|
-
</pre>
|
624
|
-
</div>
|
625
|
-
<div class="sourcecode">
|
626
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000785_source')" id="l_M000785_source">show source</a> ]</p>
|
627
|
-
<div id="M000785_source" class="dyn-source">
|
628
|
-
<pre>
|
629
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/count.rb, line 19</span>
|
630
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">count</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">c</span>)
|
631
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">select</span>{ <span class="ruby-operator">|</span><span class="ruby-operator">*</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">c</span> }.<span class="ruby-identifier">length</span>
|
632
|
-
<span class="ruby-keyword kw">end</span>
|
633
|
-
</pre>
|
634
|
-
</div>
|
635
|
-
</div>
|
636
|
-
</div>
|
637
|
-
<div class="method">
|
638
|
-
<div class="title">
|
639
|
-
<a name="M000756"></a><b>count</b>(*c)
|
349
|
+
<a name="M000430"></a><b>count</b>(*c)
|
640
350
|
</div>
|
641
351
|
<div class="description">
|
642
352
|
<p>
|
@@ -658,8 +368,8 @@ Count can also handle multiple-valued blocks.
|
|
658
368
|
</pre>
|
659
369
|
</div>
|
660
370
|
<div class="sourcecode">
|
661
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
662
|
-
<div id="
|
371
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000430_source')" id="l_M000430_source">show source</a> ]</p>
|
372
|
+
<div id="M000430_source" class="dyn-source">
|
663
373
|
<pre>
|
664
374
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/count.rb, line 19</span>
|
665
375
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">count</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">c</span>)
|
@@ -671,7 +381,7 @@ Count can also handle multiple-valued blocks.
|
|
671
381
|
</div>
|
672
382
|
<div class="method">
|
673
383
|
<div class="title">
|
674
|
-
<a name="
|
384
|
+
<a name="M000415"></a><b>divide</b>(pattern)
|
675
385
|
</div>
|
676
386
|
<div class="description">
|
677
387
|
<p>
|
@@ -685,8 +395,8 @@ Divide on matching pattern.
|
|
685
395
|
</pre>
|
686
396
|
</div>
|
687
397
|
<div class="sourcecode">
|
688
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
689
|
-
<div id="
|
398
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000415_source')" id="l_M000415_source">show source</a> ]</p>
|
399
|
+
<div id="M000415_source" class="dyn-source">
|
690
400
|
<pre>
|
691
401
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/divide.rb, line 10</span>
|
692
402
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divide</span>(<span class="ruby-identifier">pattern</span>)
|
@@ -703,109 +413,23 @@ Divide on matching pattern.
|
|
703
413
|
</div>
|
704
414
|
<div class="method">
|
705
415
|
<div class="title">
|
706
|
-
<a name="
|
416
|
+
<a name="M000418"></a><b>duplicates</b>()
|
707
417
|
</div>
|
708
418
|
<div class="description">
|
709
419
|
<p>
|
710
|
-
|
420
|
+
Alias for <a href="Enumerable.html#M000417">nonuniq</a>
|
711
421
|
</p>
|
712
|
-
<pre>
|
713
|
-
['a1','b1','a2','b2'].divide(/^a/)
|
714
|
-
=> [['a1,'b1'],['a2','b2']]
|
715
|
-
|
716
|
-
CREDIT: Trans
|
717
|
-
</pre>
|
718
422
|
</div>
|
719
|
-
|
720
|
-
|
721
|
-
<div
|
722
|
-
<
|
723
|
-
|
724
|
-
<
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
<span class="ruby-keyword kw">end</span>
|
730
|
-
<span class="ruby-identifier">memo</span>
|
731
|
-
<span class="ruby-keyword kw">end</span>
|
732
|
-
</pre>
|
733
|
-
</div>
|
734
|
-
</div>
|
735
|
-
</div>
|
736
|
-
<div class="method">
|
737
|
-
<div class="title">
|
738
|
-
<a name="M000773"></a><b>duplicates</b>()
|
739
|
-
</div>
|
740
|
-
<div class="description">
|
741
|
-
<p>
|
742
|
-
Alias for <a href="Enumerable.html#M000743">nonuniq</a>
|
743
|
-
</p>
|
744
|
-
</div>
|
745
|
-
</div>
|
746
|
-
<div class="method">
|
747
|
-
<div class="title">
|
748
|
-
<a name="M000744"></a><b>duplicates</b>()
|
749
|
-
</div>
|
750
|
-
<div class="description">
|
751
|
-
<p>
|
752
|
-
Alias for <a href="Enumerable.html#M000743">nonuniq</a>
|
753
|
-
</p>
|
754
|
-
</div>
|
755
|
-
</div>
|
756
|
-
<div class="method">
|
757
|
-
<div class="title">
|
758
|
-
<a name="M000786"></a><b>each_by</b>(steps=nil, &block)
|
759
|
-
</div>
|
760
|
-
<div class="description">
|
761
|
-
<p>
|
762
|
-
Iterate through slices. If slice <tt>steps</tt> is not given, the arity of
|
763
|
-
the block is used.
|
764
|
-
</p>
|
765
|
-
<pre>
|
766
|
-
x = []
|
767
|
-
[1,2,3,4].each_by{ |a,b| x << [a,b] }
|
768
|
-
x #=> [ [1,2], [3,4] ]
|
769
|
-
|
770
|
-
x = []
|
771
|
-
[1,2,3,4,5,6].each_by(3){ |a| x << a }
|
772
|
-
x #=> [ [1,2,3], [4,5,6] ]
|
773
|
-
</pre>
|
774
|
-
<p>
|
775
|
-
This is just like each_slice, except that it will check the arity of the
|
776
|
-
block. If each_slice ever suppots this this method can be deprecated.
|
777
|
-
</p>
|
778
|
-
<pre>
|
779
|
-
CREDIT: Trans
|
780
|
-
</pre>
|
781
|
-
</div>
|
782
|
-
<div class="sourcecode">
|
783
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000786_source')" id="l_M000786_source">show source</a> ]</p>
|
784
|
-
<div id="M000786_source" class="dyn-source">
|
785
|
-
<pre>
|
786
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/each_by.rb, line 22</span>
|
787
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_by</span>(<span class="ruby-identifier">steps</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
788
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">steps</span>
|
789
|
-
<span class="ruby-identifier">each_slice</span>(<span class="ruby-identifier">steps</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
790
|
-
<span class="ruby-keyword kw">else</span>
|
791
|
-
<span class="ruby-identifier">steps</span> = <span class="ruby-identifier">block</span>.<span class="ruby-identifier">arity</span>.<span class="ruby-identifier">abs</span>
|
792
|
-
<span class="ruby-identifier">each_slice</span>(<span class="ruby-identifier">steps</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
793
|
-
<span class="ruby-comment cmt">#each_slice(steps) {|i| block.call(*i)}</span>
|
794
|
-
<span class="ruby-keyword kw">end</span>
|
795
|
-
<span class="ruby-keyword kw">end</span>
|
796
|
-
</pre>
|
797
|
-
</div>
|
798
|
-
</div>
|
799
|
-
</div>
|
800
|
-
<div class="method">
|
801
|
-
<div class="title">
|
802
|
-
<a name="M000757"></a><b>each_by</b>(steps=nil, &block)
|
803
|
-
</div>
|
804
|
-
<div class="description">
|
805
|
-
<p>
|
806
|
-
Iterate through slices. If slice <tt>steps</tt> is not given, the arity of
|
807
|
-
the block is used.
|
808
|
-
</p>
|
423
|
+
</div>
|
424
|
+
<div class="method">
|
425
|
+
<div class="title">
|
426
|
+
<a name="M000431"></a><b>each_by</b>(steps=nil, &block)
|
427
|
+
</div>
|
428
|
+
<div class="description">
|
429
|
+
<p>
|
430
|
+
Iterate through slices. If slice <tt>steps</tt> is not given, the arity of
|
431
|
+
the block is used.
|
432
|
+
</p>
|
809
433
|
<pre>
|
810
434
|
x = []
|
811
435
|
[1,2,3,4].each_by{ |a,b| x << [a,b] }
|
@@ -824,8 +448,8 @@ block. If each_slice ever suppots this this method can be deprecated.
|
|
824
448
|
</pre>
|
825
449
|
</div>
|
826
450
|
<div class="sourcecode">
|
827
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
828
|
-
<div id="
|
451
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000431_source')" id="l_M000431_source">show source</a> ]</p>
|
452
|
+
<div id="M000431_source" class="dyn-source">
|
829
453
|
<pre>
|
830
454
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/each_by.rb, line 22</span>
|
831
455
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_by</span>(<span class="ruby-identifier">steps</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -843,48 +467,13 @@ block. If each_slice ever suppots this this method can be deprecated.
|
|
843
467
|
</div>
|
844
468
|
<div class="method">
|
845
469
|
<div class="title">
|
846
|
-
<a name="
|
847
|
-
</div>
|
848
|
-
<div class="description">
|
849
|
-
<p>
|
850
|
-
Shannon‘s <a href="Enumerable.html#M000751">entropy</a> for an array
|
851
|
-
- returns the average bits per symbol required to encode the array. Lower
|
852
|
-
values mean less "<a href="Enumerable.html#M000751">entropy</a>"
|
853
|
-
- i.e. less unique information in the array.
|
854
|
-
</p>
|
855
|
-
<pre>
|
856
|
-
%w{ a b c d e e e }.entropy #=>
|
857
|
-
|
858
|
-
CREDIT: Derek
|
859
|
-
</pre>
|
860
|
-
</div>
|
861
|
-
<div class="sourcecode">
|
862
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000780_source')" id="l_M000780_source">show source</a> ]</p>
|
863
|
-
<div id="M000780_source" class="dyn-source">
|
864
|
-
<pre>
|
865
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/entropy.rb, line 14</span>
|
866
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entropy</span>
|
867
|
-
<span class="ruby-identifier">arr</span> = <span class="ruby-identifier">to_a</span>
|
868
|
-
<span class="ruby-identifier">probHash</span> = <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">probability</span>
|
869
|
-
<span class="ruby-comment cmt"># h is the Shannon entropy of the array</span>
|
870
|
-
<span class="ruby-identifier">h</span> = <span class="ruby-value">-1</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">probHash</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-value">0</span>.<span class="ruby-identifier">to_f</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sum</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
871
|
-
<span class="ruby-identifier">sum</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">probHash</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator">*</span> (<span class="ruby-constant">Math</span>.<span class="ruby-identifier">log</span>(<span class="ruby-identifier">probHash</span>[<span class="ruby-identifier">i</span>])<span class="ruby-operator">/</span><span class="ruby-constant">Math</span>.<span class="ruby-identifier">log</span>(<span class="ruby-value">2</span>.<span class="ruby-identifier">to_f</span>)))
|
872
|
-
<span class="ruby-keyword kw">end</span>
|
873
|
-
<span class="ruby-identifier">h</span>
|
874
|
-
<span class="ruby-keyword kw">end</span>
|
875
|
-
</pre>
|
876
|
-
</div>
|
877
|
-
</div>
|
878
|
-
</div>
|
879
|
-
<div class="method">
|
880
|
-
<div class="title">
|
881
|
-
<a name="M000751"></a><b>entropy</b>()
|
470
|
+
<a name="M000425"></a><b>entropy</b>()
|
882
471
|
</div>
|
883
472
|
<div class="description">
|
884
473
|
<p>
|
885
|
-
Shannon‘s <a href="Enumerable.html#
|
474
|
+
Shannon‘s <a href="Enumerable.html#M000425">entropy</a> for an array
|
886
475
|
- returns the average bits per symbol required to encode the array. Lower
|
887
|
-
values mean less "<a href="Enumerable.html#
|
476
|
+
values mean less "<a href="Enumerable.html#M000425">entropy</a>"
|
888
477
|
- i.e. less unique information in the array.
|
889
478
|
</p>
|
890
479
|
<pre>
|
@@ -894,8 +483,8 @@ values mean less "<a href="Enumerable.html#M000751">entropy</a>"
|
|
894
483
|
</pre>
|
895
484
|
</div>
|
896
485
|
<div class="sourcecode">
|
897
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
898
|
-
<div id="
|
486
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000425_source')" id="l_M000425_source">show source</a> ]</p>
|
487
|
+
<div id="M000425_source" class="dyn-source">
|
899
488
|
<pre>
|
900
489
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/entropy.rb, line 14</span>
|
901
490
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entropy</span>
|
@@ -913,50 +502,20 @@ values mean less "<a href="Enumerable.html#M000751">entropy</a>"
|
|
913
502
|
</div>
|
914
503
|
<div class="method">
|
915
504
|
<div class="title">
|
916
|
-
<a name="
|
917
|
-
</div>
|
918
|
-
<div class="description">
|
919
|
-
<p>
|
920
|
-
Generates a hash mapping each unique symbol in the array to the absolute <a
|
921
|
-
href="Enumerable.html#M000740">frequency</a> it appears.
|
922
|
-
</p>
|
923
|
-
<pre>
|
924
|
-
CREDIT: Brian Schröder
|
925
|
-
</pre>
|
926
|
-
</div>
|
927
|
-
<div class="sourcecode">
|
928
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000740_source')" id="l_M000740_source">show source</a> ]</p>
|
929
|
-
<div id="M000740_source" class="dyn-source">
|
930
|
-
<pre>
|
931
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/frequency.rb, line 8</span>
|
932
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">frequency</span>
|
933
|
-
<span class="ruby-comment cmt">#probs = Hash.new(0)</span>
|
934
|
-
<span class="ruby-comment cmt">#each do |e|</span>
|
935
|
-
<span class="ruby-comment cmt"># probs[e] += 1</span>
|
936
|
-
<span class="ruby-comment cmt">#end</span>
|
937
|
-
<span class="ruby-comment cmt">#probs</span>
|
938
|
-
<span class="ruby-identifier">inject</span>(<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">0</span>)){<span class="ruby-operator">|</span><span class="ruby-identifier">h</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">h</span>[<span class="ruby-identifier">v</span>]<span class="ruby-operator">+=</span><span class="ruby-value">1</span>; <span class="ruby-identifier">h</span>}
|
939
|
-
<span class="ruby-keyword kw">end</span>
|
940
|
-
</pre>
|
941
|
-
</div>
|
942
|
-
</div>
|
943
|
-
</div>
|
944
|
-
<div class="method">
|
945
|
-
<div class="title">
|
946
|
-
<a name="M000769"></a><b>frequency</b>()
|
505
|
+
<a name="M000414"></a><b>frequency</b>()
|
947
506
|
</div>
|
948
507
|
<div class="description">
|
949
508
|
<p>
|
950
509
|
Generates a hash mapping each unique symbol in the array to the absolute <a
|
951
|
-
href="Enumerable.html#
|
510
|
+
href="Enumerable.html#M000414">frequency</a> it appears.
|
952
511
|
</p>
|
953
512
|
<pre>
|
954
513
|
CREDIT: Brian Schröder
|
955
514
|
</pre>
|
956
515
|
</div>
|
957
516
|
<div class="sourcecode">
|
958
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
959
|
-
<div id="
|
517
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000414_source')" id="l_M000414_source">show source</a> ]</p>
|
518
|
+
<div id="M000414_source" class="dyn-source">
|
960
519
|
<pre>
|
961
520
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/frequency.rb, line 8</span>
|
962
521
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">frequency</span>
|
@@ -973,66 +532,21 @@ href="Enumerable.html#M000740">frequency</a> it appears.
|
|
973
532
|
</div>
|
974
533
|
<div class="method">
|
975
534
|
<div class="title">
|
976
|
-
<a name="
|
977
|
-
</div>
|
978
|
-
<div class="description">
|
979
|
-
<p>
|
980
|
-
Alias for <a href="Enumerable.html#M000748">mash</a>
|
981
|
-
</p>
|
982
|
-
</div>
|
983
|
-
</div>
|
984
|
-
<div class="method">
|
985
|
-
<div class="title">
|
986
|
-
<a name="M000778"></a><b>graph</b>(&yld)
|
987
|
-
</div>
|
988
|
-
<div class="description">
|
989
|
-
<p>
|
990
|
-
Alias for <a href="Enumerable.html#M000748">mash</a>
|
991
|
-
</p>
|
992
|
-
</div>
|
993
|
-
</div>
|
994
|
-
<div class="method">
|
995
|
-
<div class="title">
|
996
|
-
<a name="M000760"></a><b>group_by</b>( {|| ...}
|
535
|
+
<a name="M000423"></a><b>graph</b>(&yld)
|
997
536
|
</div>
|
998
537
|
<div class="description">
|
999
538
|
<p>
|
1000
|
-
<a href="Enumerable.html#
|
1001
|
-
collection by something they have in common. The common factor is the key
|
1002
|
-
in the resulting hash, the array of like elements is the value.
|
539
|
+
Alias for <a href="Enumerable.html#M000422">mash</a>
|
1003
540
|
</p>
|
1004
|
-
<pre>
|
1005
|
-
(1..5).group_by { |n| n % 3 }
|
1006
|
-
#=> { 0 => [3], 1 => [1, 4], 2 => [2,5] }
|
1007
|
-
|
1008
|
-
["I had", 1, "dollar and", 50, "cents"].group_by { |e| e.class }
|
1009
|
-
#=> { String => ["I had","dollar and","cents"], Fixnum => [1,50] }
|
1010
|
-
|
1011
|
-
CREDIT: Erik Veenstra
|
1012
|
-
</pre>
|
1013
|
-
</div>
|
1014
|
-
<div class="sourcecode">
|
1015
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000760_source')" id="l_M000760_source">show source</a> ]</p>
|
1016
|
-
<div id="M000760_source" class="dyn-source">
|
1017
|
-
<pre>
|
1018
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/group_by.rb, line 17</span>
|
1019
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group_by</span> <span class="ruby-comment cmt">#:yield:</span>
|
1020
|
-
<span class="ruby-comment cmt">#h = k = e = nil</span>
|
1021
|
-
<span class="ruby-identifier">r</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
|
1022
|
-
<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> (<span class="ruby-identifier">r</span>[<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">e</span>)] <span class="ruby-operator">||=</span> []) <span class="ruby-operator"><<</span> <span class="ruby-identifier">e</span> }
|
1023
|
-
<span class="ruby-identifier">r</span>
|
1024
|
-
<span class="ruby-keyword kw">end</span>
|
1025
|
-
</pre>
|
1026
541
|
</div>
|
1027
542
|
</div>
|
1028
|
-
</div>
|
1029
543
|
<div class="method">
|
1030
544
|
<div class="title">
|
1031
|
-
<a name="
|
545
|
+
<a name="M000405"></a><b>group_by</b>( {|| ...}
|
1032
546
|
</div>
|
1033
547
|
<div class="description">
|
1034
548
|
<p>
|
1035
|
-
<a href="Enumerable.html#
|
549
|
+
<a href="Enumerable.html#M000405">group_by</a> is used to group items in a
|
1036
550
|
collection by something they have in common. The common factor is the key
|
1037
551
|
in the resulting hash, the array of like elements is the value.
|
1038
552
|
</p>
|
@@ -1047,8 +561,8 @@ in the resulting hash, the array of like elements is the value.
|
|
1047
561
|
</pre>
|
1048
562
|
</div>
|
1049
563
|
<div class="sourcecode">
|
1050
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1051
|
-
<div id="
|
564
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000405_source')" id="l_M000405_source">show source</a> ]</p>
|
565
|
+
<div id="M000405_source" class="dyn-source">
|
1052
566
|
<pre>
|
1053
567
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/group_by.rb, line 17</span>
|
1054
568
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group_by</span> <span class="ruby-comment cmt">#:yield:</span>
|
@@ -1063,41 +577,12 @@ in the resulting hash, the array of like elements is the value.
|
|
1063
577
|
</div>
|
1064
578
|
<div class="method">
|
1065
579
|
<div class="title">
|
1066
|
-
<a name="
|
1067
|
-
</div>
|
1068
|
-
<div class="description">
|
1069
|
-
<p>
|
1070
|
-
Returns the maximum possible Shannon <a
|
1071
|
-
href="Enumerable.html#M000751">entropy</a> of the array with given size
|
1072
|
-
assuming that it is an "order-0" source (each element is selected
|
1073
|
-
independently of the next).
|
1074
|
-
</p>
|
1075
|
-
<pre>
|
1076
|
-
CREDIT: Derek
|
1077
|
-
</pre>
|
1078
|
-
</div>
|
1079
|
-
<div class="sourcecode">
|
1080
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000752_source')" id="l_M000752_source">show source</a> ]</p>
|
1081
|
-
<div id="M000752_source" class="dyn-source">
|
1082
|
-
<pre>
|
1083
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/entropy.rb, line 30</span>
|
1084
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ideal_entropy</span>
|
1085
|
-
<span class="ruby-identifier">arr</span> = <span class="ruby-identifier">to_a</span>
|
1086
|
-
<span class="ruby-identifier">unitProb</span> = <span class="ruby-value">1.0</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">size</span>.<span class="ruby-identifier">to_f</span>
|
1087
|
-
(<span class="ruby-value">-1</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">arr</span>.<span class="ruby-identifier">size</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">unitProb</span> <span class="ruby-operator">*</span> <span class="ruby-constant">Math</span>.<span class="ruby-identifier">log</span>(<span class="ruby-identifier">unitProb</span>)<span class="ruby-operator">/</span><span class="ruby-constant">Math</span>.<span class="ruby-identifier">log</span>(<span class="ruby-value">2</span>.<span class="ruby-identifier">to_f</span>))
|
1088
|
-
<span class="ruby-keyword kw">end</span>
|
1089
|
-
</pre>
|
1090
|
-
</div>
|
1091
|
-
</div>
|
1092
|
-
</div>
|
1093
|
-
<div class="method">
|
1094
|
-
<div class="title">
|
1095
|
-
<a name="M000781"></a><b>ideal_entropy</b>()
|
580
|
+
<a name="M000426"></a><b>ideal_entropy</b>()
|
1096
581
|
</div>
|
1097
582
|
<div class="description">
|
1098
583
|
<p>
|
1099
584
|
Returns the maximum possible Shannon <a
|
1100
|
-
href="Enumerable.html#
|
585
|
+
href="Enumerable.html#M000425">entropy</a> of the array with given size
|
1101
586
|
assuming that it is an "order-0" source (each element is selected
|
1102
587
|
independently of the next).
|
1103
588
|
</p>
|
@@ -1106,8 +591,8 @@ independently of the next).
|
|
1106
591
|
</pre>
|
1107
592
|
</div>
|
1108
593
|
<div class="sourcecode">
|
1109
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1110
|
-
<div id="
|
594
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000426_source')" id="l_M000426_source">show source</a> ]</p>
|
595
|
+
<div id="M000426_source" class="dyn-source">
|
1111
596
|
<pre>
|
1112
597
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/entropy.rb, line 30</span>
|
1113
598
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ideal_entropy</span>
|
@@ -1121,7 +606,7 @@ independently of the next).
|
|
1121
606
|
</div>
|
1122
607
|
<div class="method">
|
1123
608
|
<div class="title">
|
1124
|
-
<a name="
|
609
|
+
<a name="M000416"></a><b>inject!</b>(s) {|k, i| ...}
|
1125
610
|
</div>
|
1126
611
|
<div class="description">
|
1127
612
|
<p>
|
@@ -1129,7 +614,7 @@ A small variation of Inject that save one from having to return the
|
|
1129
614
|
aggregating or memo argument.
|
1130
615
|
</p>
|
1131
616
|
<p>
|
1132
|
-
Say you want to <a href="Enumerable.html#
|
617
|
+
Say you want to <a href="Enumerable.html#M000430">count</a> letters.
|
1133
618
|
</p>
|
1134
619
|
<pre>
|
1135
620
|
some_text.inject!(Hash.new(0)) {|h,l| h[l] += 1}
|
@@ -1145,8 +630,8 @@ vs
|
|
1145
630
|
</pre>
|
1146
631
|
</div>
|
1147
632
|
<div class="sourcecode">
|
1148
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1149
|
-
<div id="
|
633
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000416_source')" id="l_M000416_source">show source</a> ]</p>
|
634
|
+
<div id="M000416_source" class="dyn-source">
|
1150
635
|
<pre>
|
1151
636
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/inject.rb, line 17</span>
|
1152
637
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inject!</span>(<span class="ruby-identifier">s</span>)
|
@@ -1160,70 +645,7 @@ vs
|
|
1160
645
|
</div>
|
1161
646
|
<div class="method">
|
1162
647
|
<div class="title">
|
1163
|
-
<a name="
|
1164
|
-
</div>
|
1165
|
-
<div class="description">
|
1166
|
-
<p>
|
1167
|
-
A small variation of Inject that save one from having to return the
|
1168
|
-
aggregating or memo argument.
|
1169
|
-
</p>
|
1170
|
-
<p>
|
1171
|
-
Say you want to <a href="Enumerable.html#M000756">count</a> letters.
|
1172
|
-
</p>
|
1173
|
-
<pre>
|
1174
|
-
some_text.inject!(Hash.new(0)) {|h,l| h[l] += 1}
|
1175
|
-
</pre>
|
1176
|
-
<p>
|
1177
|
-
vs
|
1178
|
-
</p>
|
1179
|
-
<pre>
|
1180
|
-
some_text.inject(Hash.new(0)) {|h,l| h[l] +=1; h}
|
1181
|
-
|
1182
|
-
CREDIT: David Black
|
1183
|
-
CREDIT: Louis J Scoras
|
1184
|
-
</pre>
|
1185
|
-
</div>
|
1186
|
-
<div class="sourcecode">
|
1187
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000742_source')" id="l_M000742_source">show source</a> ]</p>
|
1188
|
-
<div id="M000742_source" class="dyn-source">
|
1189
|
-
<pre>
|
1190
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/inject.rb, line 17</span>
|
1191
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inject!</span>(<span class="ruby-identifier">s</span>)
|
1192
|
-
<span class="ruby-identifier">k</span> = <span class="ruby-identifier">s</span>
|
1193
|
-
<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">k</span>, <span class="ruby-identifier">i</span>) }
|
1194
|
-
<span class="ruby-identifier">k</span>
|
1195
|
-
<span class="ruby-keyword kw">end</span>
|
1196
|
-
</pre>
|
1197
|
-
</div>
|
1198
|
-
</div>
|
1199
|
-
</div>
|
1200
|
-
<div class="method">
|
1201
|
-
<div class="title">
|
1202
|
-
<a name="M000754"></a><b>map_send</b>(meth, *args, &block)
|
1203
|
-
</div>
|
1204
|
-
<div class="description">
|
1205
|
-
<p>
|
1206
|
-
Send a message to each element and collect the result.
|
1207
|
-
</p>
|
1208
|
-
<pre>
|
1209
|
-
CREDIT: Sean O'Halpin
|
1210
|
-
</pre>
|
1211
|
-
</div>
|
1212
|
-
<div class="sourcecode">
|
1213
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000754_source')" id="l_M000754_source">show source</a> ]</p>
|
1214
|
-
<div id="M000754_source" class="dyn-source">
|
1215
|
-
<pre>
|
1216
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/map_send.rb, line 7</span>
|
1217
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">map_send</span>(<span class="ruby-identifier">meth</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1218
|
-
<span class="ruby-identifier">map</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">meth</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)}
|
1219
|
-
<span class="ruby-keyword kw">end</span>
|
1220
|
-
</pre>
|
1221
|
-
</div>
|
1222
|
-
</div>
|
1223
|
-
</div>
|
1224
|
-
<div class="method">
|
1225
|
-
<div class="title">
|
1226
|
-
<a name="M000783"></a><b>map_send</b>(meth, *args, &block)
|
648
|
+
<a name="M000428"></a><b>map_send</b>(meth, *args, &block)
|
1227
649
|
</div>
|
1228
650
|
<div class="description">
|
1229
651
|
<p>
|
@@ -1234,8 +656,8 @@ Send a message to each element and collect the result.
|
|
1234
656
|
</pre>
|
1235
657
|
</div>
|
1236
658
|
<div class="sourcecode">
|
1237
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1238
|
-
<div id="
|
659
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000428_source')" id="l_M000428_source">show source</a> ]</p>
|
660
|
+
<div id="M000428_source" class="dyn-source">
|
1239
661
|
<pre>
|
1240
662
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/map_send.rb, line 7</span>
|
1241
663
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">map_send</span>(<span class="ruby-identifier">meth</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1247,27 +669,17 @@ Send a message to each element and collect the result.
|
|
1247
669
|
</div>
|
1248
670
|
<div class="method">
|
1249
671
|
<div class="title">
|
1250
|
-
<a name="
|
672
|
+
<a name="M000411"></a><b>map_with_index</b>()
|
1251
673
|
</div>
|
1252
674
|
<div class="description">
|
1253
675
|
<p>
|
1254
|
-
Alias for <a href="Enumerable.html#
|
676
|
+
Alias for <a href="Enumerable.html#M000410">collect_with_index</a>
|
1255
677
|
</p>
|
1256
678
|
</div>
|
1257
679
|
</div>
|
1258
680
|
<div class="method">
|
1259
681
|
<div class="title">
|
1260
|
-
<a name="
|
1261
|
-
</div>
|
1262
|
-
<div class="description">
|
1263
|
-
<p>
|
1264
|
-
Alias for <a href="Enumerable.html#M000736">collect_with_index</a>
|
1265
|
-
</p>
|
1266
|
-
</div>
|
1267
|
-
</div>
|
1268
|
-
<div class="method">
|
1269
|
-
<div class="title">
|
1270
|
-
<a name="M000748"></a><b>mash</b>(&yld)
|
682
|
+
<a name="M000422"></a><b>mash</b>(&yld)
|
1271
683
|
</div>
|
1272
684
|
<div class="description">
|
1273
685
|
<p>
|
@@ -1289,12 +701,11 @@ NOTE: Would correlate would be better?
|
|
1289
701
|
</div>
|
1290
702
|
<div class="aka">
|
1291
703
|
This method is also aliased as
|
1292
|
-
<a href="Enumerable.html#
|
1293
|
-
<a href="Enumerable.html#M000778">graph</a>
|
704
|
+
<a href="Enumerable.html#M000423">graph</a>
|
1294
705
|
</div>
|
1295
706
|
<div class="sourcecode">
|
1296
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1297
|
-
<div id="
|
707
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000422_source')" id="l_M000422_source">show source</a> ]</p>
|
708
|
+
<div id="M000422_source" class="dyn-source">
|
1298
709
|
<pre>
|
1299
710
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/mash.rb, line 15</span>
|
1300
711
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mash</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>)
|
@@ -1315,81 +726,11 @@ NOTE: Would correlate would be better?
|
|
1315
726
|
</div>
|
1316
727
|
<div class="method">
|
1317
728
|
<div class="title">
|
1318
|
-
<a name="
|
729
|
+
<a name="M000407"></a><b>mode</b>()
|
1319
730
|
</div>
|
1320
731
|
<div class="description">
|
1321
732
|
<p>
|
1322
|
-
|
1323
|
-
href="Hash.html">Hash</a>. The block is expected to return two values: the
|
1324
|
-
key and the value for the new hash.
|
1325
|
-
</p>
|
1326
|
-
<pre>
|
1327
|
-
numbers = (1..3)
|
1328
|
-
squares = numbers.mash { |n| [n, n*n] } # { 1=>1, 2=>4, 3=>9 }
|
1329
|
-
sq_roots = numbers.mash { |n| [n*n, n] } # { 1=>1, 4=>2, 9=>3 }
|
1330
|
-
</pre>
|
1331
|
-
<p>
|
1332
|
-
CREDIT: Trans CREDIT: Andrew Dudzik (adudzik)
|
1333
|
-
</p>
|
1334
|
-
<p>
|
1335
|
-
NOTE: Would correlate would be better?
|
1336
|
-
</p>
|
1337
|
-
</div>
|
1338
|
-
<div class="sourcecode">
|
1339
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000777_source')" id="l_M000777_source">show source</a> ]</p>
|
1340
|
-
<div id="M000777_source" class="dyn-source">
|
1341
|
-
<pre>
|
1342
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/mash.rb, line 15</span>
|
1343
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mash</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">yld</span>)
|
1344
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">yld</span>
|
1345
|
-
<span class="ruby-identifier">inject</span>({}) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">kv</span><span class="ruby-operator">|</span> <span class="ruby-comment cmt"># Used to be inject({}) do |h,kv|</span>
|
1346
|
-
<span class="ruby-identifier">r</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">yld</span>[<span class="ruby-operator">*</span><span class="ruby-identifier">kv</span>] <span class="ruby-comment cmt"># The *-op works differnt from to_a on single element hash!!!</span>
|
1347
|
-
<span class="ruby-identifier">nk</span>, <span class="ruby-identifier">nv</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">r</span> <span class="ruby-comment cmt"># Used to be nk, nv = *yld[*kv].to_a.flatten</span>
|
1348
|
-
<span class="ruby-identifier">h</span>[<span class="ruby-identifier">nk</span>] = <span class="ruby-identifier">nv</span>
|
1349
|
-
<span class="ruby-identifier">h</span>
|
1350
|
-
<span class="ruby-keyword kw">end</span>
|
1351
|
-
<span class="ruby-keyword kw">else</span>
|
1352
|
-
<span class="ruby-constant">Enumerator</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>,<span class="ruby-identifier">:graph</span>) <span class="ruby-comment cmt"># Used to be Hash[*self.to_a] or Hash[*self.to_a.flatten]</span>
|
1353
|
-
<span class="ruby-keyword kw">end</span>
|
1354
|
-
<span class="ruby-keyword kw">end</span>
|
1355
|
-
</pre>
|
1356
|
-
</div>
|
1357
|
-
</div>
|
1358
|
-
</div>
|
1359
|
-
<div class="method">
|
1360
|
-
<div class="title">
|
1361
|
-
<a name="M000762"></a><b>mode</b>()
|
1362
|
-
</div>
|
1363
|
-
<div class="description">
|
1364
|
-
<p>
|
1365
|
-
In Statistics <a href="Enumerable.html#M000733">mode</a> is the value that
|
1366
|
-
occurs most frequently in a given set of data.
|
1367
|
-
</p>
|
1368
|
-
<pre>
|
1369
|
-
CREDIT: Trans
|
1370
|
-
</pre>
|
1371
|
-
</div>
|
1372
|
-
<div class="sourcecode">
|
1373
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000762_source')" id="l_M000762_source">show source</a> ]</p>
|
1374
|
-
<div id="M000762_source" class="dyn-source">
|
1375
|
-
<pre>
|
1376
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/mode.rb, line 8</span>
|
1377
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mode</span>
|
1378
|
-
<span class="ruby-identifier">count</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">0</span>)
|
1379
|
-
<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">count</span>[<span class="ruby-identifier">x</span>] <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> }
|
1380
|
-
<span class="ruby-identifier">count</span>.<span class="ruby-identifier">sort_by</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">v</span>}.<span class="ruby-identifier">last</span>[<span class="ruby-value">0</span>]
|
1381
|
-
<span class="ruby-keyword kw">end</span>
|
1382
|
-
</pre>
|
1383
|
-
</div>
|
1384
|
-
</div>
|
1385
|
-
</div>
|
1386
|
-
<div class="method">
|
1387
|
-
<div class="title">
|
1388
|
-
<a name="M000733"></a><b>mode</b>()
|
1389
|
-
</div>
|
1390
|
-
<div class="description">
|
1391
|
-
<p>
|
1392
|
-
In Statistics <a href="Enumerable.html#M000733">mode</a> is the value that
|
733
|
+
In Statistics <a href="Enumerable.html#M000407">mode</a> is the value that
|
1393
734
|
occurs most frequently in a given set of data.
|
1394
735
|
</p>
|
1395
736
|
<pre>
|
@@ -1397,8 +738,8 @@ occurs most frequently in a given set of data.
|
|
1397
738
|
</pre>
|
1398
739
|
</div>
|
1399
740
|
<div class="sourcecode">
|
1400
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1401
|
-
<div id="
|
741
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000407_source')" id="l_M000407_source">show source</a> ]</p>
|
742
|
+
<div id="M000407_source" class="dyn-source">
|
1402
743
|
<pre>
|
1403
744
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/mode.rb, line 8</span>
|
1404
745
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mode</span>
|
@@ -1412,14 +753,14 @@ occurs most frequently in a given set of data.
|
|
1412
753
|
</div>
|
1413
754
|
<div class="method">
|
1414
755
|
<div class="title">
|
1415
|
-
<a name="
|
756
|
+
<a name="M000424"></a><b>modulate</b>(modulo)
|
1416
757
|
</div>
|
1417
758
|
<div class="description">
|
1418
759
|
<p>
|
1419
760
|
Modulate. Divide an array into groups by modulo of the index.
|
1420
761
|
</p>
|
1421
762
|
<p>
|
1422
|
-
[2,4,6,8].<a href="Enumerable.html#
|
763
|
+
[2,4,6,8].<a href="Enumerable.html#M000424">modulate</a>(2) #=>
|
1423
764
|
[[2,6],[4,8]]
|
1424
765
|
</p>
|
1425
766
|
<pre>
|
@@ -1427,107 +768,29 @@ Modulate. Divide an array into groups by modulo of the index.
|
|
1427
768
|
</pre>
|
1428
769
|
<p>
|
1429
770
|
NOTE: Would this be better named ‘collate’?
|
1430
|
-
</p>
|
1431
|
-
</div>
|
1432
|
-
<div class="sourcecode">
|
1433
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000750_source')" id="l_M000750_source">show source</a> ]</p>
|
1434
|
-
<div id="M000750_source" class="dyn-source">
|
1435
|
-
<pre>
|
1436
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/modulate.rb, line 11</span>
|
1437
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modulate</span>(<span class="ruby-identifier">modulo</span>)
|
1438
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">to_a</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">modulo</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
1439
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'bad modulo'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">size</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">modulo</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
1440
|
-
<span class="ruby-identifier">r</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">modulo</span>, [])
|
1441
|
-
(<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">size</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
1442
|
-
<span class="ruby-identifier">r</span>[<span class="ruby-identifier">i</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">modulo</span>] <span class="ruby-operator">+=</span> [<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">i</span>]]
|
1443
|
-
<span class="ruby-keyword kw">end</span>
|
1444
|
-
<span class="ruby-identifier">r</span>
|
1445
|
-
<span class="ruby-keyword kw">end</span>
|
1446
|
-
</pre>
|
1447
|
-
</div>
|
1448
|
-
</div>
|
1449
|
-
</div>
|
1450
|
-
<div class="method">
|
1451
|
-
<div class="title">
|
1452
|
-
<a name="M000779"></a><b>modulate</b>(modulo)
|
1453
|
-
</div>
|
1454
|
-
<div class="description">
|
1455
|
-
<p>
|
1456
|
-
Modulate. Divide an array into groups by modulo of the index.
|
1457
|
-
</p>
|
1458
|
-
<p>
|
1459
|
-
[2,4,6,8].<a href="Enumerable.html#M000750">modulate</a>(2) #=>
|
1460
|
-
[[2,6],[4,8]]
|
1461
|
-
</p>
|
1462
|
-
<pre>
|
1463
|
-
CREDIT: Trans
|
1464
|
-
</pre>
|
1465
|
-
<p>
|
1466
|
-
NOTE: Would this be better named ‘collate’?
|
1467
|
-
</p>
|
1468
|
-
</div>
|
1469
|
-
<div class="sourcecode">
|
1470
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000779_source')" id="l_M000779_source">show source</a> ]</p>
|
1471
|
-
<div id="M000779_source" class="dyn-source">
|
1472
|
-
<pre>
|
1473
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/modulate.rb, line 11</span>
|
1474
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modulate</span>(<span class="ruby-identifier">modulo</span>)
|
1475
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">to_a</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">modulo</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
1476
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'bad modulo'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">size</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">modulo</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
1477
|
-
<span class="ruby-identifier">r</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">modulo</span>, [])
|
1478
|
-
(<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">size</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
1479
|
-
<span class="ruby-identifier">r</span>[<span class="ruby-identifier">i</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">modulo</span>] <span class="ruby-operator">+=</span> [<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">i</span>]]
|
1480
|
-
<span class="ruby-keyword kw">end</span>
|
1481
|
-
<span class="ruby-identifier">r</span>
|
1482
|
-
<span class="ruby-keyword kw">end</span>
|
1483
|
-
</pre>
|
1484
|
-
</div>
|
1485
|
-
</div>
|
1486
|
-
</div>
|
1487
|
-
<div class="method">
|
1488
|
-
<div class="title">
|
1489
|
-
<a name="M000774"></a><b>none?</b>( {|e| ...}
|
1490
|
-
</div>
|
1491
|
-
<div class="description">
|
1492
|
-
<p>
|
1493
|
-
Enumerable#none? is the logical opposite of the builtin method
|
1494
|
-
Enumerable#any?. It returns <tt>true</tt> if and only if <em>none</em> of
|
1495
|
-
the elements in the collection satisfy the predicate.
|
1496
|
-
</p>
|
1497
|
-
<p>
|
1498
|
-
If no predicate is provided, Enumerable#none? returns <tt>true</tt> if and
|
1499
|
-
only if <em>none</em> of the elements have a true value (i.e. not
|
1500
|
-
<tt>nil</tt> or <tt>false</tt>).
|
1501
|
-
</p>
|
1502
|
-
<pre>
|
1503
|
-
[].none? # true
|
1504
|
-
[nil].none? # true
|
1505
|
-
[5,8,9].none? # false
|
1506
|
-
(1...10).none? { |n| n < 0 } # true
|
1507
|
-
(1...10).none? { |n| n > 0 } # false
|
1508
|
-
|
1509
|
-
CREDIT: Gavin Sinclair
|
1510
|
-
</pre>
|
771
|
+
</p>
|
1511
772
|
</div>
|
1512
773
|
<div class="sourcecode">
|
1513
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1514
|
-
<div id="
|
774
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000424_source')" id="l_M000424_source">show source</a> ]</p>
|
775
|
+
<div id="M000424_source" class="dyn-source">
|
1515
776
|
<pre>
|
1516
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
<span class="ruby-keyword kw">
|
777
|
+
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/modulate.rb, line 11</span>
|
778
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modulate</span>(<span class="ruby-identifier">modulo</span>)
|
779
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">to_a</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">modulo</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
780
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'bad modulo'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">size</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">modulo</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
|
781
|
+
<span class="ruby-identifier">r</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">modulo</span>, [])
|
782
|
+
(<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">size</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
783
|
+
<span class="ruby-identifier">r</span>[<span class="ruby-identifier">i</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">modulo</span>] <span class="ruby-operator">+=</span> [<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">i</span>]]
|
1523
784
|
<span class="ruby-keyword kw">end</span>
|
785
|
+
<span class="ruby-identifier">r</span>
|
786
|
+
<span class="ruby-keyword kw">end</span>
|
1524
787
|
</pre>
|
1525
788
|
</div>
|
1526
789
|
</div>
|
1527
790
|
</div>
|
1528
791
|
<div class="method">
|
1529
792
|
<div class="title">
|
1530
|
-
<a name="
|
793
|
+
<a name="M000419"></a><b>none?</b>( {|e| ...}
|
1531
794
|
</div>
|
1532
795
|
<div class="description">
|
1533
796
|
<p>
|
@@ -1551,8 +814,8 @@ only if <em>none</em> of the elements have a true value (i.e. not
|
|
1551
814
|
</pre>
|
1552
815
|
</div>
|
1553
816
|
<div class="sourcecode">
|
1554
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1555
|
-
<div id="
|
817
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000419_source')" id="l_M000419_source">show source</a> ]</p>
|
818
|
+
<div id="M000419_source" class="dyn-source">
|
1556
819
|
<pre>
|
1557
820
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/none.rb, line 21</span>
|
1558
821
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">none?</span> <span class="ruby-comment cmt"># :yield: e</span>
|
@@ -1568,39 +831,7 @@ only if <em>none</em> of the elements have a true value (i.e. not
|
|
1568
831
|
</div>
|
1569
832
|
<div class="method">
|
1570
833
|
<div class="title">
|
1571
|
-
<a name="
|
1572
|
-
</div>
|
1573
|
-
<div class="description">
|
1574
|
-
<p>
|
1575
|
-
Returns a list on non-unique,
|
1576
|
-
</p>
|
1577
|
-
<pre>
|
1578
|
-
[1,1,2,2,3,4,5].nonuniq #=> [1,2]
|
1579
|
-
|
1580
|
-
CREDIT: Martin DeMello
|
1581
|
-
</pre>
|
1582
|
-
</div>
|
1583
|
-
<div class="sourcecode">
|
1584
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000772_source')" id="l_M000772_source">show source</a> ]</p>
|
1585
|
-
<div id="M000772_source" class="dyn-source">
|
1586
|
-
<pre>
|
1587
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/duplicates.rb, line 9</span>
|
1588
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nonuniq</span>
|
1589
|
-
<span class="ruby-identifier">h1</span> = {}
|
1590
|
-
<span class="ruby-identifier">h2</span> = {}
|
1591
|
-
<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
1592
|
-
<span class="ruby-identifier">h2</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">h1</span>[<span class="ruby-identifier">i</span>]
|
1593
|
-
<span class="ruby-identifier">h1</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-keyword kw">true</span>
|
1594
|
-
}
|
1595
|
-
<span class="ruby-identifier">h2</span>.<span class="ruby-identifier">keys</span>
|
1596
|
-
<span class="ruby-keyword kw">end</span>
|
1597
|
-
</pre>
|
1598
|
-
</div>
|
1599
|
-
</div>
|
1600
|
-
</div>
|
1601
|
-
<div class="method">
|
1602
|
-
<div class="title">
|
1603
|
-
<a name="M000743"></a><b>nonuniq</b>()
|
834
|
+
<a name="M000417"></a><b>nonuniq</b>()
|
1604
835
|
</div>
|
1605
836
|
<div class="description">
|
1606
837
|
<p>
|
@@ -1614,12 +845,11 @@ Returns a list on non-unique,
|
|
1614
845
|
</div>
|
1615
846
|
<div class="aka">
|
1616
847
|
This method is also aliased as
|
1617
|
-
<a href="Enumerable.html#
|
1618
|
-
<a href="Enumerable.html#M000773">duplicates</a>
|
848
|
+
<a href="Enumerable.html#M000418">duplicates</a>
|
1619
849
|
</div>
|
1620
850
|
<div class="sourcecode">
|
1621
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1622
|
-
<div id="
|
851
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000417_source')" id="l_M000417_source">show source</a> ]</p>
|
852
|
+
<div id="M000417_source" class="dyn-source">
|
1623
853
|
<pre>
|
1624
854
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/duplicates.rb, line 9</span>
|
1625
855
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nonuniq</span>
|
@@ -1637,63 +867,12 @@ Returns a list on non-unique,
|
|
1637
867
|
</div>
|
1638
868
|
<div class="method">
|
1639
869
|
<div class="title">
|
1640
|
-
<a name="
|
1641
|
-
</div>
|
1642
|
-
<div class="description">
|
1643
|
-
<p>
|
1644
|
-
Returns an array of elements for the elements that <a
|
1645
|
-
href="Enumerable.html#M000735">occur</a> n times. Or according to the
|
1646
|
-
results of a given block.
|
1647
|
-
</p>
|
1648
|
-
<pre>
|
1649
|
-
[1,1,2,3,3,4,5,5].occur(1) #=> [2,4]
|
1650
|
-
[1,1,2,3,3,4,5,5].occur(2) #=> [1,3,5]
|
1651
|
-
[1,1,2,3,3,4,5,5].occur(3) #=> []
|
1652
|
-
|
1653
|
-
[1,2,2,3,3,3].occur(1..1) #=> [1]
|
1654
|
-
[1,2,2,3,3,3].occur(2..3) #=> [2,3]
|
1655
|
-
|
1656
|
-
[1,1,2,3,3,4,5,5].occur { |n| n == 1 } #=> [2,4]
|
1657
|
-
[1,1,2,3,3,4,5,5].occur { |n| n > 1 } #=> [1,3,5]
|
1658
|
-
|
1659
|
-
CREDIT: ?
|
1660
|
-
</pre>
|
1661
|
-
</div>
|
1662
|
-
<div class="sourcecode">
|
1663
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000735_source')" id="l_M000735_source">show source</a> ]</p>
|
1664
|
-
<div id="M000735_source" class="dyn-source">
|
1665
|
-
<pre>
|
1666
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/occur.rb, line 18</span>
|
1667
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">occur</span>(<span class="ruby-identifier">n</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt">#:yield:</span>
|
1668
|
-
<span class="ruby-identifier">result</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">key</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span> }
|
1669
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span>
|
1670
|
-
<span class="ruby-identifier">key</span> = <span class="ruby-identifier">item</span>
|
1671
|
-
<span class="ruby-identifier">result</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator"><<</span> <span class="ruby-identifier">item</span>
|
1672
|
-
<span class="ruby-keyword kw">end</span>
|
1673
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
1674
|
-
<span class="ruby-identifier">result</span>.<span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">values</span><span class="ruby-operator">|</span> <span class="ruby-operator">!</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">values</span>.<span class="ruby-identifier">size</span>) }
|
1675
|
-
<span class="ruby-keyword kw">else</span>
|
1676
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">n</span>
|
1677
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">Range</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">n</span>
|
1678
|
-
<span class="ruby-identifier">result</span>.<span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">values</span><span class="ruby-operator">|</span> <span class="ruby-operator">!</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">values</span>.<span class="ruby-identifier">size</span>) }
|
1679
|
-
<span class="ruby-keyword kw">else</span>
|
1680
|
-
<span class="ruby-identifier">result</span>.<span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">values</span><span class="ruby-operator">|</span> <span class="ruby-identifier">values</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">n</span> }
|
1681
|
-
<span class="ruby-keyword kw">end</span>
|
1682
|
-
<span class="ruby-keyword kw">end</span>
|
1683
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">result</span>.<span class="ruby-identifier">values</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">uniq</span>
|
1684
|
-
<span class="ruby-keyword kw">end</span>
|
1685
|
-
</pre>
|
1686
|
-
</div>
|
1687
|
-
</div>
|
1688
|
-
</div>
|
1689
|
-
<div class="method">
|
1690
|
-
<div class="title">
|
1691
|
-
<a name="M000764"></a><b>occur</b>(n=nil) {|| ...}
|
870
|
+
<a name="M000409"></a><b>occur</b>(n=nil) {|| ...}
|
1692
871
|
</div>
|
1693
872
|
<div class="description">
|
1694
873
|
<p>
|
1695
874
|
Returns an array of elements for the elements that <a
|
1696
|
-
href="Enumerable.html#
|
875
|
+
href="Enumerable.html#M000409">occur</a> n times. Or according to the
|
1697
876
|
results of a given block.
|
1698
877
|
</p>
|
1699
878
|
<pre>
|
@@ -1711,8 +890,8 @@ results of a given block.
|
|
1711
890
|
</pre>
|
1712
891
|
</div>
|
1713
892
|
<div class="sourcecode">
|
1714
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1715
|
-
<div id="
|
893
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000409_source')" id="l_M000409_source">show source</a> ]</p>
|
894
|
+
<div id="M000409_source" class="dyn-source">
|
1716
895
|
<pre>
|
1717
896
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/occur.rb, line 18</span>
|
1718
897
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">occur</span>(<span class="ruby-identifier">n</span>=<span class="ruby-keyword kw">nil</span>) <span class="ruby-comment cmt">#:yield:</span>
|
@@ -1739,55 +918,7 @@ results of a given block.
|
|
1739
918
|
</div>
|
1740
919
|
<div class="method">
|
1741
920
|
<div class="title">
|
1742
|
-
<a name="
|
1743
|
-
</div>
|
1744
|
-
<div class="description">
|
1745
|
-
<p>
|
1746
|
-
Enumerable#one? returns <tt>true</tt> if and only if <em>exactly one</em>
|
1747
|
-
element in the collection satisfies the given predicate.
|
1748
|
-
</p>
|
1749
|
-
<p>
|
1750
|
-
If no predicate is provided, Enumerable#one? returns <tt>true</tt> if and
|
1751
|
-
only if <em>exactly one</em> element has a true value (i.e. not
|
1752
|
-
<tt>nil</tt> or <tt>false</tt>).
|
1753
|
-
</p>
|
1754
|
-
<pre>
|
1755
|
-
[].one? # false
|
1756
|
-
[nil].one? # false
|
1757
|
-
[5].one? # true
|
1758
|
-
[5,8,9].one? # false
|
1759
|
-
(1...10).one? { |n| n == 5 } # true
|
1760
|
-
(1...10).one? { |n| n < 5 } # false
|
1761
|
-
|
1762
|
-
CREDIT: Gavin Sinclair
|
1763
|
-
</pre>
|
1764
|
-
</div>
|
1765
|
-
<div class="sourcecode">
|
1766
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000729_source')" id="l_M000729_source">show source</a> ]</p>
|
1767
|
-
<div id="M000729_source" class="dyn-source">
|
1768
|
-
<pre>
|
1769
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/one.rb, line 21</span>
|
1770
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">one?</span> <span class="ruby-comment cmt"># :yield: e</span>
|
1771
|
-
<span class="ruby-identifier">matches</span> = <span class="ruby-value">0</span>
|
1772
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
1773
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span>
|
1774
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">e</span>)
|
1775
|
-
<span class="ruby-identifier">matches</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
1776
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">matches</span> <span class="ruby-operator">></span> <span class="ruby-value">1</span>
|
1777
|
-
<span class="ruby-keyword kw">end</span>
|
1778
|
-
<span class="ruby-keyword kw">end</span>
|
1779
|
-
<span class="ruby-keyword kw">return</span> (<span class="ruby-identifier">matches</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>)
|
1780
|
-
<span class="ruby-keyword kw">else</span>
|
1781
|
-
<span class="ruby-identifier">one?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-identifier">e</span> }
|
1782
|
-
<span class="ruby-keyword kw">end</span>
|
1783
|
-
<span class="ruby-keyword kw">end</span>
|
1784
|
-
</pre>
|
1785
|
-
</div>
|
1786
|
-
</div>
|
1787
|
-
</div>
|
1788
|
-
<div class="method">
|
1789
|
-
<div class="title">
|
1790
|
-
<a name="M000758"></a><b>one?</b>( {|e| ...}
|
921
|
+
<a name="M000403"></a><b>one?</b>( {|e| ...}
|
1791
922
|
</div>
|
1792
923
|
<div class="description">
|
1793
924
|
<p>
|
@@ -1811,8 +942,8 @@ only if <em>exactly one</em> element has a true value (i.e. not
|
|
1811
942
|
</pre>
|
1812
943
|
</div>
|
1813
944
|
<div class="sourcecode">
|
1814
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1815
|
-
<div id="
|
945
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000403_source')" id="l_M000403_source">show source</a> ]</p>
|
946
|
+
<div id="M000403_source" class="dyn-source">
|
1816
947
|
<pre>
|
1817
948
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/one.rb, line 21</span>
|
1818
949
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">one?</span> <span class="ruby-comment cmt"># :yield: e</span>
|
@@ -1835,45 +966,12 @@ only if <em>exactly one</em> element has a true value (i.e. not
|
|
1835
966
|
</div>
|
1836
967
|
<div class="method">
|
1837
968
|
<div class="title">
|
1838
|
-
<a name="
|
1839
|
-
</div>
|
1840
|
-
<div class="description">
|
1841
|
-
<p>
|
1842
|
-
Generates a hash mapping each unique element in the array to the relative
|
1843
|
-
<a href="Enumerable.html#M000740">frequency</a>, i.e. the probablity, of it
|
1844
|
-
appearence.
|
1845
|
-
</p>
|
1846
|
-
<pre>
|
1847
|
-
CREDIT: Brian Schröder
|
1848
|
-
</pre>
|
1849
|
-
</div>
|
1850
|
-
<div class="sourcecode">
|
1851
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000755_source')" id="l_M000755_source">show source</a> ]</p>
|
1852
|
-
<div id="M000755_source" class="dyn-source">
|
1853
|
-
<pre>
|
1854
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/probability.rb, line 9</span>
|
1855
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">probability</span>
|
1856
|
-
<span class="ruby-identifier">probs</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">0</span><span class="ruby-value">.0</span>)
|
1857
|
-
<span class="ruby-identifier">size</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span>
|
1858
|
-
<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span> <span class="ruby-identifier">e</span> <span class="ruby-operator">|</span>
|
1859
|
-
<span class="ruby-identifier">probs</span>[<span class="ruby-identifier">e</span>] <span class="ruby-operator">+=</span> <span class="ruby-value">1.0</span>
|
1860
|
-
<span class="ruby-identifier">size</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1.0</span>
|
1861
|
-
<span class="ruby-keyword kw">end</span>
|
1862
|
-
<span class="ruby-identifier">probs</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-identifier">probs</span>[<span class="ruby-identifier">e</span>] <span class="ruby-operator">/=</span> <span class="ruby-identifier">size</span> }
|
1863
|
-
<span class="ruby-identifier">probs</span>
|
1864
|
-
<span class="ruby-keyword kw">end</span>
|
1865
|
-
</pre>
|
1866
|
-
</div>
|
1867
|
-
</div>
|
1868
|
-
</div>
|
1869
|
-
<div class="method">
|
1870
|
-
<div class="title">
|
1871
|
-
<a name="M000784"></a><b>probability</b>()
|
969
|
+
<a name="M000429"></a><b>probability</b>()
|
1872
970
|
</div>
|
1873
971
|
<div class="description">
|
1874
972
|
<p>
|
1875
973
|
Generates a hash mapping each unique element in the array to the relative
|
1876
|
-
<a href="Enumerable.html#
|
974
|
+
<a href="Enumerable.html#M000414">frequency</a>, i.e. the probablity, of it
|
1877
975
|
appearence.
|
1878
976
|
</p>
|
1879
977
|
<pre>
|
@@ -1881,8 +979,8 @@ appearence.
|
|
1881
979
|
</pre>
|
1882
980
|
</div>
|
1883
981
|
<div class="sourcecode">
|
1884
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1885
|
-
<div id="
|
982
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000429_source')" id="l_M000429_source">show source</a> ]</p>
|
983
|
+
<div id="M000429_source" class="dyn-source">
|
1886
984
|
<pre>
|
1887
985
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/probability.rb, line 9</span>
|
1888
986
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">probability</span>
|
@@ -1901,50 +999,12 @@ appearence.
|
|
1901
999
|
</div>
|
1902
1000
|
<div class="method">
|
1903
1001
|
<div class="title">
|
1904
|
-
<a name="
|
1905
|
-
</div>
|
1906
|
-
<div class="description">
|
1907
|
-
<p>
|
1908
|
-
Split on matching pattern. Unlike <a
|
1909
|
-
href="Enumerable.html#M000741">divide</a> this does not include matching
|
1910
|
-
elements.
|
1911
|
-
</p>
|
1912
|
-
<pre>
|
1913
|
-
['a1','a2','b1','a3','b2','a4'].split(/^b/)
|
1914
|
-
=> [['a1','a2'],['a3'],['a4']]
|
1915
|
-
</pre>
|
1916
|
-
<p>
|
1917
|
-
CREDIT: Trans
|
1918
|
-
</p>
|
1919
|
-
</div>
|
1920
|
-
<div class="sourcecode">
|
1921
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000753_source')" id="l_M000753_source">show source</a> ]</p>
|
1922
|
-
<div id="M000753_source" class="dyn-source">
|
1923
|
-
<pre>
|
1924
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/split.rb, line 10</span>
|
1925
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">split</span>(<span class="ruby-identifier">pattern</span>)
|
1926
|
-
<span class="ruby-identifier">memo</span> = []
|
1927
|
-
<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">obj</span><span class="ruby-operator">|</span>
|
1928
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">pattern</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">obj</span>
|
1929
|
-
<span class="ruby-identifier">memo</span>.<span class="ruby-identifier">push</span> []
|
1930
|
-
<span class="ruby-keyword kw">else</span>
|
1931
|
-
<span class="ruby-identifier">memo</span>.<span class="ruby-identifier">last</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">obj</span>
|
1932
|
-
<span class="ruby-keyword kw">end</span>
|
1933
|
-
<span class="ruby-keyword kw">end</span>
|
1934
|
-
<span class="ruby-identifier">memo</span>
|
1935
|
-
<span class="ruby-keyword kw">end</span>
|
1936
|
-
</pre>
|
1937
|
-
</div>
|
1938
|
-
</div>
|
1939
|
-
</div>
|
1940
|
-
<div class="method">
|
1941
|
-
<div class="title">
|
1942
|
-
<a name="M000782"></a><b>split</b>(pattern)
|
1002
|
+
<a name="M000427"></a><b>split</b>(pattern)
|
1943
1003
|
</div>
|
1944
1004
|
<div class="description">
|
1945
1005
|
<p>
|
1946
1006
|
Split on matching pattern. Unlike <a
|
1947
|
-
href="Enumerable.html#
|
1007
|
+
href="Enumerable.html#M000415">divide</a> this does not include matching
|
1948
1008
|
elements.
|
1949
1009
|
</p>
|
1950
1010
|
<pre>
|
@@ -1956,8 +1016,8 @@ CREDIT: Trans
|
|
1956
1016
|
</p>
|
1957
1017
|
</div>
|
1958
1018
|
<div class="sourcecode">
|
1959
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1960
|
-
<div id="
|
1019
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000427_source')" id="l_M000427_source">show source</a> ]</p>
|
1020
|
+
<div id="M000427_source" class="dyn-source">
|
1961
1021
|
<pre>
|
1962
1022
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/split.rb, line 10</span>
|
1963
1023
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">split</span>(<span class="ruby-identifier">pattern</span>)
|
@@ -1977,41 +1037,11 @@ CREDIT: Trans
|
|
1977
1037
|
</div>
|
1978
1038
|
<div class="method">
|
1979
1039
|
<div class="title">
|
1980
|
-
<a name="
|
1981
|
-
</div>
|
1982
|
-
<div class="description">
|
1983
|
-
<p>
|
1984
|
-
Uses #+ to <a href="Enumerable.html#M000732">sum</a> the enumerated
|
1985
|
-
elements.
|
1986
|
-
</p>
|
1987
|
-
<pre>
|
1988
|
-
[1,2,3].sum #=> 6
|
1989
|
-
[3,3,3].sum #=> 9
|
1990
|
-
</pre>
|
1991
|
-
</div>
|
1992
|
-
<div class="sourcecode">
|
1993
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000732_source')" id="l_M000732_source">show source</a> ]</p>
|
1994
|
-
<div id="M000732_source" class="dyn-source">
|
1995
|
-
<pre>
|
1996
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/sum.rb, line 8</span>
|
1997
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sum</span>(<span class="ruby-identifier">identity</span> = <span class="ruby-value">0</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1998
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
1999
|
-
<span class="ruby-identifier">map</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>).<span class="ruby-identifier">sum</span>
|
2000
|
-
<span class="ruby-keyword kw">else</span>
|
2001
|
-
<span class="ruby-identifier">inject</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">sum</span>, <span class="ruby-identifier">element</span><span class="ruby-operator">|</span> <span class="ruby-identifier">sum</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">element</span> } <span class="ruby-operator">||</span> <span class="ruby-identifier">identity</span>
|
2002
|
-
<span class="ruby-keyword kw">end</span>
|
2003
|
-
<span class="ruby-keyword kw">end</span>
|
2004
|
-
</pre>
|
2005
|
-
</div>
|
2006
|
-
</div>
|
2007
|
-
</div>
|
2008
|
-
<div class="method">
|
2009
|
-
<div class="title">
|
2010
|
-
<a name="M000761"></a><b>sum</b>(identity = 0, &block)
|
1040
|
+
<a name="M000406"></a><b>sum</b>(identity = 0, &block)
|
2011
1041
|
</div>
|
2012
1042
|
<div class="description">
|
2013
1043
|
<p>
|
2014
|
-
Uses #+ to <a href="Enumerable.html#
|
1044
|
+
Uses #+ to <a href="Enumerable.html#M000406">sum</a> the enumerated
|
2015
1045
|
elements.
|
2016
1046
|
</p>
|
2017
1047
|
<pre>
|
@@ -2020,8 +1050,8 @@ elements.
|
|
2020
1050
|
</pre>
|
2021
1051
|
</div>
|
2022
1052
|
<div class="sourcecode">
|
2023
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2024
|
-
<div id="
|
1053
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000406_source')" id="l_M000406_source">show source</a> ]</p>
|
1054
|
+
<div id="M000406_source" class="dyn-source">
|
2025
1055
|
<pre>
|
2026
1056
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/sum.rb, line 8</span>
|
2027
1057
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sum</span>(<span class="ruby-identifier">identity</span> = <span class="ruby-value">0</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -2037,7 +1067,7 @@ elements.
|
|
2037
1067
|
</div>
|
2038
1068
|
<div class="method">
|
2039
1069
|
<div class="title">
|
2040
|
-
<a name="
|
1070
|
+
<a name="M000402"></a><b>to_h</b>(arrayed=nil)
|
2041
1071
|
</div>
|
2042
1072
|
<div class="description">
|
2043
1073
|
<p>
|
@@ -2049,8 +1079,8 @@ CREDIT: Trans
|
|
2049
1079
|
</p>
|
2050
1080
|
</div>
|
2051
1081
|
<div class="sourcecode">
|
2052
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2053
|
-
<div id="
|
1082
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000402_source')" id="l_M000402_source">show source</a> ]</p>
|
1083
|
+
<div id="M000402_source" class="dyn-source">
|
2054
1084
|
<pre>
|
2055
1085
|
<span class="ruby-comment cmt"># File lib/core/facets/to_hash.rb, line 65</span>
|
2056
1086
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>(<span class="ruby-identifier">arrayed</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -2062,39 +1092,7 @@ CREDIT: Trans
|
|
2062
1092
|
</div>
|
2063
1093
|
<div class="method">
|
2064
1094
|
<div class="title">
|
2065
|
-
<a name="
|
2066
|
-
</div>
|
2067
|
-
<div class="description">
|
2068
|
-
<p>
|
2069
|
-
Like uniq, but determines uniqueness based on a given block.
|
2070
|
-
</p>
|
2071
|
-
<pre>
|
2072
|
-
(-5..5).to_a.uniq_by {|i| i*i }
|
2073
|
-
</pre>
|
2074
|
-
<p>
|
2075
|
-
produces
|
2076
|
-
</p>
|
2077
|
-
<pre>
|
2078
|
-
[-5, -4, -3, -2, -1, 0]
|
2079
|
-
|
2080
|
-
CREDIT: ?
|
2081
|
-
</pre>
|
2082
|
-
</div>
|
2083
|
-
<div class="sourcecode">
|
2084
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000746_source')" id="l_M000746_source">show source</a> ]</p>
|
2085
|
-
<div id="M000746_source" class="dyn-source">
|
2086
|
-
<pre>
|
2087
|
-
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/uniq_by.rb, line 13</span>
|
2088
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uniq_by</span> <span class="ruby-comment cmt">#:yield:</span>
|
2089
|
-
<span class="ruby-identifier">h</span> = {}; <span class="ruby-identifier">inject</span>([]) {<span class="ruby-operator">|</span><span class="ruby-identifier">a</span>,<span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">h</span>[<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">x</span>)] <span class="ruby-operator">||=</span> <span class="ruby-identifier">a</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">x</span>}
|
2090
|
-
<span class="ruby-keyword kw">end</span>
|
2091
|
-
</pre>
|
2092
|
-
</div>
|
2093
|
-
</div>
|
2094
|
-
</div>
|
2095
|
-
<div class="method">
|
2096
|
-
<div class="title">
|
2097
|
-
<a name="M000775"></a><b>uniq_by</b>( {|| ...}
|
1095
|
+
<a name="M000420"></a><b>uniq_by</b>( {|| ...}
|
2098
1096
|
</div>
|
2099
1097
|
<div class="description">
|
2100
1098
|
<p>
|
@@ -2113,8 +1111,8 @@ produces
|
|
2113
1111
|
</pre>
|
2114
1112
|
</div>
|
2115
1113
|
<div class="sourcecode">
|
2116
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2117
|
-
<div id="
|
1114
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000420_source')" id="l_M000420_source">show source</a> ]</p>
|
1115
|
+
<div id="M000420_source" class="dyn-source">
|
2118
1116
|
<pre>
|
2119
1117
|
<span class="ruby-comment cmt"># File lib/core/facets/enumerable/uniq_by.rb, line 13</span>
|
2120
1118
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uniq_by</span> <span class="ruby-comment cmt">#:yield:</span>
|