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/lib/core/facets/time/set.rb
CHANGED
@@ -1 +1,21 @@
|
|
1
|
-
|
1
|
+
class Time
|
2
|
+
|
3
|
+
# Like change but does not reset earlier times.
|
4
|
+
#
|
5
|
+
# NOTE: It would be better, probably if this were called "change".
|
6
|
+
# and that #change were called "reset".
|
7
|
+
#
|
8
|
+
def set(options)
|
9
|
+
opts={}; options.each_pair{ |k,v| opts[k] = v.to_i }
|
10
|
+
self.class.send( self.utc? ? :utc : :local,
|
11
|
+
opts[:year] || self.year,
|
12
|
+
opts[:month] || self.month,
|
13
|
+
opts[:day] || self.day,
|
14
|
+
opts[:hour] || self.hour,
|
15
|
+
opts[:min] || self.min,
|
16
|
+
opts[:sec] || self.sec,
|
17
|
+
opts[:usec] || self.usec
|
18
|
+
)
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
@@ -6,7 +6,9 @@ class Time
|
|
6
6
|
:dbase => "%Y-%m-%d %H:%M:%S",
|
7
7
|
:datbase => "%Y-%m-%d %H:%M:%S",
|
8
8
|
:utc => "%Y-%m-%d %H:%M:%S",
|
9
|
+
:number => "%Y%m%d%H%M%S",
|
9
10
|
:short => "%d %b %H:%M",
|
11
|
+
:time => "%H:%M",
|
10
12
|
:long => "%B %d, %Y %H:%M",
|
11
13
|
:day1st => "%d-%m-%Y %H:%M",
|
12
14
|
:dmYHM => "%d-%m-%Y %H:%M",
|
@@ -38,9 +40,5 @@ class Time
|
|
38
40
|
strftime(fmt).strip
|
39
41
|
end
|
40
42
|
|
41
|
-
# DEPRECATED.
|
42
|
-
# Enhance #to_s by aliasing to #stamp.
|
43
|
-
#alias_method :to_s, :stamp
|
44
|
-
|
45
43
|
end
|
46
44
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
class Time
|
2
2
|
|
3
|
-
|
3
|
+
unless defined? to_time #1.9
|
4
4
|
|
5
5
|
# To be able to keep Dates and Times interchangeable
|
6
6
|
# on conversions.
|
@@ -9,6 +9,12 @@ unless (RUBY_VERSION[0,3] == '1.9')
|
|
9
9
|
getlocal
|
10
10
|
end
|
11
11
|
|
12
|
+
# A method to keep Time, Date and DateTime instances interchangeable on conversions.
|
13
|
+
# In this case, it simply returns +self+.
|
14
|
+
#def to_time
|
15
|
+
# self
|
16
|
+
#end
|
17
|
+
|
12
18
|
end
|
13
19
|
|
14
20
|
end
|
@@ -1,263 +1,14 @@
|
|
1
|
-
#
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# methods, except for <tt>respond_to?</tt>, any method starting in
|
5
|
-
# <tt>\_\_</tt> (two underscore, like <tt>\_\_id__</tt>) as well as
|
6
|
-
# any method starting with <tt>instance_</ttr>.
|
7
|
-
#
|
8
|
-
# BasicObject is useful as a base class when writing classes that
|
9
|
-
# depend upon <tt>method_missing</tt> (e.g. dynamic proxies).
|
10
|
-
#
|
11
|
-
# The patterns used to reserve methods are:
|
12
|
-
#
|
13
|
-
# /^__/, /^instance/, /^object/, /\?$/, /^\W$/,
|
14
|
-
# 'initialize', 'initialize_copy', 'inspect', 'dup', 'clone', 'null', 'as'
|
15
|
-
#
|
16
|
-
# By default these are the reserved methods:
|
17
|
-
#
|
18
|
-
# == __id__ __self__ __send__ as clone dup eql? equal? frozen?
|
19
|
-
# initialize inspect instance_eval instance_of? instance_variable_get
|
20
|
-
# instance_variable_set instance_variables is_a? kind_of? nil? null object_class
|
21
|
-
# respond_to? tainted?
|
22
|
-
#
|
23
|
-
# In practice only 'as', 'clone', 'dup' and 'null' have much chance of name clash.
|
24
|
-
# So be especially aware of these four. All the rest either begin with a '__',
|
25
|
-
# end in a '?' mark or start with the word 'instance' or 'object'.
|
26
|
-
#
|
27
|
-
# The special method #object_self allows access to the underlying object via a
|
28
|
-
# specialized Functor-style class access via as(Object). This binds the
|
29
|
-
# actual self to the subsequently called methods of Object instancea methods.
|
30
|
-
# So even though a method may no longer be defined for BasicObject it can still
|
31
|
-
# be called via this interface.
|
32
|
-
#
|
33
|
-
# class A < BasicObject
|
34
|
-
# end
|
35
|
-
#
|
36
|
-
# a.object_self.class #=> A
|
37
|
-
# a.class #=> NoMethodError
|
38
|
-
#
|
39
|
-
# Note that #object_self used to be called __self__. Also provided is #object_class.
|
40
|
-
#
|
41
|
-
# == Authors
|
42
|
-
#
|
43
|
-
# * Jim Weirich
|
44
|
-
# * Thomas Sawyer
|
45
|
-
#
|
46
|
-
# == History
|
47
|
-
#
|
48
|
-
# Thanks to Jim Weirich for BlankSlate Copyright (c) 2004 by Jim Weirich,
|
49
|
-
# on which BasicObject is based.
|
50
|
-
#
|
51
|
-
# == Todo
|
52
|
-
#
|
53
|
-
# * Might be nice it there were a factory method to alter which methods
|
54
|
-
# were excluded. But probably too dangerous.
|
55
|
-
#
|
56
|
-
# == Copying
|
57
|
-
#
|
58
|
-
# Copyright (c) 2005 Thomas Sawyer, Jim Weirich
|
59
|
-
#
|
60
|
-
# Ruby License
|
61
|
-
#
|
62
|
-
# This module is free software. You may use, modify, and/or redistribute this
|
63
|
-
# software under the same terms as Ruby.
|
64
|
-
#
|
65
|
-
# This program is distributed in the hope that it will be useful, but WITHOUT
|
66
|
-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
67
|
-
# FOR A PARTICULAR PURPOSE.
|
1
|
+
# Facets' old BasicObject has been replaced totally replaced by
|
2
|
+
# Jim Weirich's BlankSlate. Since Ruby 1.9 has a BasicObject class
|
3
|
+
# this will of course be deprecated when 1.9 goes mainstream.
|
68
4
|
|
69
|
-
|
70
|
-
require 'facets/kernel/as'
|
5
|
+
unless defined? ::BasicObject # just in case it already exists!
|
71
6
|
|
72
|
-
|
73
|
-
#
|
74
|
-
# BasicObject provides an abstract base class with no predefined
|
75
|
-
# methods, except for <tt>respond_to?</tt>, any method starting in
|
76
|
-
# <tt>\_\_</tt> (two underscore, like <tt>\_\_id__</tt>) as well as
|
77
|
-
# any method starting with <tt>instance_</ttr>.
|
78
|
-
#
|
79
|
-
# BasicObject is useful as a base class when writing classes that
|
80
|
-
# depend upon <tt>method_missing</tt> (e.g. dynamic proxies).
|
81
|
-
#
|
82
|
-
# The patterns used to reserve methods are:
|
83
|
-
#
|
84
|
-
# /^__/, /^instance/, /^object/, /\?$/, /^\W$/,
|
85
|
-
# 'initialize', 'initialize_copy', 'inspect', 'dup', 'clone', 'null', 'as'
|
86
|
-
#
|
87
|
-
# By default these are the reserved methods:
|
88
|
-
#
|
89
|
-
# == __id__ __self__ __send__ as clone dup eql? equal? frozen?
|
90
|
-
# initialize inspect instance_eval instance_of? instance_variable_get
|
91
|
-
# instance_variable_set instance_variables is_a? kind_of? nil? null object_class
|
92
|
-
# respond_to? tainted?
|
93
|
-
#
|
94
|
-
# In practice only 'as', 'clone', 'dup' and 'null' have much chance of name clash.
|
95
|
-
# So be especially aware of these four. All the rest either begin with a '__',
|
96
|
-
# end in a '?' mark or start with the word 'instance' or 'object'.
|
97
|
-
#
|
98
|
-
# The special method #object_self allows access to the underlying object via a
|
99
|
-
# specialized Functor-style class access via as(Object). This binds the
|
100
|
-
# actual self to the subsequently called methods of Object instancea methods.
|
101
|
-
# So even though a method may no longer be defined for BasicObject it can still
|
102
|
-
# be called via this interface.
|
103
|
-
#
|
104
|
-
# class A < BasicObject
|
105
|
-
# end
|
106
|
-
#
|
107
|
-
# a.object_self.class #=> A
|
108
|
-
# a.class #=> NoMethodError
|
109
|
-
#
|
110
|
-
# Note that #object_self used to be called __self__. Also provided is #object_class.
|
111
|
-
#
|
112
|
-
# Since Ruby is very dynamic, methods added to the ancestors of
|
113
|
-
# BasicObject <em>after BasicObject is defined</em> will show up in the
|
114
|
-
# list of available BasicObject methods. We handle this by defining
|
115
|
-
# hooks in Object, Kernel and Module that will hide any defined.
|
7
|
+
require 'facets/blankslate'
|
116
8
|
|
117
|
-
|
9
|
+
# ActiveSupport compatiable version of BasicObject
|
10
|
+
# if not Ruby 1.9+ uses Jim Weirich's BlankSlate.
|
11
|
+
BasicObject = BlankSlate
|
118
12
|
|
119
|
-
# Returns the Self functor class, which can then be used to
|
120
|
-
# call Kernel/Object methods on the current object.
|
121
|
-
|
122
|
-
def object_self
|
123
|
-
@__object_self__ ||= As.new(self, ::Object)
|
124
|
-
end
|
125
|
-
alias :__self__ :object_self
|
126
|
-
|
127
|
-
#--
|
128
|
-
# The Self class allows one to get access the hidden Object/Kernel methods.
|
129
|
-
# It is essentially a specialized Functor which binds an Object/Kernel
|
130
|
-
# method to the current object for the current call.
|
131
|
-
|
132
|
-
#class Self < self
|
133
|
-
# def initialize(obj, as=nil)
|
134
|
-
# @obj = obj
|
135
|
-
# @as = as || ::Object
|
136
|
-
# end
|
137
|
-
# def method_missing(meth, *args, &blk)
|
138
|
-
# @as.instance_method(meth).bind(@obj).call(*args, &blk)
|
139
|
-
# end
|
140
|
-
#end
|
141
|
-
|
142
|
-
# This method is like #__self__, but allows any ancestor
|
143
|
-
# to act on behalf of self, not just Object.
|
144
|
-
#
|
145
|
-
#def __as__( ancestor )
|
146
|
-
# Self.new( self, ancestor )
|
147
|
-
#end
|
148
|
-
#alias_method :as, :__as__
|
149
|
-
|
150
|
-
# Shadow some other important methods.
|
151
|
-
|
152
|
-
#alias_method :__eval__, :eval
|
153
|
-
#alias_method :__method__, :method
|
154
|
-
#++
|
155
|
-
|
156
|
-
# Methods not to get rid of as they are either too important, or
|
157
|
-
# they are not likely to get in the way (such as methods ending in '?').
|
158
|
-
#
|
159
|
-
# In Ruby 1.9 BasicObject has only these methods:
|
160
|
-
# [ /^__/, "funcall", "send", "respond_to?", "equal?", "==", "object_id" ]
|
161
|
-
#
|
162
|
-
# NOTE The absolute bare minimum is EXCLUDE = /^(__|instance_eval$)/.
|
163
|
-
# But in most cases you'll want a few extra methods like #dup too.
|
164
|
-
#
|
165
|
-
#--
|
166
|
-
# TODO In the future it might be nice to allow some selectability
|
167
|
-
# in these via a factory method.
|
168
|
-
#++
|
169
|
-
|
170
|
-
EXCLUDE = [
|
171
|
-
/^__/, /^instance_/, /^object_/, /\?$/, /^\W$/,
|
172
|
-
'initialize', 'initialize_copy', 'inspect', 'dup', 'clone', 'null', 'as'
|
173
|
-
]
|
174
|
-
|
175
|
-
# Undef unwanted method as long as it doesn't match anything in the EXCLUDE list.
|
176
|
-
|
177
|
-
def self.hide(name)
|
178
|
-
#if instance_methods.include?(name.to_s) and name !~ EXCLUDE #/^(#{EXCLUDE.join('|')})/
|
179
|
-
#if name !~ EXCLUDE and
|
180
|
-
case name
|
181
|
-
when *EXCLUDE
|
182
|
-
# do nothing
|
183
|
-
else
|
184
|
-
#if ( public_instance_methods.include?(name.to_s) or
|
185
|
-
# private_instance_methods.include?(name.to_s) or
|
186
|
-
# protected_instance_methods.include?(name.to_s)
|
187
|
-
# )
|
188
|
-
undef_method name rescue nil
|
189
|
-
#end
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
|
-
# remove all methods
|
194
|
-
|
195
|
-
public_instance_methods(true).each { |m| hide(m) }
|
196
|
-
private_instance_methods(true).each { |m| hide(m) }
|
197
|
-
protected_instance_methods(true).each { |m| hide(m) }
|
198
|
-
|
199
|
-
#--
|
200
|
-
# If the method isn't defined and has the form '__method__'
|
201
|
-
# then try sending 'method' to self-as-Object. Remember
|
202
|
-
# this will not have any effect if you override it!
|
203
|
-
|
204
|
-
#def method_missing( sym, *args, &blk )
|
205
|
-
# if md = /^__(.+)__$/.match( sym.to_s )
|
206
|
-
# as(Object).__send__( md[1], *args, &blk )
|
207
|
-
# else
|
208
|
-
# super
|
209
|
-
# end
|
210
|
-
#end
|
211
|
-
#++
|
212
|
-
|
213
|
-
end
|
214
|
-
|
215
|
-
module Kernel #:nodoc:
|
216
|
-
class << self
|
217
|
-
madded = method(:method_added)
|
218
|
-
define_method(:method_added) do |name|
|
219
|
-
r = madded.call(name)
|
220
|
-
return r if self != Kernel
|
221
|
-
BasicObject.hide(name)
|
222
|
-
r
|
223
|
-
end
|
224
|
-
end
|
225
|
-
end
|
226
|
-
|
227
|
-
# See Kernel callback.
|
228
|
-
|
229
|
-
class Object #:nodoc:
|
230
|
-
class << self
|
231
|
-
madded = method(:method_added)
|
232
|
-
define_method(:method_added) do |name|
|
233
|
-
r = madded.call(name)
|
234
|
-
return r if self != Object
|
235
|
-
BasicObject.hide(name)
|
236
|
-
r
|
237
|
-
end
|
238
|
-
end
|
239
|
-
end
|
240
|
-
|
241
|
-
# Also, modules included into Object need to be scanned and have their
|
242
|
-
# instance methods removed from blank slate. In theory, modules
|
243
|
-
# included into Kernel would have to be removed as well, but a
|
244
|
-
# "feature" of Ruby prevents late includes into modules from being
|
245
|
-
# exposed in the first place.
|
246
|
-
=begin
|
247
|
-
class Module
|
248
|
-
if method_defined?(:append_features)
|
249
|
-
mappended = method(:append_features)
|
250
|
-
else
|
251
|
-
mappended = nil
|
252
|
-
end
|
253
|
-
define_method(:append_features) do |mod|
|
254
|
-
r = mappended.call(mod) if mappended
|
255
|
-
return r if mod != Object
|
256
|
-
public_instance_methods(true).each { |name| BasicObject.hide(name) }
|
257
|
-
private_instance_methods(true).each { |name| BasicObject.hide(name) }
|
258
|
-
public_instance_methods(true).each { |name| BasicObject.hide(name) }
|
259
|
-
r
|
260
|
-
end
|
261
13
|
end
|
262
|
-
=end
|
263
14
|
|
data/lib/lore/facets/cgi.rb
CHANGED
data/lib/lore/facets/date.rb
CHANGED
@@ -1,57 +1,85 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
#
|
5
|
-
# == Authors
|
6
|
-
#
|
7
|
-
# * Thomas Sawyer
|
8
|
-
#
|
9
|
-
# == Copying
|
10
|
-
#
|
11
|
-
# Copyright (c) 2004 Thomas Sawyer
|
1
|
+
require 'date'
|
2
|
+
require 'facets/time/stamp'
|
3
|
+
|
4
|
+
# = Date
|
12
5
|
#
|
13
|
-
#
|
6
|
+
# This new version of Date extension has been largely improved by
|
7
|
+
# porting some of the methods used by ActiveSupport. The old version
|
8
|
+
# already had much in common with the Active Support library, so it
|
9
|
+
# was decided to take it a step further in that direction for the
|
10
|
+
# sake of interoparability.
|
14
11
|
#
|
15
|
-
#
|
16
|
-
#
|
12
|
+
# Hopefully most of these methods will find there way into Ruby's
|
13
|
+
# own standard library eventually.
|
17
14
|
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
|
22
|
-
require 'date'
|
23
|
-
require 'parsedate' # needed for String#to_date
|
15
|
+
# The biggest difference with ActiveSupport is the lack of many
|
16
|
+
# of the "English-esque" methods, and that we use #stamp with
|
17
|
+
# Date::FORMAT, instead of #to_formmated_s with Date::DATE_FORMATS.
|
18
|
+
# We do not override the standard #to_s method like ActiveSupport does.
|
24
19
|
|
25
20
|
class Date
|
26
21
|
|
27
|
-
|
28
|
-
|
22
|
+
FORMAT = {
|
23
|
+
:short => "%e %b",
|
24
|
+
:long => "%B %e, %Y",
|
25
|
+
:db => "%Y-%m-%d",
|
26
|
+
:number => "%Y%m%d",
|
27
|
+
:rfc822 => "%e %b %Y",
|
28
|
+
:default => "%Y-%m-%d",
|
29
|
+
nil => "%Y-%m-%d"
|
30
|
+
}
|
31
|
+
|
32
|
+
# Returns a new Date representing the date 1 day ago (i.e. yesterday's date).
|
33
|
+
def self.yesterday
|
34
|
+
::Date.today.yesterday
|
35
|
+
end
|
36
|
+
|
37
|
+
# Returns a new Date representing the date 1 day after today (i.e. tomorrow's date).
|
38
|
+
def self.tomorrow
|
39
|
+
::Date.today.tomorrow
|
40
|
+
end
|
41
|
+
|
42
|
+
# Returns Time.zone.today when config.time_zone is set, otherwise just returns Date.today.
|
43
|
+
def self.current
|
44
|
+
::Time.zone_default ? ::Time.zone.today : ::Date.today
|
45
|
+
end
|
46
|
+
|
47
|
+
# A method to keep Time, Date and DateTime instances interchangeable
|
48
|
+
# on conversions. In this case, it simply returns +self+.
|
29
49
|
def to_date
|
30
50
|
self
|
31
|
-
end
|
51
|
+
end if RUBY_VERSION < '1.9'
|
32
52
|
|
33
|
-
#
|
53
|
+
# Converts a Date instance to a DateTime, where the time is set to the beginning of the day
|
54
|
+
# and UTC offset is set to 0.
|
34
55
|
#
|
35
|
-
|
56
|
+
# ==== Example:
|
57
|
+
# date = Date.new(2007, 11, 10) # => Sat, 10 Nov 2007
|
58
|
+
#
|
59
|
+
# date.to_datetime # => Sat, 10 Nov 2007 00:00:00 0000
|
60
|
+
def to_datetime
|
61
|
+
::DateTime.civil(year, month, day, 0, 0, 0, 0)
|
62
|
+
end if RUBY_VERSION < '1.9'
|
63
|
+
|
64
|
+
# Converts a Date instance to a Time, where the time is set to the beginning of the day.
|
65
|
+
# The timezone can be either :local or :utc (default :local).
|
66
|
+
#
|
67
|
+
# date = Date.new(2007, 11, 10) # => Sat, 10 Nov 2007
|
68
|
+
#
|
69
|
+
# date.to_time # => Sat Nov 10 00:00:00 0800 2007
|
70
|
+
# date.to_time(:local) # => Sat Nov 10 00:00:00 0800 2007
|
71
|
+
#
|
72
|
+
# date.to_time(:utc) # => Sat Nov 10 00:00:00 UTC 2007
|
73
|
+
#
|
74
|
+
def to_time(form=:local)
|
36
75
|
::Time.send(form, year, month, day)
|
76
|
+
#::Time.send("#{form}_time", year, month, day)
|
37
77
|
end
|
38
78
|
|
39
|
-
|
40
|
-
|
41
|
-
def stamp(format = nil)
|
42
|
-
case format
|
43
|
-
when :short
|
44
|
-
strftime("%e %b").strip
|
45
|
-
when :long
|
46
|
-
strftime("%B %e, %Y").strip
|
47
|
-
else
|
48
|
-
strftime("%Y-%m-%d") # standard to_s
|
49
|
-
end
|
79
|
+
def xmlschema
|
80
|
+
to_time.xmlschema
|
50
81
|
end
|
51
82
|
|
52
|
-
# Enhance #to_s by aliasing to #stamp.
|
53
|
-
alias_method( :to_s, :stamp )
|
54
|
-
|
55
83
|
# Returns the number of days in the date's month.
|
56
84
|
#
|
57
85
|
# Date.new(2004,2).days_in_month #=> 28
|
@@ -74,16 +102,294 @@ class Date
|
|
74
102
|
MONTHNAMES[self.month]
|
75
103
|
end
|
76
104
|
|
105
|
+
# Convert to a formatted string. See DATE_FORMATS for predefined formats.
|
106
|
+
#
|
107
|
+
# This method is aliased to <tt>to_s</tt>.
|
108
|
+
#
|
109
|
+
# ==== Examples:
|
110
|
+
# date = Date.new(2007, 11, 10) # => Sat, 10 Nov 2007
|
111
|
+
#
|
112
|
+
# date.stamp(:db) # => "2007-11-10"
|
113
|
+
# date.stamp(:short) # => "10 Nov"
|
114
|
+
# date.stamp(:long) # => "November 10, 2007"
|
115
|
+
# date.stamp(:rfc822) # => "10 Nov 2007"
|
116
|
+
#
|
117
|
+
# == Adding your own formats to stamp
|
118
|
+
# You can add your own formats to the Date::FORMAT hash.
|
119
|
+
# Use the format name as the hash key and a strftime string
|
120
|
+
# as the value. Eg.
|
121
|
+
#
|
122
|
+
# Date::FORMAT[:month_and_year] = "%B %Y"
|
123
|
+
#
|
124
|
+
def stamp(format=:default)
|
125
|
+
if formatter = FORMAT[format]
|
126
|
+
strftime(formatter)
|
127
|
+
else
|
128
|
+
to_s
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005"
|
133
|
+
#def inspect
|
134
|
+
# strftime("%a, %d %b %Y")
|
135
|
+
#end
|
136
|
+
|
137
|
+
# Provides precise Date calculations for years, months, and days. The +options+ parameter takes a hash with
|
138
|
+
# any of these keys: <tt>:years</tt>, <tt>:months</tt>, <tt>:weeks</tt>, <tt>:days</tt>.
|
139
|
+
def advance(options)
|
140
|
+
d = self
|
141
|
+
d = d >> options.delete(:years) * 12 if options[:years]
|
142
|
+
d = d >> options.delete(:months) if options[:months]
|
143
|
+
d = d + options.delete(:weeks) * 7 if options[:weeks]
|
144
|
+
d = d + options.delete(:days) if options[:days]
|
145
|
+
d
|
146
|
+
end
|
147
|
+
|
148
|
+
# Returns a new Date where one or more of the elements have been changed according to the +options+ parameter.
|
149
|
+
#
|
150
|
+
# Examples:
|
151
|
+
#
|
152
|
+
# Date.new(2007, 5, 12).change(:day => 1) # => Date.new(2007, 5, 1)
|
153
|
+
# Date.new(2007, 5, 12).change(:year => 2005, :month => 1) # => Date.new(2005, 1, 12)
|
154
|
+
def change(options)
|
155
|
+
::Date.new(
|
156
|
+
options[:year] || self.year,
|
157
|
+
options[:month] || self.month,
|
158
|
+
options[:day] || self.day
|
159
|
+
)
|
160
|
+
end
|
161
|
+
|
162
|
+
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)
|
163
|
+
# and then subtracts the specified number of seconds
|
164
|
+
def ago(seconds)
|
165
|
+
to_time.since(-seconds)
|
166
|
+
end
|
167
|
+
|
168
|
+
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)
|
169
|
+
# and then adds the specified number of seconds
|
170
|
+
def since(seconds)
|
171
|
+
to_time.since(seconds)
|
172
|
+
end
|
173
|
+
alias :in :since
|
174
|
+
|
175
|
+
# Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00)
|
176
|
+
def beginning_of_day
|
177
|
+
to_time
|
178
|
+
end
|
179
|
+
alias :midnight :beginning_of_day
|
180
|
+
|
181
|
+
# Convenience method which returns a new Date/DateTime representing the time 1 day ago
|
182
|
+
def yesterday
|
183
|
+
self - 1
|
184
|
+
end
|
185
|
+
|
186
|
+
# Convenience method which returns a new Date/DateTime representing the time 1 day since the instance time
|
187
|
+
def tomorrow
|
188
|
+
self + 1
|
189
|
+
end
|
190
|
+
|
77
191
|
end
|
78
192
|
|
79
|
-
class String
|
80
193
|
|
81
|
-
|
194
|
+
class DateTime
|
195
|
+
|
82
196
|
#
|
83
|
-
|
197
|
+
def self.local_offset
|
198
|
+
::Time.local(2007).utc_offset.to_r / 86400
|
199
|
+
end
|
84
200
|
|
201
|
+
# Converts self to a Ruby Date object; time portion is discarded
|
202
|
+
def to_date
|
203
|
+
::Date.new(year, month, day)
|
204
|
+
end
|
205
|
+
|
206
|
+
# Attempts to convert self to a Ruby Time object; returns self if
|
207
|
+
# out of range of Ruby Time class, If self has an offset other than 0,
|
208
|
+
# self will just be returned unaltered, since there's no clean way
|
209
|
+
# to map it to a Time
|
210
|
+
def to_time
|
211
|
+
self.offset == 0 ? ::Time.utc_time(year, month, day, hour, min, sec) : self
|
212
|
+
end
|
213
|
+
|
214
|
+
# To be able to keep Times, Dates and DateTimes interchangeable on conversions
|
215
|
+
def to_datetime
|
216
|
+
self
|
217
|
+
end
|
218
|
+
|
219
|
+
# Convert to a formatted string. See Time::FORMAT for predefined formats.
|
220
|
+
#
|
221
|
+
# This method is aliased to <tt>to_s</tt>.
|
222
|
+
#
|
223
|
+
# === Examples:
|
224
|
+
# datetime = DateTime.civil(2007, 12, 4, 0, 0, 0, 0) # => Tue, 04 Dec 2007 00:00:00 +0000
|
225
|
+
#
|
226
|
+
# datetime.stamp(:db) # => "2007-12-04 00:00:00"
|
227
|
+
# datetime.stamp(:db) # => "2007-12-04 00:00:00"
|
228
|
+
# datetime.stamp(:number) # => "20071204000000"
|
229
|
+
# datetime.stamp(:short) # => "04 Dec 00:00"
|
230
|
+
# datetime.stamp(:long) # => "December 04, 2007 00:00"
|
231
|
+
# datetime.stamp(:rfc822) # => "Tue, 04 Dec 2007 00:00:00 +0000"
|
232
|
+
#
|
233
|
+
# == Adding your own datetime formats to stamp
|
234
|
+
# DateTime formats are shared with Time. You can add your own to the
|
235
|
+
# Time::FORMAT hash. Use the format name as the hash key and
|
236
|
+
# a strftime string as the value. Eg.
|
237
|
+
#
|
238
|
+
# Time::FORMAT[:month_and_year] = "%B %Y"
|
239
|
+
#
|
240
|
+
def stamp(format=:default)
|
241
|
+
if formatter = ::Time::FORMAT[format]
|
242
|
+
strftime(formatter)
|
243
|
+
else
|
244
|
+
to_s
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
# Seconds since midnight: DateTime.now.seconds_since_midnight
|
249
|
+
def seconds_since_midnight
|
250
|
+
self.sec + (self.min * 60) + (self.hour * 3600)
|
251
|
+
end
|
252
|
+
|
253
|
+
# Returns a new DateTime where one or more of the elements have been
|
254
|
+
# changed according to the +options+ parameter. The time options
|
255
|
+
# (hour, minute, sec) reset cascadingly, so if only the hour is
|
256
|
+
# passed, then minute and sec is set to 0. If the hour and
|
257
|
+
# minute is passed, then sec is set to 0.
|
258
|
+
def change(options)
|
259
|
+
::DateTime.civil(
|
260
|
+
options[:year] || self.year,
|
261
|
+
options[:month] || self.month,
|
262
|
+
options[:day] || self.day,
|
263
|
+
options[:hour] || self.hour,
|
264
|
+
options[:min] || (options[:hour] ? 0 : self.min),
|
265
|
+
options[:sec] || ((options[:hour] || options[:min]) ? 0 : self.sec),
|
266
|
+
options[:offset] || self.offset,
|
267
|
+
options[:start] || self.start
|
268
|
+
)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Uses Date to provide precise Time calculations for years, months, and days.
|
272
|
+
# The +options+ parameter takes a hash with any of these keys: <tt>:years</tt>,
|
273
|
+
# <tt>:months</tt>, <tt>:weeks</tt>, <tt>:days</tt>, <tt>:hours</tt>,
|
274
|
+
# <tt>:minutes</tt>, <tt>:seconds</tt>.
|
275
|
+
def advance(options)
|
276
|
+
d = to_date.advance(options)
|
277
|
+
datetime_advanced_by_date = change(:year => d.year, :month => d.month, :day => d.day)
|
278
|
+
seconds_to_advance = (options[:seconds] || 0) + (options[:minutes] || 0) * 60 + (options[:hours] || 0) * 3600
|
279
|
+
seconds_to_advance == 0 ? datetime_advanced_by_date : datetime_advanced_by_date.since(seconds_to_advance)
|
280
|
+
end
|
281
|
+
|
282
|
+
# Returns a new DateTime representing the time a number of seconds ago
|
283
|
+
# Do not use this method in combination with x.months, use months_ago instead!
|
284
|
+
def ago(seconds)
|
285
|
+
self.since(-seconds)
|
286
|
+
end
|
287
|
+
|
288
|
+
# Returns a new DateTime representing the time a number of seconds since the instance time
|
289
|
+
# Do not use this method in combination with x.months, use months_since instead!
|
290
|
+
def since(seconds)
|
291
|
+
self + Rational(seconds.round, 86400)
|
292
|
+
end
|
293
|
+
alias :in :since
|
294
|
+
|
295
|
+
# Returns a new DateTime representing the start of the day (0:00)
|
296
|
+
def beginning_of_day
|
297
|
+
change(:hour => 0)
|
298
|
+
end
|
299
|
+
alias :midnight :beginning_of_day
|
300
|
+
|
301
|
+
# Returns a new DateTime representing the end of the day (23:59:59)
|
302
|
+
def end_of_day
|
303
|
+
change(:hour => 23, :min => 59, :sec => 59)
|
304
|
+
end
|
305
|
+
|
306
|
+
# Adjusts DateTime to UTC by adding its offset value; offset is set to 0
|
307
|
+
#
|
308
|
+
# Example:
|
309
|
+
#
|
310
|
+
# DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600
|
311
|
+
# DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 +0000
|
312
|
+
def utc
|
313
|
+
new_offset(0)
|
314
|
+
end
|
315
|
+
alias_method :getutc, :utc
|
316
|
+
|
317
|
+
# Returns true if offset == 0
|
318
|
+
def utc?
|
319
|
+
offset == 0
|
320
|
+
end
|
321
|
+
|
322
|
+
# Returns the offset value in seconds
|
323
|
+
def utc_offset
|
324
|
+
(offset * 86400).to_i
|
325
|
+
end
|
326
|
+
|
327
|
+
# Converts datetime to an appropriate format for use in XML
|
328
|
+
def xmlschema
|
329
|
+
strftime("%Y-%m-%dT%H:%M:%S%Z")
|
330
|
+
end if RUBY_VERSION < '1.9'
|
331
|
+
|
332
|
+
# Converts self to a floating-point number of seconds since the Unix epoch
|
333
|
+
def to_f
|
334
|
+
days_since_unix_epoch = self - ::DateTime.civil(1970)
|
335
|
+
(days_since_unix_epoch * 86_400).to_f
|
336
|
+
end
|
337
|
+
|
338
|
+
end
|
339
|
+
|
340
|
+
|
341
|
+
class Time
|
342
|
+
|
343
|
+
public :to_date
|
344
|
+
public :to_datetime
|
345
|
+
|
346
|
+
# Converts a Time object to a Date, dropping hour, minute, and second precision.
|
347
|
+
#
|
348
|
+
# my_time = Time.now # => Mon Nov 12 22:59:51 -0500 2007
|
349
|
+
# my_time.to_date # => Mon, 12 Nov 2007
|
350
|
+
#
|
351
|
+
# your_time = Time.parse("1/13/2009 1:13:03 P.M.") # => Tue Jan 13 13:13:03 -0500 2009
|
352
|
+
# your_time.to_date # => Tue, 13 Jan 2009
|
353
|
+
def to_date
|
354
|
+
::Date.new(year, month, day)
|
355
|
+
end
|
356
|
+
|
357
|
+
# # Convert a Time to a Date. Time is a superset of Date.
|
358
|
+
# # It is the year, month and day that are carried over.
|
359
|
+
#
|
360
|
+
# def to_date
|
361
|
+
# require 'date' # just in case
|
362
|
+
# jd = Date.__send__(:civil_to_jd, year, mon, mday, Date::ITALY)
|
363
|
+
# Date.new!(Date.__send__(:jd_to_ajd, jd, 0, 0), 0, Date::ITALY)
|
364
|
+
# end
|
365
|
+
|
366
|
+
|
367
|
+
# Converts a Time instance to a Ruby DateTime instance, preserving UTC offset.
|
368
|
+
#
|
369
|
+
# my_time = Time.now # => Mon Nov 12 23:04:21 -0500 2007
|
370
|
+
# my_time.to_datetime # => Mon, 12 Nov 2007 23:04:21 -0500
|
371
|
+
#
|
372
|
+
# your_time = Time.parse("1/13/2009 1:13:03 P.M.") # => Tue Jan 13 13:13:03 -0500 2009
|
373
|
+
# your_time.to_datetime # => Tue, 13 Jan 2009 13:13:03 -0500
|
374
|
+
def to_datetime
|
375
|
+
::DateTime.civil(year, month, day, hour, min, sec, Rational(utc_offset, 86400))
|
376
|
+
end
|
377
|
+
|
378
|
+
end
|
379
|
+
|
380
|
+
|
381
|
+
class String
|
382
|
+
|
383
|
+
# Convert string to DateTime.
|
384
|
+
def to_datetime
|
385
|
+
date = ::Date._parse(self, false).values_at(:year, :mon, :mday, :hour, :min, :sec).map { |arg| arg || 0 }
|
386
|
+
::DateTime.civil(*date)
|
387
|
+
end
|
388
|
+
|
389
|
+
# Parse data from string.
|
85
390
|
def to_date
|
86
|
-
|
391
|
+
#::Date::civil(*ParseDate.parsedate(self)[0..2])
|
392
|
+
::Date.new(*::Date._parse(self, false).values_at(:year, :mon, :mday))
|
87
393
|
end
|
88
394
|
|
89
395
|
end
|