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
data/METADATA
CHANGED
data/NEWS
CHANGED
@@ -1,60 +1,40 @@
|
|
1
1
|
= Release Notes
|
2
2
|
|
3
|
-
Facets 2.4.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
*
|
12
|
-
|
13
|
-
*
|
14
|
-
*
|
15
|
-
* Added
|
16
|
-
*
|
17
|
-
*
|
18
|
-
* Moved
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
*
|
26
|
-
*
|
27
|
-
|
28
|
-
*
|
29
|
-
*
|
30
|
-
*
|
31
|
-
*
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
*
|
39
|
-
*
|
40
|
-
* Evgeniy Dolzhenko
|
41
|
-
* Andy Freeman
|
42
|
-
* Tomasz Muras
|
43
|
-
* Dave Myron
|
44
|
-
|
45
|
-
And of course, to anyone else I failed to mention that has contributed.
|
46
|
-
|
47
|
-
As a REMINDER, Facets 2.4+ now encourages:
|
48
|
-
|
49
|
-
require 'facets'
|
50
|
-
|
51
|
-
This is better than cherry-picking methods. It may seem counter-intuitive,
|
52
|
-
but it actually proves more advantages to do this for the sake of
|
53
|
-
improved interoperability. The practice of cherry-picking can become
|
54
|
-
problematic if other dependent libraries have cherry-picked different
|
55
|
-
methods. In those cases these distinctions go unaccounted and untested.
|
56
|
-
|
57
|
-
Facets is almost fully interoperable with ActiveSupport and Ruby 1.9.
|
58
|
-
We will continue to improve this interoperability in upcoming releases.
|
59
|
-
|
3
|
+
Facets 2.4.4 includes a major bug fix that caused Facets not to load properly,
|
4
|
+
having to do with a Time extension. The problem has been fixed. In addition,
|
5
|
+
this release put Facets only a few pending adjustments away from full
|
6
|
+
Rails/ActiveSupport compatibility.
|
7
|
+
|
8
|
+
|
9
|
+
### Mon Sep 01 23:40:19 -0400 2008
|
10
|
+
|
11
|
+
* 7 Major Enhancements
|
12
|
+
|
13
|
+
* Added string/mask providing powerful string manipulation. (#997)
|
14
|
+
* BasicObject is now just a synonm for BlankSlate unless Ruby 1.9. (#1000)
|
15
|
+
* Added Symbol#plain?, Symbol#query? and Symbol#setter? (#1011)
|
16
|
+
* Removed Time#to_date.
|
17
|
+
* Due to clobberd RI Docs (!) this should have been in Lore lib date.rb
|
18
|
+
* Moved to Lore date.rb. (#1012)
|
19
|
+
* Re-added date.rb to lore library, and removed from core. (#1014)
|
20
|
+
* Much improved date.rb extension now in Lore library. (#1027)
|
21
|
+
* Deprecated kernel/suppress. Use Exception.suppress from now on. (#1040)
|
22
|
+
|
23
|
+
* 8 Minor Enhancements
|
24
|
+
|
25
|
+
* Moved style.rb to string/stylize.rb (#998)
|
26
|
+
* Renamed string/subtract to string/op_sub.
|
27
|
+
Old name will remain for time being for compatability. (#1002)
|
28
|
+
* Module#instance_method_define? now only applies to public methods. (#1003)
|
29
|
+
* Array#index accepts a block (one of the few core overrides). (#1004)
|
30
|
+
* Moved Hash#<< from hash/update.rb to hash/op_push.rb (#1005)
|
31
|
+
* Add facets class files (eg. facets/string) have been made dynamic. (#1013)
|
32
|
+
* Moved variablize methods out of metaid.rb and into separate files (string/ and symbol/). (#1042)
|
33
|
+
* Added Time#advance. (#1046)
|
34
|
+
|
35
|
+
* 3 Bug Fixes
|
36
|
+
|
37
|
+
* Hash#<< now return self (#1001)
|
38
|
+
* OpenStruct#to_h dups internal table. (#1015)
|
39
|
+
* Fixed require of string/xor in bicrypt.rb. (#1039)
|
60
40
|
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'benchmark'
|
2
|
+
|
3
|
+
# Load check all libs.
|
4
|
+
|
5
|
+
def test_load
|
6
|
+
|
7
|
+
while !File.directory?('lib/core/facets') do
|
8
|
+
Dir.chdir('..')
|
9
|
+
end
|
10
|
+
|
11
|
+
abort "Can't find project root." unless File.directory?('lib/core/facets')
|
12
|
+
|
13
|
+
@scripts = {}
|
14
|
+
|
15
|
+
Dir.chdir('lib/core') do
|
16
|
+
@scripts[:core] = Dir.glob('facets/*.rb')
|
17
|
+
@scripts[:core].uniq!
|
18
|
+
end
|
19
|
+
|
20
|
+
Dir.chdir('lib/lore') do
|
21
|
+
@scripts[:lore] = Dir.glob('facets/*.rb')
|
22
|
+
@scripts[:lore].uniq!
|
23
|
+
end
|
24
|
+
|
25
|
+
Dir.chdir('lib/more') do
|
26
|
+
@scripts[:more] = Dir.glob('facets/*.rb')
|
27
|
+
@scripts[:more].uniq!
|
28
|
+
end
|
29
|
+
|
30
|
+
$:.unshift('lib/core')
|
31
|
+
$:.unshift('lib/lore')
|
32
|
+
$:.unshift('lib/more')
|
33
|
+
|
34
|
+
$VERBOSE = nil
|
35
|
+
|
36
|
+
Benchmark.bm do |x|
|
37
|
+
x.report("core"){ require_scripts(:core) }
|
38
|
+
x.report("lore"){ require_scripts(:lore) }
|
39
|
+
x.report("more"){ require_scripts(:more) }
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def require_scripts(key)
|
44
|
+
@scripts[key].each do |file|
|
45
|
+
begin
|
46
|
+
require file
|
47
|
+
rescue Exception => e
|
48
|
+
puts file
|
49
|
+
puts e.message
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
if $0 == __FILE__
|
55
|
+
test_load
|
56
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/doc/news/news-2.0.5
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
== 2.0.5 / 2007-11-07
|
2
|
+
|
3
|
+
* Added final methods Gavin Sinclair's Extensions project (contributed by Noah Gibbs).
|
4
|
+
* Fixes bug with Dictionary#initialize
|
5
|
+
* Fixes bug with Hash#-
|
6
|
+
* Also improves changelog production.
|
7
|
+
* Made #alias_method_chain compatible with current ActiveSupport version.
|
8
|
+
|
data/doc/news/news-2.1.0
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
== 2.1.0 / 2007-11-10
|
2
|
+
|
3
|
+
* command.rb has been completely rewritten. The API has changed completely!
|
4
|
+
* There is no longer a Commmand::Optoins class. Use Console::Arguments instead.
|
5
|
+
* Added BiCrypt class to crypt.rb for simple two-way encyrption.
|
6
|
+
* module/attr.rb now has attr_reader!, attr_writer! and attr_accessor!
|
7
|
+
* All attr_xxx methods have coresponding alias_xxx methods.
|
8
|
+
* Fixed bug in Enumerable#cluster_by which returned nil instead of [].
|
9
|
+
|
data/doc/news/news-2.1.1
ADDED
data/doc/news/news-2.1.2
ADDED
data/doc/news/news-2.1.3
ADDED
data/doc/news/news-2.2.0
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
== 2.2.0 / 2007-12-13
|
2
|
+
|
3
|
+
* A lot of rdoc updates to core extensions --as promised ;)
|
4
|
+
* Just about every method now has at least a brief explinaiton and an example.
|
5
|
+
* integer/bitmask.rb has changed a bit --pun intended ;) Deprecated some methods and now use "~" instead of "-" to clear bits.
|
6
|
+
* The name Array#unzip didn't makes sense, it was renamed to #modulate (though #collate seems better?)
|
7
|
+
* Renamed Enumerable#collate to #mash (Map hASH); #collate and #graph remain aliases for the time being.
|
8
|
+
* Deprecated Module#include_and_extend. Just use both silly.
|
9
|
+
* More lib pp_s.rb has been removed. Use #pretty_inspect instead.
|
10
|
+
* Split binding extensions up a bit more finely --eval.rb sprouted here.rb, self.rb and defined.rb.
|
11
|
+
* Move Time#stamp out of conversion.rb and into time/ dir, and remove to_s alias.
|
12
|
+
* Preliminary addition of Matthew Harris' excellent duration.rb lib (will integrate with times.rb better in future).
|
13
|
+
* Added if clauses to handle upcoming Ruby 1.9 gracefully. Facets should now be just about ready for use with 1.9.
|
14
|
+
|
data/doc/news/news-2.2.1
ADDED
data/doc/news/news-2.3.0
ADDED
@@ -30,7 +30,7 @@ has been improved. In addition, we are getting very close to full
|
|
30
30
|
ActiveSupport, and Ruby 1.9, interoperability. Expect this
|
31
31
|
to be complete in the next minor release or two.
|
32
32
|
|
33
|
-
|
33
|
+
== Previously
|
34
34
|
|
35
35
|
(2.3.0) Amoung other changes with this release, cloneable.rb is
|
36
36
|
now a true deep dup/clone mixin; tracepoint.rb returns
|
@@ -50,3 +50,21 @@ as well as attr_reader!, attr_writer! and attr_accessor!
|
|
50
50
|
for flag attributes, plus alias_xxx methods for all
|
51
51
|
attr_xxx methods.
|
52
52
|
|
53
|
+
|
54
|
+
### CHANGELOG 2.4.0 / 2008-03-24
|
55
|
+
|
56
|
+
* String#to_re and String#to_rx have swapped default behaviors. #to_rx escapes, #to_re does not.
|
57
|
+
* The Console namespace is being deprecated. command.rb and arguments.rb now use CLI naemspace.
|
58
|
+
* #compare_on and #equate_on are now "mixin methods" Comparable() and Equateable().
|
59
|
+
* Enumerable#product, #combintations and #permutations have change to be Ruby 1.9 compatible.
|
60
|
+
* thread.rb, map_send, et al, block is passed to send instead of yielding on result.
|
61
|
+
* namespace.rb has been renamed to methodspace.rb.
|
62
|
+
* Ruby 1.9 defined a new Proc#curry method, so Facets version has been made compatible.
|
63
|
+
* The old curry method is now called #partial, as in "partial application".
|
64
|
+
* Deprecated interface.rb. Perhaps a better approach but nonetheless extraneous.
|
65
|
+
* Deprecated paramix.rb. A better way is to use a capitialized methods. (Perhaps a lib for that?)
|
66
|
+
* Brought back a few web related libs, htmlfilter.rb and cssfilter.rb in particular.
|
67
|
+
* camelcase and snakecase are core extensions. For specialized styles use String#style in style.rb.
|
68
|
+
* This was a fairly large and fast-paced update, so unfortunately not all changes are listed this time.
|
69
|
+
|
70
|
+
|
data/doc/news/news-2.4.1
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
== 2.4.1 / 2008-04-03
|
2
|
+
|
3
|
+
* Comparing to ActiveSupport, found 63 extension clashes, but most are due to 1.9 features and the rest should be compatible.
|
4
|
+
* A much improved paramix.rb has been returned to the library; but please note it's not quite finished yet.
|
5
|
+
* Reatomized a number of Kernel and String methods. Reatomization is nearly complete.
|
6
|
+
* Deprecated behavior.rb. It was not robust.
|
7
|
+
* Added basex.rb, library for working in any encoding base using any character set (base62 is the default).
|
8
|
+
|
data/doc/news/news-2.4.2
ADDED
data/doc/news/news-2.4.3
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
= Release Notes -- 2.4.3
|
2
|
+
|
3
|
+
== Major Changes
|
4
|
+
|
5
|
+
* Changed File#rewrite to not use the in-place change of the string.
|
6
|
+
* Deprecate Hash#keys_to_s and Hash#keys_to_sym.
|
7
|
+
* Renamed Class#to_pathname and #to_methodname to #pathize and #methodize.
|
8
|
+
* Deprecated Console:: namespace for ANSICode.
|
9
|
+
* Added Time#trunc and Time#round to Core.
|
10
|
+
* Added Ken Bloom's DictionaryMatcher class (will be renamed in future version)
|
11
|
+
* Added Array#recursively and fixed bug in Hash#recursively.
|
12
|
+
* Added kernel/instance method which provides a fluent interface to private object space.
|
13
|
+
* Moved Mentalguy's lazy.rb to core!
|
14
|
+
* Added Indexable and Stackable to core.
|
15
|
+
* Deprecated ruby.rb, which was a sort 1.9 compatibility layer.
|
16
|
+
* The ruby.rb methods were moved to core, wrapped in a 1.9 condition.
|
17
|
+
|
18
|
+
== Minor Changes
|
19
|
+
|
20
|
+
* Fixed Time#hence changed years when changing months.
|
21
|
+
* Fixed Time#hence to flip year correctly when adding months.
|
22
|
+
* Added optional argument to Dictionary#first and #last.
|
23
|
+
* Improved File#rootname --it is now more robust.
|
24
|
+
* Made FileUtils#whereis a module_function again.
|
25
|
+
* Although not perceptible to the end user, there are now three divisions lib/core, lib/lore, lib/more.
|
26
|
+
* Created Lore library to house extensions to Ruby's standard library.
|
27
|
+
|
28
|
+
Note that this release does not include a setup.rb script. We are working
|
29
|
+
on a new version of this script, which we plan to include in the next release.
|
30
|
+
|
31
|
+
Special thanks to:
|
32
|
+
|
33
|
+
* Ken Bloom
|
34
|
+
* Nick Caruso
|
35
|
+
* Evgeniy Dolzhenko
|
36
|
+
* Andy Freeman
|
37
|
+
* Tomasz Muras
|
38
|
+
* Dave Myron
|
39
|
+
|
40
|
+
And of course, to anyone else I failed to mention that has contributed.
|
41
|
+
|
42
|
+
As a REMINDER, Facets 2.4+ now encourages:
|
43
|
+
|
44
|
+
require 'facets'
|
45
|
+
|
46
|
+
This is better than cherry-picking methods. It may seem counter-intuitive,
|
47
|
+
but it actually proves more advantages to do this for the sake of
|
48
|
+
improved interoperability. The practice of cherry-picking can become
|
49
|
+
problematic if other dependent libraries have cherry-picked different
|
50
|
+
methods. In those cases these distinctions go unaccounted and untested.
|
51
|
+
|
52
|
+
Facets is almost fully interoperable with ActiveSupport and Ruby 1.9.
|
53
|
+
We will continue to improve this interoperability in upcoming releases.
|
54
|
+
|
55
|
+
|
56
|
+
### CHANGELOG 2.4.3 / 2008-08-14
|
57
|
+
|
58
|
+
* Fixed Time#hence changed years when changing months.
|
59
|
+
* Deprecate Hash#keys_to_s and Hash#keys_to_sym.
|
60
|
+
* Renamed Class#to_pathname and #to_methodname to #pathize and #methodize.
|
61
|
+
* Added Sting#pathize and String#methodize.
|
62
|
+
* Deprecated Console:: namespace for ANSICode.
|
63
|
+
* Added Time#trunc and Time#round to Core.
|
64
|
+
* Added Ken Bloom's DictionaryMatcher class (will be renamed in future version)
|
65
|
+
* IMPORTANT! Changed File#rewrite to not use the inplace change of the string.
|
66
|
+
* Added Array#recursively and fixed bug in Hash#recursively.
|
67
|
+
* Fixed Time#hence to flip year correctly when adding months.
|
68
|
+
* Added optional argument to Dictionary#first and #last.
|
69
|
+
* Added kernel/instance method which provides a fluent interface to private object space.
|
70
|
+
* Moved Mentalguy's lazy.rb to core!
|
71
|
+
* Added Stackable and Indexable to core.
|
72
|
+
* Removed ruby.rb, which was a sort 1.9 compatibility lib. The methods are now in core.
|
73
|
+
* Improved File#rootname --much more robust now.
|
74
|
+
* Made FileUtils#whereis a module_function again.
|
75
|
+
* Although not perceptable to the end user, there are now three libs (lib/core, lib/lore, lib/more).
|
76
|
+
* Created Lore library to house extensions to Ruby's standard library.
|
77
|
+
|
78
|
+
|
@@ -69,22 +69,7 @@
|
|
69
69
|
<a href="../files/lib/core/facets/array/traverse_rb.html">lib/core/facets/array/traverse.rb</a>
|
70
70
|
<a href="../files/lib/core/facets/array/permutation_rb.html">lib/core/facets/array/permutation.rb</a>
|
71
71
|
<a href="../files/lib/core/facets/array/select_rb.html">lib/core/facets/array/select.rb</a>
|
72
|
-
<a href="../files/lib/core/facets/array/
|
73
|
-
<a href="../files/lib/core/facets/array/delete_rb.html">lib/core/facets/array/delete.rb</a>
|
74
|
-
<a href="../files/lib/core/facets/array/combination_rb.html">lib/core/facets/array/combination.rb</a>
|
75
|
-
<a href="../files/lib/core/facets/array/splice_rb.html">lib/core/facets/array/splice.rb</a>
|
76
|
-
<a href="../files/lib/core/facets/array/stackable_rb.html">lib/core/facets/array/stackable.rb</a>
|
77
|
-
<a href="../files/lib/core/facets/array/pad_rb.html">lib/core/facets/array/pad.rb</a>
|
78
|
-
<a href="../files/lib/core/facets/array/product_rb.html">lib/core/facets/array/product.rb</a>
|
79
|
-
<a href="../files/lib/core/facets/array/recursively_rb.html">lib/core/facets/array/recursively.rb</a>
|
80
|
-
<a href="../files/lib/core/facets/array/not_empty_rb.html">lib/core/facets/array/not_empty.rb</a>
|
81
|
-
<a href="../files/lib/core/facets/array/rotate_rb.html">lib/core/facets/array/rotate.rb</a>
|
82
|
-
<a href="../files/lib/core/facets/array/conjoin_rb.html">lib/core/facets/array/conjoin.rb</a>
|
83
|
-
<a href="../files/lib/core/facets/array/indexable_rb.html">lib/core/facets/array/indexable.rb</a>
|
84
|
-
<a href="../files/lib/core/facets/array/merge_rb.html">lib/core/facets/array/merge.rb</a>
|
85
|
-
<a href="../files/lib/core/facets/array/traverse_rb.html">lib/core/facets/array/traverse.rb</a>
|
86
|
-
<a href="../files/lib/core/facets/array/permutation_rb.html">lib/core/facets/array/permutation.rb</a>
|
87
|
-
<a href="../files/lib/core/facets/array/select_rb.html">lib/core/facets/array/select.rb</a>
|
72
|
+
<a href="../files/lib/core/facets/array/index_rb.html">lib/core/facets/array/index.rb</a>
|
88
73
|
<a href="../files/lib/core/facets/array/only_rb.html">lib/core/facets/array/only.rb</a>
|
89
74
|
<a href="../files/lib/core/facets/array/delete_rb.html">lib/core/facets/array/delete.rb</a>
|
90
75
|
<a href="../files/lib/core/facets/array/combination_rb.html">lib/core/facets/array/combination.rb</a>
|
@@ -116,58 +101,36 @@ Object
|
|
116
101
|
|
117
102
|
<div class="sectiontitle">Methods</div>
|
118
103
|
<ul>
|
119
|
-
<li><a href="#
|
120
|
-
<li><a href="#
|
121
|
-
<li><a href="#
|
122
|
-
<li><a href="#
|
123
|
-
<li><a href="#
|
124
|
-
<li><a href="#
|
125
|
-
<li><a href="#
|
126
|
-
<li><a href="#
|
127
|
-
<li><a href="#
|
128
|
-
<li><a href="#
|
129
|
-
<li><a href="#
|
130
|
-
<li><a href="#
|
131
|
-
<li><a href="#
|
132
|
-
<li><a href="#
|
133
|
-
<li><a href="#
|
134
|
-
<li><a href="#
|
135
|
-
<li><a href="#
|
136
|
-
<li><a href="#
|
137
|
-
<li><a href="#
|
138
|
-
<li><a href="#
|
139
|
-
<li><a href="#
|
140
|
-
<li><a href="#
|
141
|
-
<li><a href="#
|
142
|
-
<li><a href="#
|
143
|
-
<li><a href="#M000255">product</a></li>
|
144
|
-
<li><a href="#M000234">product</a></li>
|
145
|
-
<li><a href="#M000236">recursively</a></li>
|
146
|
-
<li><a href="#M000257">recursively</a></li>
|
147
|
-
<li><a href="#M000258">recursively!</a></li>
|
148
|
-
<li><a href="#M000237">recursively!</a></li>
|
149
|
-
<li><a href="#M000239">rotate</a></li>
|
150
|
-
<li><a href="#M000260">rotate</a></li>
|
151
|
-
<li><a href="#M000261">rotate!</a></li>
|
152
|
-
<li><a href="#M000240">rotate!</a></li>
|
153
|
-
<li><a href="#M000246">select!</a></li>
|
154
|
-
<li><a href="#M000267">select!</a></li>
|
155
|
-
<li><a href="#M000273">splice</a></li>
|
156
|
-
<li><a href="#M000252">splice</a></li>
|
157
|
-
<li><a href="#M000233">to_b</a></li>
|
158
|
-
<li><a href="#M000232">to_h</a></li>
|
159
|
-
<li><a href="#M000264">traverse</a></li>
|
160
|
-
<li><a href="#M000243">traverse</a></li>
|
161
|
-
<li><a href="#M000244">traverse!</a></li>
|
162
|
-
<li><a href="#M000265">traverse!</a></li>
|
104
|
+
<li><a href="#M000129">**</a></li>
|
105
|
+
<li><a href="#M000146">combination</a></li>
|
106
|
+
<li><a href="#M000135">conjoin</a></li>
|
107
|
+
<li><a href="#M000143">delete_unless</a></li>
|
108
|
+
<li><a href="#M000144">delete_values</a></li>
|
109
|
+
<li><a href="#M000145">delete_values_at</a></li>
|
110
|
+
<li><a href="#M000141">index</a></li>
|
111
|
+
<li><a href="#M000136">merge!</a></li>
|
112
|
+
<li><a href="#M000132">not_empty?</a></li>
|
113
|
+
<li><a href="#M000142">only</a></li>
|
114
|
+
<li><a href="#M000148">pad</a></li>
|
115
|
+
<li><a href="#M000149">pad!</a></li>
|
116
|
+
<li><a href="#M000139">permutation</a></li>
|
117
|
+
<li><a href="#M000128">product</a></li>
|
118
|
+
<li><a href="#M000130">recursively</a></li>
|
119
|
+
<li><a href="#M000131">recursively!</a></li>
|
120
|
+
<li><a href="#M000133">rotate</a></li>
|
121
|
+
<li><a href="#M000134">rotate!</a></li>
|
122
|
+
<li><a href="#M000140">select!</a></li>
|
123
|
+
<li><a href="#M000147">splice</a></li>
|
124
|
+
<li><a href="#M000127">to_b</a></li>
|
125
|
+
<li><a href="#M000126">to_h</a></li>
|
126
|
+
<li><a href="#M000137">traverse</a></li>
|
127
|
+
<li><a href="#M000138">traverse!</a></li>
|
163
128
|
</ul>
|
164
129
|
|
165
130
|
<div class="sectiontitle">Included Modules</div>
|
166
131
|
<ul>
|
167
132
|
<li><a href="Indexable.html">Indexable</a></li>
|
168
133
|
<li><a href="Stackable.html">Stackable</a></li>
|
169
|
-
<li><a href="Indexable.html">Indexable</a></li>
|
170
|
-
<li><a href="Stackable.html">Stackable</a></li>
|
171
134
|
</ul>
|
172
135
|
|
173
136
|
|
@@ -177,32 +140,22 @@ Object
|
|
177
140
|
<div class="sectiontitle">Public Instance methods</div>
|
178
141
|
<div class="method">
|
179
142
|
<div class="title">
|
180
|
-
<a name="
|
181
|
-
</div>
|
182
|
-
<div class="description">
|
183
|
-
<p>
|
184
|
-
Alias for <a href="Array.html#M000234">product</a>
|
185
|
-
</p>
|
186
|
-
</div>
|
187
|
-
</div>
|
188
|
-
<div class="method">
|
189
|
-
<div class="title">
|
190
|
-
<a name="M000235"></a><b>**</b>(*enums, &block)
|
143
|
+
<a name="M000129"></a><b>**</b>(*enums, &block)
|
191
144
|
</div>
|
192
145
|
<div class="description">
|
193
146
|
<p>
|
194
|
-
Alias for <a href="Array.html#
|
147
|
+
Alias for <a href="Array.html#M000128">product</a>
|
195
148
|
</p>
|
196
149
|
</div>
|
197
150
|
</div>
|
198
151
|
<div class="method">
|
199
152
|
<div class="title">
|
200
|
-
<a name="
|
153
|
+
<a name="M000146"></a><b>combination</b>(k=2) {|s.values_at(*idx)| ...}
|
201
154
|
</div>
|
202
155
|
<div class="description">
|
203
156
|
<p>
|
204
157
|
Yields the block to each unique <a
|
205
|
-
href="Array.html#
|
158
|
+
href="Array.html#M000146">combination</a> of <em>n</em> elements.
|
206
159
|
</p>
|
207
160
|
<pre>
|
208
161
|
a = %w|a b c d|
|
@@ -222,8 +175,8 @@ CREDIT: Florian Gross
|
|
222
175
|
</p>
|
223
176
|
</div>
|
224
177
|
<div class="sourcecode">
|
225
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
226
|
-
<div id="
|
178
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000146_source')" id="l_M000146_source">show source</a> ]</p>
|
179
|
+
<div id="M000146_source" class="dyn-source">
|
227
180
|
<pre>
|
228
181
|
<span class="ruby-comment cmt"># File lib/core/facets/array/combination.rb, line 21</span>
|
229
182
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">combination</span>(<span class="ruby-identifier">k</span>=<span class="ruby-value">2</span>)
|
@@ -250,60 +203,7 @@ CREDIT: Florian Gross
|
|
250
203
|
</div>
|
251
204
|
<div class="method">
|
252
205
|
<div class="title">
|
253
|
-
<a name="
|
254
|
-
</div>
|
255
|
-
<div class="description">
|
256
|
-
<p>
|
257
|
-
Yields the block to each unique <a
|
258
|
-
href="Array.html#M000251">combination</a> of <em>n</em> elements.
|
259
|
-
</p>
|
260
|
-
<pre>
|
261
|
-
a = %w|a b c d|
|
262
|
-
a.combination(3)
|
263
|
-
</pre>
|
264
|
-
<p>
|
265
|
-
produces
|
266
|
-
</p>
|
267
|
-
<pre>
|
268
|
-
[["a", "b", "c"],
|
269
|
-
["a", "b", "d"],
|
270
|
-
["a", "c", "d"],
|
271
|
-
["b", "c", "d"]]
|
272
|
-
</pre>
|
273
|
-
<p>
|
274
|
-
CREDIT: Florian Gross
|
275
|
-
</p>
|
276
|
-
</div>
|
277
|
-
<div class="sourcecode">
|
278
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000251_source')" id="l_M000251_source">show source</a> ]</p>
|
279
|
-
<div id="M000251_source" class="dyn-source">
|
280
|
-
<pre>
|
281
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/combination.rb, line 21</span>
|
282
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">combination</span>(<span class="ruby-identifier">k</span>=<span class="ruby-value">2</span>)
|
283
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
284
|
-
<span class="ruby-identifier">s</span> = <span class="ruby-identifier">to_a</span>
|
285
|
-
<span class="ruby-identifier">n</span> = <span class="ruby-identifier">s</span>.<span class="ruby-identifier">size</span>
|
286
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> (<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-identifier">n</span>) <span class="ruby-operator">===</span> <span class="ruby-identifier">k</span>
|
287
|
-
<span class="ruby-identifier">idx</span> = (<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">k</span>).<span class="ruby-identifier">to_a</span>
|
288
|
-
<span class="ruby-identifier">loop</span> <span class="ruby-keyword kw">do</span>
|
289
|
-
<span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">idx</span>)
|
290
|
-
<span class="ruby-identifier">i</span> = <span class="ruby-identifier">k</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>
|
291
|
-
<span class="ruby-identifier">i</span> <span class="ruby-operator">-=</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">idx</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">k</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">i</span>
|
292
|
-
<span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">i</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
293
|
-
<span class="ruby-identifier">idx</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
294
|
-
(<span class="ruby-identifier">i</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span> <span class="ruby-operator">...</span> <span class="ruby-identifier">k</span>).<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span> <span class="ruby-identifier">idx</span>[<span class="ruby-identifier">j</span>] = <span class="ruby-identifier">idx</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator">+</span> <span class="ruby-identifier">j</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">i</span>}
|
295
|
-
<span class="ruby-keyword kw">end</span>
|
296
|
-
<span class="ruby-keyword kw">else</span>
|
297
|
-
<span class="ruby-identifier">to_enum</span>(<span class="ruby-identifier">:combination</span>, <span class="ruby-identifier">k</span>)
|
298
|
-
<span class="ruby-keyword kw">end</span>
|
299
|
-
<span class="ruby-keyword kw">end</span>
|
300
|
-
</pre>
|
301
|
-
</div>
|
302
|
-
</div>
|
303
|
-
</div>
|
304
|
-
<div class="method">
|
305
|
-
<div class="title">
|
306
|
-
<a name="M000262"></a><b>conjoin</b>(*args) {|i, *slice(i,2)| ...}
|
206
|
+
<a name="M000135"></a><b>conjoin</b>(*args) {|i, *slice(i,2)| ...}
|
307
207
|
</div>
|
308
208
|
<div class="description">
|
309
209
|
<p>
|
@@ -338,8 +238,8 @@ no longer the case. You must specifically provide these parameters.
|
|
338
238
|
</pre>
|
339
239
|
</div>
|
340
240
|
<div class="sourcecode">
|
341
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
342
|
-
<div id="
|
241
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">show source</a> ]</p>
|
242
|
+
<div id="M000135_source" class="dyn-source">
|
343
243
|
<pre>
|
344
244
|
<span class="ruby-comment cmt"># File lib/core/facets/array/conjoin.rb, line 30</span>
|
345
245
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conjoin</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -374,105 +274,7 @@ no longer the case. You must specifically provide these parameters.
|
|
374
274
|
</div>
|
375
275
|
<div class="method">
|
376
276
|
<div class="title">
|
377
|
-
<a name="
|
378
|
-
</div>
|
379
|
-
<div class="description">
|
380
|
-
<p>
|
381
|
-
This is more advnaced form of join. It allows for fine control of
|
382
|
-
separators.
|
383
|
-
</p>
|
384
|
-
<p>
|
385
|
-
NOTE: The old version used to default it‘s separator to ",
|
386
|
-
" and default the terminating separator to " and ". This is
|
387
|
-
no longer the case. You must specifically provide these parameters.
|
388
|
-
</p>
|
389
|
-
<pre>
|
390
|
-
[1,2,3].conjoin
|
391
|
-
=> "123"
|
392
|
-
|
393
|
-
[1,2,3].conjoin(', ', ' and ')
|
394
|
-
=> "1, 2 and 3
|
395
|
-
|
396
|
-
[1,2,3].conjoin(', ', :last => ' or ')
|
397
|
-
=> "1, 2 or 3
|
398
|
-
|
399
|
-
[1,2,3].conjoin('; ', -1 => ' & ')
|
400
|
-
=> "1; 2 & 3
|
401
|
-
|
402
|
-
[1,2,3,4].conjoin{ |i, a, b| i % 2 == 0 ? '.' : '-' }
|
403
|
-
=> "1.2-3.4"
|
404
|
-
|
405
|
-
[1,1,2,2].conjoin{ |i, a, b| a == b ? '=' : '!=' }
|
406
|
-
=> "1=1!=2=2"
|
407
|
-
|
408
|
-
CREDIT: Trans
|
409
|
-
</pre>
|
410
|
-
</div>
|
411
|
-
<div class="sourcecode">
|
412
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000241_source')" id="l_M000241_source">show source</a> ]</p>
|
413
|
-
<div id="M000241_source" class="dyn-source">
|
414
|
-
<pre>
|
415
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/conjoin.rb, line 30</span>
|
416
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conjoin</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
417
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">first</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">size</span> <span class="ruby-operator"><</span> <span class="ruby-value">2</span>
|
418
|
-
|
419
|
-
<span class="ruby-identifier">sep</span> = []
|
420
|
-
|
421
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
422
|
-
(<span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
423
|
-
<span class="ruby-identifier">sep</span> <span class="ruby-operator"><<</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">i</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">slice</span>(<span class="ruby-identifier">i</span>,<span class="ruby-value">2</span>))
|
424
|
-
<span class="ruby-keyword kw">end</span>
|
425
|
-
<span class="ruby-keyword kw">else</span>
|
426
|
-
<span class="ruby-identifier">options</span> = (<span class="ruby-constant">Hash</span><span class="ruby-operator">===</span><span class="ruby-identifier">args</span>.<span class="ruby-identifier">last</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">pop</span> <span class="ruby-operator">:</span> {}
|
427
|
-
<span class="ruby-identifier">separator</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">shift</span> <span class="ruby-operator">||</span> <span class="ruby-value str">""</span>
|
428
|
-
<span class="ruby-identifier">options</span>[<span class="ruby-value">-1</span>] = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">shift</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">empty?</span>
|
429
|
-
|
430
|
-
<span class="ruby-identifier">sep</span> = [<span class="ruby-identifier">separator</span>] <span class="ruby-operator">*</span> (<span class="ruby-identifier">size</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>)
|
431
|
-
|
432
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-identifier">:last</span>)
|
433
|
-
<span class="ruby-identifier">options</span>[<span class="ruby-value">-1</span>] = <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">:last</span>)
|
434
|
-
<span class="ruby-keyword kw">end</span>
|
435
|
-
|
436
|
-
<span class="ruby-identifier">options</span>[<span class="ruby-value">-1</span>] <span class="ruby-operator">||=</span> <span class="ruby-value str">" and "</span>
|
437
|
-
|
438
|
-
<span class="ruby-identifier">options</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">i</span>, <span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">sep</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-identifier">s</span>}
|
439
|
-
<span class="ruby-keyword kw">end</span>
|
440
|
-
<span class="ruby-identifier">zip</span>(<span class="ruby-identifier">sep</span>).<span class="ruby-identifier">join</span>
|
441
|
-
<span class="ruby-keyword kw">end</span>
|
442
|
-
</pre>
|
443
|
-
</div>
|
444
|
-
</div>
|
445
|
-
</div>
|
446
|
-
<div class="method">
|
447
|
-
<div class="title">
|
448
|
-
<a name="M000248"></a><b>delete_unless</b>(&block)
|
449
|
-
</div>
|
450
|
-
<div class="description">
|
451
|
-
<p>
|
452
|
-
Inverse of delete_if.
|
453
|
-
</p>
|
454
|
-
<pre>
|
455
|
-
[1,2,3].delete_unless{ |x| x < 2 }
|
456
|
-
=> [1,2]
|
457
|
-
|
458
|
-
CREDIT: Daniel Schierbeck
|
459
|
-
</pre>
|
460
|
-
</div>
|
461
|
-
<div class="sourcecode">
|
462
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000248_source')" id="l_M000248_source">show source</a> ]</p>
|
463
|
-
<div id="M000248_source" class="dyn-source">
|
464
|
-
<pre>
|
465
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/delete.rb, line 10</span>
|
466
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_unless</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
467
|
-
<span class="ruby-identifier">delete_if</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">element</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">element</span>) }
|
468
|
-
<span class="ruby-keyword kw">end</span>
|
469
|
-
</pre>
|
470
|
-
</div>
|
471
|
-
</div>
|
472
|
-
</div>
|
473
|
-
<div class="method">
|
474
|
-
<div class="title">
|
475
|
-
<a name="M000269"></a><b>delete_unless</b>(&block)
|
277
|
+
<a name="M000143"></a><b>delete_unless</b>(&block)
|
476
278
|
</div>
|
477
279
|
<div class="description">
|
478
280
|
<p>
|
@@ -486,8 +288,8 @@ Inverse of delete_if.
|
|
486
288
|
</pre>
|
487
289
|
</div>
|
488
290
|
<div class="sourcecode">
|
489
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
490
|
-
<div id="
|
291
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000143_source')" id="l_M000143_source">show source</a> ]</p>
|
292
|
+
<div id="M000143_source" class="dyn-source">
|
491
293
|
<pre>
|
492
294
|
<span class="ruby-comment cmt"># File lib/core/facets/array/delete.rb, line 10</span>
|
493
295
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_unless</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -499,38 +301,7 @@ Inverse of delete_if.
|
|
499
301
|
</div>
|
500
302
|
<div class="method">
|
501
303
|
<div class="title">
|
502
|
-
<a name="
|
503
|
-
</div>
|
504
|
-
<div class="description">
|
505
|
-
<p>
|
506
|
-
Delete multiple values from array.
|
507
|
-
</p>
|
508
|
-
<pre>
|
509
|
-
a = [1,2,3,4]
|
510
|
-
a.delete_values(1,2) #=> [1,2]
|
511
|
-
a #=> [3,4]
|
512
|
-
</pre>
|
513
|
-
<p>
|
514
|
-
CREDIT: Trans
|
515
|
-
</p>
|
516
|
-
</div>
|
517
|
-
<div class="sourcecode">
|
518
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000249_source')" id="l_M000249_source">show source</a> ]</p>
|
519
|
-
<div id="M000249_source" class="dyn-source">
|
520
|
-
<pre>
|
521
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/delete.rb, line 22</span>
|
522
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_values</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">values</span>)
|
523
|
-
<span class="ruby-identifier">d</span> = []
|
524
|
-
<span class="ruby-identifier">values</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">d</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">v</span>) }
|
525
|
-
<span class="ruby-identifier">d</span>
|
526
|
-
<span class="ruby-keyword kw">end</span>
|
527
|
-
</pre>
|
528
|
-
</div>
|
529
|
-
</div>
|
530
|
-
</div>
|
531
|
-
<div class="method">
|
532
|
-
<div class="title">
|
533
|
-
<a name="M000270"></a><b>delete_values</b>(*values)
|
304
|
+
<a name="M000144"></a><b>delete_values</b>(*values)
|
534
305
|
</div>
|
535
306
|
<div class="description">
|
536
307
|
<p>
|
@@ -546,8 +317,8 @@ CREDIT: Trans
|
|
546
317
|
</p>
|
547
318
|
</div>
|
548
319
|
<div class="sourcecode">
|
549
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
550
|
-
<div id="
|
320
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000144_source')" id="l_M000144_source">show source</a> ]</p>
|
321
|
+
<div id="M000144_source" class="dyn-source">
|
551
322
|
<pre>
|
552
323
|
<span class="ruby-comment cmt"># File lib/core/facets/array/delete.rb, line 22</span>
|
553
324
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_values</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">values</span>)
|
@@ -561,11 +332,12 @@ CREDIT: Trans
|
|
561
332
|
</div>
|
562
333
|
<div class="method">
|
563
334
|
<div class="title">
|
564
|
-
<a name="
|
335
|
+
<a name="M000145"></a><b>delete_values_at</b>(*selectors)
|
565
336
|
</div>
|
566
337
|
<div class="description">
|
567
338
|
<p>
|
568
|
-
Delete multiple values from array given indexes or
|
339
|
+
Delete multiple values from array given indexes or <a
|
340
|
+
href="Array.html#M000141">index</a> range.
|
569
341
|
</p>
|
570
342
|
<pre>
|
571
343
|
a = [1,2,3,4]
|
@@ -583,8 +355,8 @@ NOTE: It would be nice to see delete_at incorporate this funcitonaility.
|
|
583
355
|
</pre>
|
584
356
|
</div>
|
585
357
|
<div class="sourcecode">
|
586
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
587
|
-
<div id="
|
358
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000145_source')" id="l_M000145_source">show source</a> ]</p>
|
359
|
+
<div id="M000145_source" class="dyn-source">
|
588
360
|
<pre>
|
589
361
|
<span class="ruby-comment cmt"># File lib/core/facets/array/delete.rb, line 43</span>
|
590
362
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">selectors</span>)
|
@@ -609,83 +381,33 @@ NOTE: It would be nice to see delete_at incorporate this funcitonaility.
|
|
609
381
|
</div>
|
610
382
|
<div class="method">
|
611
383
|
<div class="title">
|
612
|
-
<a name="
|
384
|
+
<a name="M000141"></a><b>index</b>(obj=nil) {|self[i]| ...}
|
613
385
|
</div>
|
614
386
|
<div class="description">
|
615
387
|
<p>
|
616
|
-
|
388
|
+
Allows <a href="Array.html#M000141">index</a> to accept a block.
|
617
389
|
</p>
|
618
|
-
<pre>
|
619
|
-
a = [1,2,3,4]
|
620
|
-
a.delete_values_at(1,2) #=> [2,3]
|
621
|
-
a #=> [1,4]
|
622
|
-
a = [1,2,3,4]
|
623
|
-
a.delete_values_at(0..2) #=> [1,2,3]
|
624
|
-
a #=> [4]
|
625
|
-
</pre>
|
626
390
|
<p>
|
627
|
-
|
628
|
-
</p>
|
629
|
-
<pre>
|
630
|
-
CREDIT: Trans
|
631
|
-
</pre>
|
632
|
-
</div>
|
633
|
-
<div class="sourcecode">
|
634
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000250_source')" id="l_M000250_source">show source</a> ]</p>
|
635
|
-
<div id="M000250_source" class="dyn-source">
|
636
|
-
<pre>
|
637
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/delete.rb, line 43</span>
|
638
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">selectors</span>)
|
639
|
-
<span class="ruby-identifier">idx</span> = []
|
640
|
-
<span class="ruby-identifier">selectors</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
641
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">i</span>
|
642
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Range</span>
|
643
|
-
<span class="ruby-identifier">idx</span>.<span class="ruby-identifier">concat</span>( <span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_a</span> )
|
644
|
-
<span class="ruby-keyword kw">else</span>
|
645
|
-
<span class="ruby-identifier">idx</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_i</span>
|
646
|
-
<span class="ruby-keyword kw">end</span>
|
647
|
-
}
|
648
|
-
<span class="ruby-identifier">idx</span>.<span class="ruby-identifier">uniq!</span>
|
649
|
-
<span class="ruby-identifier">dvals</span> = <span class="ruby-identifier">values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">idx</span>)
|
650
|
-
<span class="ruby-identifier">idx</span> = (<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">size</span>).<span class="ruby-identifier">to_a</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">idx</span>
|
651
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">replace</span>( <span class="ruby-identifier">values_at</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">idx</span>) )
|
652
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">dvals</span>
|
653
|
-
<span class="ruby-keyword kw">end</span>
|
654
|
-
</pre>
|
655
|
-
</div>
|
656
|
-
</div>
|
657
|
-
</div>
|
658
|
-
<div class="method">
|
659
|
-
<div class="title">
|
660
|
-
<a name="M000263"></a><b>merge!</b>( other )
|
661
|
-
</div>
|
662
|
-
<div class="description">
|
663
|
-
<p>
|
664
|
-
In place merge.
|
391
|
+
OVERRIDE! This is one of the bery few core overrides in Facets.
|
665
392
|
</p>
|
666
|
-
<pre>
|
667
|
-
a = [1,2]
|
668
|
-
a.merge! [2,3]
|
669
|
-
a => [1,2,3]
|
670
|
-
|
671
|
-
CREDIT: Trans
|
672
|
-
</pre>
|
673
393
|
</div>
|
674
394
|
<div class="sourcecode">
|
675
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
676
|
-
<div id="
|
395
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000141_source')" id="l_M000141_source">show source</a> ]</p>
|
396
|
+
<div id="M000141_source" class="dyn-source">
|
677
397
|
<pre>
|
678
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/
|
679
|
-
|
680
|
-
|
681
|
-
|
398
|
+
<span class="ruby-comment cmt"># File lib/core/facets/array/index.rb, line 14</span>
|
399
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index</span>(<span class="ruby-identifier">obj</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
400
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">facets_override_of_index</span>(<span class="ruby-identifier">obj</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block_given?</span>
|
401
|
+
<span class="ruby-identifier">i</span>=<span class="ruby-value">0</span>; <span class="ruby-identifier">i</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span> <span class="ruby-keyword kw">until</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">i</span>])
|
402
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">i</span>
|
403
|
+
<span class="ruby-keyword kw">end</span>
|
682
404
|
</pre>
|
683
405
|
</div>
|
684
406
|
</div>
|
685
407
|
</div>
|
686
408
|
<div class="method">
|
687
409
|
<div class="title">
|
688
|
-
<a name="
|
410
|
+
<a name="M000136"></a><b>merge!</b>( other )
|
689
411
|
</div>
|
690
412
|
<div class="description">
|
691
413
|
<p>
|
@@ -700,8 +422,8 @@ In place merge.
|
|
700
422
|
</pre>
|
701
423
|
</div>
|
702
424
|
<div class="sourcecode">
|
703
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
704
|
-
<div id="
|
425
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show source</a> ]</p>
|
426
|
+
<div id="M000136_source" class="dyn-source">
|
705
427
|
<pre>
|
706
428
|
<span class="ruby-comment cmt"># File lib/core/facets/array/merge.rb, line 11</span>
|
707
429
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge!</span>( <span class="ruby-identifier">other</span> )
|
@@ -713,32 +435,7 @@ In place merge.
|
|
713
435
|
</div>
|
714
436
|
<div class="method">
|
715
437
|
<div class="title">
|
716
|
-
<a name="
|
717
|
-
</div>
|
718
|
-
<div class="description">
|
719
|
-
<p>
|
720
|
-
Not empty?
|
721
|
-
</p>
|
722
|
-
<pre>
|
723
|
-
[].not_empty? #=> false
|
724
|
-
[1,2].not_empty? #=> true
|
725
|
-
</pre>
|
726
|
-
</div>
|
727
|
-
<div class="sourcecode">
|
728
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000238_source')" id="l_M000238_source">show source</a> ]</p>
|
729
|
-
<div id="M000238_source" class="dyn-source">
|
730
|
-
<pre>
|
731
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/not_empty.rb, line 8</span>
|
732
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">not_empty?</span>
|
733
|
-
<span class="ruby-operator">!</span><span class="ruby-identifier">empty?</span>
|
734
|
-
<span class="ruby-keyword kw">end</span>
|
735
|
-
</pre>
|
736
|
-
</div>
|
737
|
-
</div>
|
738
|
-
</div>
|
739
|
-
<div class="method">
|
740
|
-
<div class="title">
|
741
|
-
<a name="M000259"></a><b>not_empty?</b>()
|
438
|
+
<a name="M000132"></a><b>not_empty?</b>()
|
742
439
|
</div>
|
743
440
|
<div class="description">
|
744
441
|
<p>
|
@@ -750,8 +447,8 @@ Not empty?
|
|
750
447
|
</pre>
|
751
448
|
</div>
|
752
449
|
<div class="sourcecode">
|
753
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
754
|
-
<div id="
|
450
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000132_source')" id="l_M000132_source">show source</a> ]</p>
|
451
|
+
<div id="M000132_source" class="dyn-source">
|
755
452
|
<pre>
|
756
453
|
<span class="ruby-comment cmt"># File lib/core/facets/array/not_empty.rb, line 8</span>
|
757
454
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">not_empty?</span>
|
@@ -763,44 +460,11 @@ Not empty?
|
|
763
460
|
</div>
|
764
461
|
<div class="method">
|
765
462
|
<div class="title">
|
766
|
-
<a name="
|
767
|
-
</div>
|
768
|
-
<div class="description">
|
769
|
-
<p>
|
770
|
-
Returns the <em><a href="Array.html#M000247">only</a></em> element in the
|
771
|
-
array. Raises an IndexError if the array‘s size is not 1.
|
772
|
-
</p>
|
773
|
-
<pre>
|
774
|
-
[5].only # -> 5
|
775
|
-
[1,2,3].only # -> IndexError
|
776
|
-
[].only # -> IndexError
|
777
|
-
|
778
|
-
CREDIT: Gavin Sinclair
|
779
|
-
CREDIT: Noah Gibbs
|
780
|
-
</pre>
|
781
|
-
</div>
|
782
|
-
<div class="sourcecode">
|
783
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000268_source')" id="l_M000268_source">show source</a> ]</p>
|
784
|
-
<div id="M000268_source" class="dyn-source">
|
785
|
-
<pre>
|
786
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/only.rb, line 13</span>
|
787
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">only</span>
|
788
|
-
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
789
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">IndexError</span>, <span class="ruby-value str">"Array#only called on non-single-element array"</span>
|
790
|
-
<span class="ruby-keyword kw">end</span>
|
791
|
-
<span class="ruby-identifier">first</span>
|
792
|
-
<span class="ruby-keyword kw">end</span>
|
793
|
-
</pre>
|
794
|
-
</div>
|
795
|
-
</div>
|
796
|
-
</div>
|
797
|
-
<div class="method">
|
798
|
-
<div class="title">
|
799
|
-
<a name="M000247"></a><b>only</b>()
|
463
|
+
<a name="M000142"></a><b>only</b>()
|
800
464
|
</div>
|
801
465
|
<div class="description">
|
802
466
|
<p>
|
803
|
-
Returns the <em><a href="Array.html#
|
467
|
+
Returns the <em><a href="Array.html#M000142">only</a></em> element in the
|
804
468
|
array. Raises an IndexError if the array‘s size is not 1.
|
805
469
|
</p>
|
806
470
|
<pre>
|
@@ -813,8 +477,8 @@ array. Raises an IndexError if the array‘s size is not 1.
|
|
813
477
|
</pre>
|
814
478
|
</div>
|
815
479
|
<div class="sourcecode">
|
816
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
817
|
-
<div id="
|
480
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000142_source')" id="l_M000142_source">show source</a> ]</p>
|
481
|
+
<div id="M000142_source" class="dyn-source">
|
818
482
|
<pre>
|
819
483
|
<span class="ruby-comment cmt"># File lib/core/facets/array/only.rb, line 13</span>
|
820
484
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">only</span>
|
@@ -829,7 +493,7 @@ array. Raises an IndexError if the array‘s size is not 1.
|
|
829
493
|
</div>
|
830
494
|
<div class="method">
|
831
495
|
<div class="title">
|
832
|
-
<a name="
|
496
|
+
<a name="M000148"></a><b>pad</b>(len, val=nil)
|
833
497
|
</div>
|
834
498
|
<div class="description">
|
835
499
|
<p>
|
@@ -849,8 +513,8 @@ beginning of the array.
|
|
849
513
|
</pre>
|
850
514
|
</div>
|
851
515
|
<div class="sourcecode">
|
852
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
853
|
-
<div id="
|
516
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000148_source')" id="l_M000148_source">show source</a> ]</p>
|
517
|
+
<div id="M000148_source" class="dyn-source">
|
854
518
|
<pre>
|
855
519
|
<span class="ruby-comment cmt"># File lib/core/facets/array/pad.rb, line 14</span>
|
856
520
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad</span>(<span class="ruby-identifier">len</span>, <span class="ruby-identifier">val</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -867,82 +531,11 @@ beginning of the array.
|
|
867
531
|
</div>
|
868
532
|
<div class="method">
|
869
533
|
<div class="title">
|
870
|
-
<a name="
|
534
|
+
<a name="M000149"></a><b>pad!</b>(len, val=nil)
|
871
535
|
</div>
|
872
536
|
<div class="description">
|
873
537
|
<p>
|
874
|
-
|
875
|
-
</p>
|
876
|
-
<pre>
|
877
|
-
[0,1,2].pad(6,"a") #=> [0,1,2,"a","a","a"]
|
878
|
-
</pre>
|
879
|
-
<p>
|
880
|
-
If <tt>length</tt> is a negative number padding will be added to the
|
881
|
-
beginning of the array.
|
882
|
-
</p>
|
883
|
-
<pre>
|
884
|
-
[0,1,2].pad(-6,"a") #=> ["a","a","a",0,1,2]
|
885
|
-
|
886
|
-
CREDIT: Richard Laugesen
|
887
|
-
</pre>
|
888
|
-
</div>
|
889
|
-
<div class="sourcecode">
|
890
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000253_source')" id="l_M000253_source">show source</a> ]</p>
|
891
|
-
<div id="M000253_source" class="dyn-source">
|
892
|
-
<pre>
|
893
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/pad.rb, line 14</span>
|
894
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad</span>(<span class="ruby-identifier">len</span>, <span class="ruby-identifier">val</span>=<span class="ruby-keyword kw">nil</span>)
|
895
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">dup</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">>=</span> <span class="ruby-identifier">len</span>.<span class="ruby-identifier">abs</span>
|
896
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">len</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
897
|
-
<span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>((<span class="ruby-identifier">len</span><span class="ruby-operator">+</span><span class="ruby-identifier">size</span>).<span class="ruby-identifier">abs</span>,<span class="ruby-identifier">val</span>) <span class="ruby-operator">+</span> <span class="ruby-keyword kw">self</span>
|
898
|
-
<span class="ruby-keyword kw">else</span>
|
899
|
-
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">+</span> <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">len</span><span class="ruby-operator">-</span><span class="ruby-identifier">size</span>,<span class="ruby-identifier">val</span>)
|
900
|
-
<span class="ruby-keyword kw">end</span>
|
901
|
-
<span class="ruby-keyword kw">end</span>
|
902
|
-
</pre>
|
903
|
-
</div>
|
904
|
-
</div>
|
905
|
-
</div>
|
906
|
-
<div class="method">
|
907
|
-
<div class="title">
|
908
|
-
<a name="M000275"></a><b>pad!</b>(len, val=nil)
|
909
|
-
</div>
|
910
|
-
<div class="description">
|
911
|
-
<p>
|
912
|
-
Like <a href="Array.html#M000253">pad</a> but changes the array in place.
|
913
|
-
</p>
|
914
|
-
<pre>
|
915
|
-
a = [0,1,2]
|
916
|
-
a.pad!(6,"x")
|
917
|
-
a #=> [0,1,2,"x","x","x"]
|
918
|
-
|
919
|
-
CREDIT: Richard Laugesen
|
920
|
-
</pre>
|
921
|
-
</div>
|
922
|
-
<div class="sourcecode">
|
923
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000275_source')" id="l_M000275_source">show source</a> ]</p>
|
924
|
-
<div id="M000275_source" class="dyn-source">
|
925
|
-
<pre>
|
926
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/pad.rb, line 31</span>
|
927
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad!</span>(<span class="ruby-identifier">len</span>, <span class="ruby-identifier">val</span>=<span class="ruby-keyword kw">nil</span>)
|
928
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">>=</span> <span class="ruby-identifier">len</span>.<span class="ruby-identifier">abs</span>
|
929
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">len</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
930
|
-
<span class="ruby-identifier">replace</span> <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>((<span class="ruby-identifier">len</span><span class="ruby-operator">+</span><span class="ruby-identifier">size</span>).<span class="ruby-identifier">abs</span>,<span class="ruby-identifier">val</span>) <span class="ruby-operator">+</span> <span class="ruby-keyword kw">self</span>
|
931
|
-
<span class="ruby-keyword kw">else</span>
|
932
|
-
<span class="ruby-identifier">concat</span> <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">len</span><span class="ruby-operator">-</span><span class="ruby-identifier">size</span>,<span class="ruby-identifier">val</span>)
|
933
|
-
<span class="ruby-keyword kw">end</span>
|
934
|
-
<span class="ruby-keyword kw">end</span>
|
935
|
-
</pre>
|
936
|
-
</div>
|
937
|
-
</div>
|
938
|
-
</div>
|
939
|
-
<div class="method">
|
940
|
-
<div class="title">
|
941
|
-
<a name="M000254"></a><b>pad!</b>(len, val=nil)
|
942
|
-
</div>
|
943
|
-
<div class="description">
|
944
|
-
<p>
|
945
|
-
Like <a href="Array.html#M000253">pad</a> but changes the array in place.
|
538
|
+
Like <a href="Array.html#M000148">pad</a> but changes the array in place.
|
946
539
|
</p>
|
947
540
|
<pre>
|
948
541
|
a = [0,1,2]
|
@@ -953,8 +546,8 @@ Like <a href="Array.html#M000253">pad</a> but changes the array in place.
|
|
953
546
|
</pre>
|
954
547
|
</div>
|
955
548
|
<div class="sourcecode">
|
956
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
957
|
-
<div id="
|
549
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000149_source')" id="l_M000149_source">show source</a> ]</p>
|
550
|
+
<div id="M000149_source" class="dyn-source">
|
958
551
|
<pre>
|
959
552
|
<span class="ruby-comment cmt"># File lib/core/facets/array/pad.rb, line 31</span>
|
960
553
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad!</span>(<span class="ruby-identifier">len</span>, <span class="ruby-identifier">val</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -962,59 +555,21 @@ Like <a href="Array.html#M000253">pad</a> but changes the array in place.
|
|
962
555
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">len</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
963
556
|
<span class="ruby-identifier">replace</span> <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>((<span class="ruby-identifier">len</span><span class="ruby-operator">+</span><span class="ruby-identifier">size</span>).<span class="ruby-identifier">abs</span>,<span class="ruby-identifier">val</span>) <span class="ruby-operator">+</span> <span class="ruby-keyword kw">self</span>
|
964
557
|
<span class="ruby-keyword kw">else</span>
|
965
|
-
<span class="ruby-identifier">concat</span> <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">len</span><span class="ruby-operator">-</span><span class="ruby-identifier">size</span>,<span class="ruby-identifier">val</span>)
|
966
|
-
<span class="ruby-keyword kw">end</span>
|
967
|
-
<span class="ruby-keyword kw">end</span>
|
968
|
-
</pre>
|
969
|
-
</div>
|
970
|
-
</div>
|
971
|
-
</div>
|
972
|
-
<div class="method">
|
973
|
-
<div class="title">
|
974
|
-
<a name="M000245"></a><b>permutation</b>(n=size) {|[]| ...}
|
975
|
-
</div>
|
976
|
-
<div class="description">
|
977
|
-
<p>
|
978
|
-
Permutation provids the possible orders of an enumerable. Each is indexed
|
979
|
-
by a <a href="Array.html#M000245">permutation</a> number. The maximum
|
980
|
-
number of arrangements is the factorial of the size of the array.
|
981
|
-
</p>
|
982
|
-
<pre>
|
983
|
-
CREDIT: Shin-ichiro Hara
|
984
|
-
</pre>
|
985
|
-
</div>
|
986
|
-
<div class="sourcecode">
|
987
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000245_source')" id="l_M000245_source">show source</a> ]</p>
|
988
|
-
<div id="M000245_source" class="dyn-source">
|
989
|
-
<pre>
|
990
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/permutation.rb, line 11</span>
|
991
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">permutation</span>(<span class="ruby-identifier">n</span>=<span class="ruby-identifier">size</span>)
|
992
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">size</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">n</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">n</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
993
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
|
994
|
-
<span class="ruby-keyword kw">yield</span>([])
|
995
|
-
<span class="ruby-keyword kw">else</span>
|
996
|
-
<span class="ruby-keyword kw">self</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">permutation</span>(<span class="ruby-identifier">n</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
|
997
|
-
(<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">n</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>
|
998
|
-
<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">x</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">i</span>] <span class="ruby-operator">+</span> [<span class="ruby-identifier">first</span>] <span class="ruby-operator">+</span> <span class="ruby-identifier">x</span>[<span class="ruby-identifier">i</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>])
|
999
|
-
<span class="ruby-keyword kw">end</span>
|
1000
|
-
<span class="ruby-keyword kw">end</span>
|
1001
|
-
<span class="ruby-keyword kw">self</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">permutation</span>(<span class="ruby-identifier">n</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
|
1002
|
-
<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">x</span>)
|
1003
|
-
<span class="ruby-keyword kw">end</span>
|
1004
|
-
<span class="ruby-keyword kw">end</span>
|
558
|
+
<span class="ruby-identifier">concat</span> <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">len</span><span class="ruby-operator">-</span><span class="ruby-identifier">size</span>,<span class="ruby-identifier">val</span>)
|
1005
559
|
<span class="ruby-keyword kw">end</span>
|
560
|
+
<span class="ruby-keyword kw">end</span>
|
1006
561
|
</pre>
|
1007
562
|
</div>
|
1008
563
|
</div>
|
1009
564
|
</div>
|
1010
565
|
<div class="method">
|
1011
566
|
<div class="title">
|
1012
|
-
<a name="
|
567
|
+
<a name="M000139"></a><b>permutation</b>(n=size) {|[]| ...}
|
1013
568
|
</div>
|
1014
569
|
<div class="description">
|
1015
570
|
<p>
|
1016
571
|
Permutation provids the possible orders of an enumerable. Each is indexed
|
1017
|
-
by a <a href="Array.html#
|
572
|
+
by a <a href="Array.html#M000139">permutation</a> number. The maximum
|
1018
573
|
number of arrangements is the factorial of the size of the array.
|
1019
574
|
</p>
|
1020
575
|
<pre>
|
@@ -1022,8 +577,8 @@ number of arrangements is the factorial of the size of the array.
|
|
1022
577
|
</pre>
|
1023
578
|
</div>
|
1024
579
|
<div class="sourcecode">
|
1025
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1026
|
-
<div id="
|
580
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">show source</a> ]</p>
|
581
|
+
<div id="M000139_source" class="dyn-source">
|
1027
582
|
<pre>
|
1028
583
|
<span class="ruby-comment cmt"># File lib/core/facets/array/permutation.rb, line 11</span>
|
1029
584
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">permutation</span>(<span class="ruby-identifier">n</span>=<span class="ruby-identifier">size</span>)
|
@@ -1047,62 +602,11 @@ number of arrangements is the factorial of the size of the array.
|
|
1047
602
|
</div>
|
1048
603
|
<div class="method">
|
1049
604
|
<div class="title">
|
1050
|
-
<a name="
|
1051
|
-
</div>
|
1052
|
-
<div class="description">
|
1053
|
-
<p>
|
1054
|
-
Provides the cross-<a href="Array.html#M000234">product</a> of two or more
|
1055
|
-
Enumerables. This is the class-level method. The instance method calls on
|
1056
|
-
this.
|
1057
|
-
</p>
|
1058
|
-
<pre>
|
1059
|
-
Enumerable.cartesian_product([1,2], [4], ["apple", "banana"])
|
1060
|
-
#=> [[1, 4, "apple"], [1, 4, "banana"], [2, 4, "apple"], [2, 4, "banana"]]
|
1061
|
-
|
1062
|
-
Enumerable.cartesian_product([1,2], [3,4])
|
1063
|
-
#=> [[1, 3], [1, 4], [2, 3], [2, 4]]
|
1064
|
-
|
1065
|
-
a = []
|
1066
|
-
[1,2].cart([4,5]){|elem| a << elem }
|
1067
|
-
a #=> [[1, 4],[1, 5],[2, 4],[2, 5]]
|
1068
|
-
|
1069
|
-
CREDIT: Thomas Hafner
|
1070
|
-
</pre>
|
1071
|
-
</div>
|
1072
|
-
<div class="sourcecode">
|
1073
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000255_source')" id="l_M000255_source">show source</a> ]</p>
|
1074
|
-
<div id="M000255_source" class="dyn-source">
|
1075
|
-
<pre>
|
1076
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/product.rb, line 21</span>
|
1077
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">product</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">enums</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1078
|
-
<span class="ruby-identifier">enums</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-keyword kw">self</span>
|
1079
|
-
<span class="ruby-identifier">result</span> = [[]]
|
1080
|
-
<span class="ruby-keyword kw">while</span> [] <span class="ruby-operator">!=</span> <span class="ruby-identifier">enums</span>
|
1081
|
-
<span class="ruby-identifier">t</span>, <span class="ruby-identifier">result</span> = <span class="ruby-identifier">result</span>, []
|
1082
|
-
<span class="ruby-identifier">b</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">enums</span> = <span class="ruby-identifier">enums</span>
|
1083
|
-
<span class="ruby-identifier">t</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
|
1084
|
-
<span class="ruby-identifier">b</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span>
|
1085
|
-
<span class="ruby-identifier">result</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">a</span> <span class="ruby-operator">+</span> [<span class="ruby-identifier">n</span>]
|
1086
|
-
<span class="ruby-keyword kw">end</span>
|
1087
|
-
<span class="ruby-keyword kw">end</span>
|
1088
|
-
<span class="ruby-keyword kw">end</span>
|
1089
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
1090
|
-
<span class="ruby-identifier">result</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">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">e</span>) }
|
1091
|
-
<span class="ruby-keyword kw">else</span>
|
1092
|
-
<span class="ruby-identifier">result</span>
|
1093
|
-
<span class="ruby-keyword kw">end</span>
|
1094
|
-
<span class="ruby-keyword kw">end</span>
|
1095
|
-
</pre>
|
1096
|
-
</div>
|
1097
|
-
</div>
|
1098
|
-
</div>
|
1099
|
-
<div class="method">
|
1100
|
-
<div class="title">
|
1101
|
-
<a name="M000234"></a><b>product</b>(*enums, &block)
|
605
|
+
<a name="M000128"></a><b>product</b>(*enums, &block)
|
1102
606
|
</div>
|
1103
607
|
<div class="description">
|
1104
608
|
<p>
|
1105
|
-
Provides the cross-<a href="Array.html#
|
609
|
+
Provides the cross-<a href="Array.html#M000128">product</a> of two or more
|
1106
610
|
Enumerables. This is the class-level method. The instance method calls on
|
1107
611
|
this.
|
1108
612
|
</p>
|
@@ -1122,12 +626,11 @@ this.
|
|
1122
626
|
</div>
|
1123
627
|
<div class="aka">
|
1124
628
|
This method is also aliased as
|
1125
|
-
<a href="Array.html#
|
1126
|
-
<a href="Array.html#M000256">**</a>
|
629
|
+
<a href="Array.html#M000129">**</a>
|
1127
630
|
</div>
|
1128
631
|
<div class="sourcecode">
|
1129
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1130
|
-
<div id="
|
632
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000128_source')" id="l_M000128_source">show source</a> ]</p>
|
633
|
+
<div id="M000128_source" class="dyn-source">
|
1131
634
|
<pre>
|
1132
635
|
<span class="ruby-comment cmt"># File lib/core/facets/array/product.rb, line 21</span>
|
1133
636
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">product</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">enums</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1154,49 +657,11 @@ this.
|
|
1154
657
|
</div>
|
1155
658
|
<div class="method">
|
1156
659
|
<div class="title">
|
1157
|
-
<a name="
|
1158
|
-
</div>
|
1159
|
-
<div class="description">
|
1160
|
-
<p>
|
1161
|
-
Apply a block to hash, and <a href="Array.html#M000236">recursively</a>
|
1162
|
-
apply that block to each subhash.
|
1163
|
-
</p>
|
1164
|
-
<pre>
|
1165
|
-
arr = ["a", ["b", "c", nil], nil]
|
1166
|
-
arr.recursively{|a| a.compact! }
|
1167
|
-
=> ["a", ["b", "c"]]
|
1168
|
-
</pre>
|
1169
|
-
<p>
|
1170
|
-
TODO: Can this be generalized in Enumerbale?
|
1171
|
-
</p>
|
1172
|
-
</div>
|
1173
|
-
<div class="sourcecode">
|
1174
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000236_source')" id="l_M000236_source">show source</a> ]</p>
|
1175
|
-
<div id="M000236_source" class="dyn-source">
|
1176
|
-
<pre>
|
1177
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/recursively.rb, line 12</span>
|
1178
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1179
|
-
<span class="ruby-identifier">a</span> = <span class="ruby-identifier">inject</span>([]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">array</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
|
1180
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
|
1181
|
-
<span class="ruby-identifier">array</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1182
|
-
<span class="ruby-keyword kw">else</span>
|
1183
|
-
<span class="ruby-identifier">array</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">value</span>
|
1184
|
-
<span class="ruby-keyword kw">end</span>
|
1185
|
-
<span class="ruby-identifier">array</span>
|
1186
|
-
<span class="ruby-keyword kw">end</span>
|
1187
|
-
<span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">a</span>
|
1188
|
-
<span class="ruby-keyword kw">end</span>
|
1189
|
-
</pre>
|
1190
|
-
</div>
|
1191
|
-
</div>
|
1192
|
-
</div>
|
1193
|
-
<div class="method">
|
1194
|
-
<div class="title">
|
1195
|
-
<a name="M000257"></a><b>recursively</b>() {|a| ...}
|
660
|
+
<a name="M000130"></a><b>recursively</b>() {|a| ...}
|
1196
661
|
</div>
|
1197
662
|
<div class="description">
|
1198
663
|
<p>
|
1199
|
-
Apply a block to hash, and <a href="Array.html#
|
664
|
+
Apply a block to hash, and <a href="Array.html#M000130">recursively</a>
|
1200
665
|
apply that block to each subhash.
|
1201
666
|
</p>
|
1202
667
|
<pre>
|
@@ -1209,8 +674,8 @@ TODO: Can this be generalized in Enumerbale?
|
|
1209
674
|
</p>
|
1210
675
|
</div>
|
1211
676
|
<div class="sourcecode">
|
1212
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1213
|
-
<div id="
|
677
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">show source</a> ]</p>
|
678
|
+
<div id="M000130_source" class="dyn-source">
|
1214
679
|
<pre>
|
1215
680
|
<span class="ruby-comment cmt"># File lib/core/facets/array/recursively.rb, line 12</span>
|
1216
681
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1230,37 +695,16 @@ TODO: Can this be generalized in Enumerbale?
|
|
1230
695
|
</div>
|
1231
696
|
<div class="method">
|
1232
697
|
<div class="title">
|
1233
|
-
<a name="
|
1234
|
-
</div>
|
1235
|
-
<div class="description">
|
1236
|
-
<p>
|
1237
|
-
In place form of <a href="Array.html#M000236">recursively</a>.
|
1238
|
-
</p>
|
1239
|
-
</div>
|
1240
|
-
<div class="sourcecode">
|
1241
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000258_source')" id="l_M000258_source">show source</a> ]</p>
|
1242
|
-
<div id="M000258_source" class="dyn-source">
|
1243
|
-
<pre>
|
1244
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/recursively.rb, line 26</span>
|
1245
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursively!</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1246
|
-
<span class="ruby-identifier">replace</span>(<span class="ruby-identifier">recursively</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>))
|
1247
|
-
<span class="ruby-keyword kw">end</span>
|
1248
|
-
</pre>
|
1249
|
-
</div>
|
1250
|
-
</div>
|
1251
|
-
</div>
|
1252
|
-
<div class="method">
|
1253
|
-
<div class="title">
|
1254
|
-
<a name="M000237"></a><b>recursively!</b>(&block)
|
698
|
+
<a name="M000131"></a><b>recursively!</b>(&block)
|
1255
699
|
</div>
|
1256
700
|
<div class="description">
|
1257
701
|
<p>
|
1258
|
-
In place form of <a href="Array.html#
|
702
|
+
In place form of <a href="Array.html#M000130">recursively</a>.
|
1259
703
|
</p>
|
1260
704
|
</div>
|
1261
705
|
<div class="sourcecode">
|
1262
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1263
|
-
<div id="
|
706
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">show source</a> ]</p>
|
707
|
+
<div id="M000131_source" class="dyn-source">
|
1264
708
|
<pre>
|
1265
709
|
<span class="ruby-comment cmt"># File lib/core/facets/array/recursively.rb, line 26</span>
|
1266
710
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recursively!</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1272,43 +716,7 @@ In place form of <a href="Array.html#M000236">recursively</a>.
|
|
1272
716
|
</div>
|
1273
717
|
<div class="method">
|
1274
718
|
<div class="title">
|
1275
|
-
<a name="
|
1276
|
-
</div>
|
1277
|
-
<div class="description">
|
1278
|
-
<p>
|
1279
|
-
Rotates an array‘s elements from back to front n times.
|
1280
|
-
</p>
|
1281
|
-
<pre>
|
1282
|
-
[1,2,3].rotate #=> [3,1,2]
|
1283
|
-
[3,1,2].rotate #=> [2,3,1]
|
1284
|
-
[3,1,2].rotate #=> [1,2,3]
|
1285
|
-
[1,2,3].rotate(3) #=> [1,2,3]
|
1286
|
-
</pre>
|
1287
|
-
<p>
|
1288
|
-
A negative parameter reverses the order from front to back.
|
1289
|
-
</p>
|
1290
|
-
<pre>
|
1291
|
-
[1,2,3].rotate(-1) #=> [2,3,1]
|
1292
|
-
|
1293
|
-
CREDIT: Florian Gross
|
1294
|
-
CREDIT: Thomas Sawyer
|
1295
|
-
</pre>
|
1296
|
-
</div>
|
1297
|
-
<div class="sourcecode">
|
1298
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000239_source')" id="l_M000239_source">show source</a> ]</p>
|
1299
|
-
<div id="M000239_source" class="dyn-source">
|
1300
|
-
<pre>
|
1301
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/rotate.rb, line 17</span>
|
1302
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rotate</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">1</span>)
|
1303
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">rotate!</span>(<span class="ruby-identifier">n</span>)
|
1304
|
-
<span class="ruby-keyword kw">end</span>
|
1305
|
-
</pre>
|
1306
|
-
</div>
|
1307
|
-
</div>
|
1308
|
-
</div>
|
1309
|
-
<div class="method">
|
1310
|
-
<div class="title">
|
1311
|
-
<a name="M000260"></a><b>rotate</b>(n=1)
|
719
|
+
<a name="M000133"></a><b>rotate</b>(n=1)
|
1312
720
|
</div>
|
1313
721
|
<div class="description">
|
1314
722
|
<p>
|
@@ -1331,8 +739,8 @@ A negative parameter reverses the order from front to back.
|
|
1331
739
|
</pre>
|
1332
740
|
</div>
|
1333
741
|
<div class="sourcecode">
|
1334
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1335
|
-
<div id="
|
742
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">show source</a> ]</p>
|
743
|
+
<div id="M000133_source" class="dyn-source">
|
1336
744
|
<pre>
|
1337
745
|
<span class="ruby-comment cmt"># File lib/core/facets/array/rotate.rb, line 17</span>
|
1338
746
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rotate</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">1</span>)
|
@@ -1344,47 +752,11 @@ A negative parameter reverses the order from front to back.
|
|
1344
752
|
</div>
|
1345
753
|
<div class="method">
|
1346
754
|
<div class="title">
|
1347
|
-
<a name="
|
1348
|
-
</div>
|
1349
|
-
<div class="description">
|
1350
|
-
<p>
|
1351
|
-
Same as <a href="Array.html#M000239">rotate</a>, but acts in place.
|
1352
|
-
</p>
|
1353
|
-
<pre>
|
1354
|
-
a = [1,2,3]
|
1355
|
-
a.rotate!
|
1356
|
-
a #=> [3,1,2]
|
1357
|
-
|
1358
|
-
CREDIT: Florian Gross
|
1359
|
-
CREDIT: Thomas Sawyer
|
1360
|
-
</pre>
|
1361
|
-
</div>
|
1362
|
-
<div class="sourcecode">
|
1363
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000261_source')" id="l_M000261_source">show source</a> ]</p>
|
1364
|
-
<div id="M000261_source" class="dyn-source">
|
1365
|
-
<pre>
|
1366
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/rotate.rb, line 30</span>
|
1367
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rotate!</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">1</span>)
|
1368
|
-
<span class="ruby-identifier">n</span> = <span class="ruby-identifier">n</span>.<span class="ruby-identifier">to_int</span>
|
1369
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">n</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">or</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">empty?</span>)
|
1370
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
1371
|
-
<span class="ruby-identifier">n</span>.<span class="ruby-identifier">abs</span>.<span class="ruby-identifier">times</span>{ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">unshift</span>( <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">pop</span> ) }
|
1372
|
-
<span class="ruby-keyword kw">else</span>
|
1373
|
-
<span class="ruby-identifier">n</span>.<span class="ruby-identifier">abs</span>.<span class="ruby-identifier">times</span>{ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">push</span>( <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">shift</span> ) }
|
1374
|
-
<span class="ruby-keyword kw">end</span>
|
1375
|
-
<span class="ruby-keyword kw">self</span>
|
1376
|
-
<span class="ruby-keyword kw">end</span>
|
1377
|
-
</pre>
|
1378
|
-
</div>
|
1379
|
-
</div>
|
1380
|
-
</div>
|
1381
|
-
<div class="method">
|
1382
|
-
<div class="title">
|
1383
|
-
<a name="M000240"></a><b>rotate!</b>(n=1)
|
755
|
+
<a name="M000134"></a><b>rotate!</b>(n=1)
|
1384
756
|
</div>
|
1385
757
|
<div class="description">
|
1386
758
|
<p>
|
1387
|
-
Same as <a href="Array.html#
|
759
|
+
Same as <a href="Array.html#M000133">rotate</a>, but acts in place.
|
1388
760
|
</p>
|
1389
761
|
<pre>
|
1390
762
|
a = [1,2,3]
|
@@ -1396,8 +768,8 @@ Same as <a href="Array.html#M000239">rotate</a>, but acts in place.
|
|
1396
768
|
</pre>
|
1397
769
|
</div>
|
1398
770
|
<div class="sourcecode">
|
1399
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1400
|
-
<div id="
|
771
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">show source</a> ]</p>
|
772
|
+
<div id="M000134_source" class="dyn-source">
|
1401
773
|
<pre>
|
1402
774
|
<span class="ruby-comment cmt"># File lib/core/facets/array/rotate.rb, line 30</span>
|
1403
775
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rotate!</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">1</span>)
|
@@ -1416,35 +788,7 @@ Same as <a href="Array.html#M000239">rotate</a>, but acts in place.
|
|
1416
788
|
</div>
|
1417
789
|
<div class="method">
|
1418
790
|
<div class="title">
|
1419
|
-
<a name="
|
1420
|
-
</div>
|
1421
|
-
<div class="description">
|
1422
|
-
<p>
|
1423
|
-
As with select but modifies the <a href="Array.html">Array</a> in place.
|
1424
|
-
</p>
|
1425
|
-
<pre>
|
1426
|
-
a = [1,2,3,4,5,6,7,8,9,10]
|
1427
|
-
a.select!{ |e| e % 2 == 0 }
|
1428
|
-
a #=> [2,4,6,8,10]
|
1429
|
-
|
1430
|
-
CREDIT: Gavin Sinclair
|
1431
|
-
</pre>
|
1432
|
-
</div>
|
1433
|
-
<div class="sourcecode">
|
1434
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000246_source')" id="l_M000246_source">show source</a> ]</p>
|
1435
|
-
<div id="M000246_source" class="dyn-source">
|
1436
|
-
<pre>
|
1437
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/select.rb, line 11</span>
|
1438
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select!</span> <span class="ruby-comment cmt"># :yield:</span>
|
1439
|
-
<span class="ruby-identifier">reject!</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">not</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">e</span>) }
|
1440
|
-
<span class="ruby-keyword kw">end</span>
|
1441
|
-
</pre>
|
1442
|
-
</div>
|
1443
|
-
</div>
|
1444
|
-
</div>
|
1445
|
-
<div class="method">
|
1446
|
-
<div class="title">
|
1447
|
-
<a name="M000267"></a><b>select!</b>( {|| ...}
|
791
|
+
<a name="M000140"></a><b>select!</b>( {|| ...}
|
1448
792
|
</div>
|
1449
793
|
<div class="description">
|
1450
794
|
<p>
|
@@ -1459,8 +803,8 @@ As with select but modifies the <a href="Array.html">Array</a> in place.
|
|
1459
803
|
</pre>
|
1460
804
|
</div>
|
1461
805
|
<div class="sourcecode">
|
1462
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1463
|
-
<div id="
|
806
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">show source</a> ]</p>
|
807
|
+
<div id="M000140_source" class="dyn-source">
|
1464
808
|
<pre>
|
1465
809
|
<span class="ruby-comment cmt"># File lib/core/facets/array/select.rb, line 11</span>
|
1466
810
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select!</span> <span class="ruby-comment cmt"># :yield:</span>
|
@@ -1472,49 +816,11 @@ As with select but modifies the <a href="Array.html">Array</a> in place.
|
|
1472
816
|
</div>
|
1473
817
|
<div class="method">
|
1474
818
|
<div class="title">
|
1475
|
-
<a name="
|
1476
|
-
</div>
|
1477
|
-
<div class="description">
|
1478
|
-
<p>
|
1479
|
-
Splice acts a <a href="Array.html#M000251">combination</a> of slice! and
|
1480
|
-
store. If two arguments are given it calls store. If a single argument is
|
1481
|
-
give it calls slice!.
|
1482
|
-
</p>
|
1483
|
-
<pre>
|
1484
|
-
a = [1,2,3]
|
1485
|
-
a.splice(1) #=> 2
|
1486
|
-
a #=> [1,3]
|
1487
|
-
|
1488
|
-
a = [1,2,3]
|
1489
|
-
a.splice(1,4) #=> 4
|
1490
|
-
a #=>[1,4,3]
|
1491
|
-
|
1492
|
-
CREDIT: Trans
|
1493
|
-
</pre>
|
1494
|
-
</div>
|
1495
|
-
<div class="sourcecode">
|
1496
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000273_source')" id="l_M000273_source">show source</a> ]</p>
|
1497
|
-
<div id="M000273_source" class="dyn-source">
|
1498
|
-
<pre>
|
1499
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/splice.rb, line 17</span>
|
1500
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">splice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
1501
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
1502
|
-
<span class="ruby-identifier">slice!</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
1503
|
-
<span class="ruby-keyword kw">else</span>
|
1504
|
-
<span class="ruby-identifier">store</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
1505
|
-
<span class="ruby-keyword kw">end</span>
|
1506
|
-
<span class="ruby-keyword kw">end</span>
|
1507
|
-
</pre>
|
1508
|
-
</div>
|
1509
|
-
</div>
|
1510
|
-
</div>
|
1511
|
-
<div class="method">
|
1512
|
-
<div class="title">
|
1513
|
-
<a name="M000252"></a><b>splice</b>(*args)
|
819
|
+
<a name="M000147"></a><b>splice</b>(*args)
|
1514
820
|
</div>
|
1515
821
|
<div class="description">
|
1516
822
|
<p>
|
1517
|
-
Splice acts a <a href="Array.html#
|
823
|
+
Splice acts a <a href="Array.html#M000146">combination</a> of slice! and
|
1518
824
|
store. If two arguments are given it calls store. If a single argument is
|
1519
825
|
give it calls slice!.
|
1520
826
|
</p>
|
@@ -1531,8 +837,8 @@ give it calls slice!.
|
|
1531
837
|
</pre>
|
1532
838
|
</div>
|
1533
839
|
<div class="sourcecode">
|
1534
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1535
|
-
<div id="
|
840
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000147_source')" id="l_M000147_source">show source</a> ]</p>
|
841
|
+
<div id="M000147_source" class="dyn-source">
|
1536
842
|
<pre>
|
1537
843
|
<span class="ruby-comment cmt"># File lib/core/facets/array/splice.rb, line 17</span>
|
1538
844
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">splice</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
@@ -1548,7 +854,7 @@ give it calls slice!.
|
|
1548
854
|
</div>
|
1549
855
|
<div class="method">
|
1550
856
|
<div class="title">
|
1551
|
-
<a name="
|
857
|
+
<a name="M000127"></a><b>to_b</b>()
|
1552
858
|
</div>
|
1553
859
|
<div class="description">
|
1554
860
|
<p>
|
@@ -1556,8 +862,8 @@ Boolean conversion for not empty?
|
|
1556
862
|
</p>
|
1557
863
|
</div>
|
1558
864
|
<div class="sourcecode">
|
1559
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1560
|
-
<div id="
|
865
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">show source</a> ]</p>
|
866
|
+
<div id="M000127_source" class="dyn-source">
|
1561
867
|
<pre>
|
1562
868
|
<span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 60</span>
|
1563
869
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_b</span>
|
@@ -1569,7 +875,7 @@ Boolean conversion for not empty?
|
|
1569
875
|
</div>
|
1570
876
|
<div class="method">
|
1571
877
|
<div class="title">
|
1572
|
-
<a name="
|
878
|
+
<a name="M000126"></a><b>to_h</b>(arrayed=nil)
|
1573
879
|
</div>
|
1574
880
|
<div class="description">
|
1575
881
|
<p>
|
@@ -1597,8 +903,8 @@ functionality is as simple as:
|
|
1597
903
|
</pre>
|
1598
904
|
</div>
|
1599
905
|
<div class="sourcecode">
|
1600
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1601
|
-
<div id="
|
906
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000126_source')" id="l_M000126_source">show source</a> ]</p>
|
907
|
+
<div id="M000126_source" class="dyn-source">
|
1602
908
|
<pre>
|
1603
909
|
<span class="ruby-comment cmt"># File lib/core/facets/to_hash.rb, line 20</span>
|
1604
910
|
<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>)
|
@@ -1622,11 +928,11 @@ functionality is as simple as:
|
|
1622
928
|
</div>
|
1623
929
|
<div class="method">
|
1624
930
|
<div class="title">
|
1625
|
-
<a name="
|
931
|
+
<a name="M000137"></a><b>traverse</b>() {|item| ...}
|
1626
932
|
</div>
|
1627
933
|
<div class="sourcecode">
|
1628
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1629
|
-
<div id="
|
934
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show source</a> ]</p>
|
935
|
+
<div id="M000137_source" class="dyn-source">
|
1630
936
|
<pre>
|
1631
937
|
<span class="ruby-comment cmt"># File lib/core/facets/array/traverse.rb, line 5</span>
|
1632
938
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1644,49 +950,11 @@ functionality is as simple as:
|
|
1644
950
|
</div>
|
1645
951
|
<div class="method">
|
1646
952
|
<div class="title">
|
1647
|
-
<a name="
|
1648
|
-
</div>
|
1649
|
-
<div class="sourcecode">
|
1650
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000243_source')" id="l_M000243_source">show source</a> ]</p>
|
1651
|
-
<div id="M000243_source" class="dyn-source">
|
1652
|
-
<pre>
|
1653
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/traverse.rb, line 5</span>
|
1654
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1655
|
-
<span class="ruby-identifier">map</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span>
|
1656
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">item</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>)
|
1657
|
-
<span class="ruby-identifier">item</span>.<span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1658
|
-
<span class="ruby-keyword kw">else</span>
|
1659
|
-
<span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">item</span>
|
1660
|
-
<span class="ruby-keyword kw">end</span>
|
1661
|
-
<span class="ruby-keyword kw">end</span>
|
1662
|
-
<span class="ruby-keyword kw">end</span>
|
1663
|
-
</pre>
|
1664
|
-
</div>
|
1665
|
-
</div>
|
1666
|
-
</div>
|
1667
|
-
<div class="method">
|
1668
|
-
<div class="title">
|
1669
|
-
<a name="M000244"></a><b>traverse!</b>(&block)
|
1670
|
-
</div>
|
1671
|
-
<div class="sourcecode">
|
1672
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000244_source')" id="l_M000244_source">show source</a> ]</p>
|
1673
|
-
<div id="M000244_source" class="dyn-source">
|
1674
|
-
<pre>
|
1675
|
-
<span class="ruby-comment cmt"># File lib/core/facets/array/traverse.rb, line 17</span>
|
1676
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse!</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1677
|
-
<span class="ruby-identifier">replace</span>(<span class="ruby-identifier">traverse</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>))
|
1678
|
-
<span class="ruby-keyword kw">end</span>
|
1679
|
-
</pre>
|
1680
|
-
</div>
|
1681
|
-
</div>
|
1682
|
-
</div>
|
1683
|
-
<div class="method">
|
1684
|
-
<div class="title">
|
1685
|
-
<a name="M000265"></a><b>traverse!</b>(&block)
|
953
|
+
<a name="M000138"></a><b>traverse!</b>(&block)
|
1686
954
|
</div>
|
1687
955
|
<div class="sourcecode">
|
1688
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1689
|
-
<div id="
|
956
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show source</a> ]</p>
|
957
|
+
<div id="M000138_source" class="dyn-source">
|
1690
958
|
<pre>
|
1691
959
|
<span class="ruby-comment cmt"># File lib/core/facets/array/traverse.rb, line 17</span>
|
1692
960
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">traverse!</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|