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
@@ -86,7 +86,7 @@ look true to Ruby, even if the actual result object is nil or false.
|
|
86
86
|
</p>
|
87
87
|
<p>
|
88
88
|
If you want to test the result for truth, get the unwrapped result object
|
89
|
-
via <a href="../Kernel.html#
|
89
|
+
via <a href="../Kernel.html#M000337">Kernel.demand</a>.
|
90
90
|
</p>
|
91
91
|
</div>
|
92
92
|
|
@@ -58,8 +58,6 @@
|
|
58
58
|
<td>In:</td>
|
59
59
|
<td>
|
60
60
|
<a href="../files/lib/core/facets/matchdata/match_rb.html">lib/core/facets/matchdata/match.rb</a>
|
61
|
-
<a href="../files/lib/core/facets/matchdata/matchset_rb.html">lib/core/facets/matchdata/matchset.rb</a>
|
62
|
-
<a href="../files/lib/core/facets/matchdata/match_rb.html">lib/core/facets/matchdata/match.rb</a>
|
63
61
|
<a href="../files/lib/core/facets/matchdata/matchset_rb.html">lib/core/facets/matchdata/matchset.rb</a>
|
64
62
|
</td>
|
65
63
|
</tr>
|
@@ -85,12 +83,9 @@ Object
|
|
85
83
|
|
86
84
|
<div class="sectiontitle">Methods</div>
|
87
85
|
<ul>
|
88
|
-
<li><a href="#
|
89
|
-
<li><a href="#
|
90
|
-
<li><a href="#
|
91
|
-
<li><a href="#M000277">matchset</a></li>
|
92
|
-
<li><a href="#M000278">matchtree</a></li>
|
93
|
-
<li><a href="#M000281">matchtree</a></li>
|
86
|
+
<li><a href="#M000150">match</a></li>
|
87
|
+
<li><a href="#M000151">matchset</a></li>
|
88
|
+
<li><a href="#M000152">matchtree</a></li>
|
94
89
|
</ul>
|
95
90
|
|
96
91
|
|
@@ -101,39 +96,11 @@ Object
|
|
101
96
|
<div class="sectiontitle">Public Instance methods</div>
|
102
97
|
<div class="method">
|
103
98
|
<div class="title">
|
104
|
-
<a name="
|
105
|
-
</div>
|
106
|
-
<div class="description">
|
107
|
-
<p>
|
108
|
-
Return the primary <a href="MatchData.html#M000276">match</a> string. This
|
109
|
-
is equivalent to +md[0]+.
|
110
|
-
</p>
|
111
|
-
<pre>
|
112
|
-
md = /123/.match "123456"
|
113
|
-
md.match #=> "123"
|
114
|
-
|
115
|
-
CREDIT: Martin DeMello
|
116
|
-
</pre>
|
117
|
-
</div>
|
118
|
-
<div class="sourcecode">
|
119
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000276_source')" id="l_M000276_source">show source</a> ]</p>
|
120
|
-
<div id="M000276_source" class="dyn-source">
|
121
|
-
<pre>
|
122
|
-
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/match.rb, line 10</span>
|
123
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">match</span>(<span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>)
|
124
|
-
<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">index</span>]
|
125
|
-
<span class="ruby-keyword kw">end</span>
|
126
|
-
</pre>
|
127
|
-
</div>
|
128
|
-
</div>
|
129
|
-
</div>
|
130
|
-
<div class="method">
|
131
|
-
<div class="title">
|
132
|
-
<a name="M000279"></a><b>match</b>(index=0)
|
99
|
+
<a name="M000150"></a><b>match</b>(index=0)
|
133
100
|
</div>
|
134
101
|
<div class="description">
|
135
102
|
<p>
|
136
|
-
Return the primary <a href="MatchData.html#
|
103
|
+
Return the primary <a href="MatchData.html#M000150">match</a> string. This
|
137
104
|
is equivalent to +md[0]+.
|
138
105
|
</p>
|
139
106
|
<pre>
|
@@ -144,8 +111,8 @@ is equivalent to +md[0]+.
|
|
144
111
|
</pre>
|
145
112
|
</div>
|
146
113
|
<div class="sourcecode">
|
147
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
148
|
-
<div id="
|
114
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000150_source')" id="l_M000150_source">show source</a> ]</p>
|
115
|
+
<div id="M000150_source" class="dyn-source">
|
149
116
|
<pre>
|
150
117
|
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/match.rb, line 10</span>
|
151
118
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">match</span>(<span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>)
|
@@ -157,12 +124,12 @@ is equivalent to +md[0]+.
|
|
157
124
|
</div>
|
158
125
|
<div class="method">
|
159
126
|
<div class="title">
|
160
|
-
<a name="
|
127
|
+
<a name="M000151"></a><b>matchset</b>()
|
161
128
|
</div>
|
162
129
|
<div class="description">
|
163
130
|
<p>
|
164
|
-
Returns [ pre_match, <a href="MatchData.html#
|
165
|
-
post_match ]. (see <a href="MatchData.html#
|
131
|
+
Returns [ pre_match, <a href="MatchData.html#M000152">matchtree</a>,
|
132
|
+
post_match ]. (see <a href="MatchData.html#M000152">matchtree</a>)
|
166
133
|
</p>
|
167
134
|
<pre>
|
168
135
|
md = /(bb)(cc(dd))(ee)/.match "XXaabbccddeeffXX"
|
@@ -173,8 +140,8 @@ post_match ]. (see <a href="MatchData.html#M000278">matchtree</a>)
|
|
173
140
|
</pre>
|
174
141
|
</div>
|
175
142
|
<div class="sourcecode">
|
176
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
177
|
-
<div id="
|
143
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000151_source')" id="l_M000151_source">show source</a> ]</p>
|
144
|
+
<div id="M000151_source" class="dyn-source">
|
178
145
|
<pre>
|
179
146
|
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/matchset.rb, line 11</span>
|
180
147
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">matchset</span>
|
@@ -186,80 +153,7 @@ post_match ]. (see <a href="MatchData.html#M000278">matchtree</a>)
|
|
186
153
|
</div>
|
187
154
|
<div class="method">
|
188
155
|
<div class="title">
|
189
|
-
<a name="
|
190
|
-
</div>
|
191
|
-
<div class="description">
|
192
|
-
<p>
|
193
|
-
Returns [ pre_match, <a href="MatchData.html#M000278">matchtree</a>,
|
194
|
-
post_match ]. (see <a href="MatchData.html#M000278">matchtree</a>)
|
195
|
-
</p>
|
196
|
-
<pre>
|
197
|
-
md = /(bb)(cc(dd))(ee)/.match "XXaabbccddeeffXX"
|
198
|
-
md.to_a #=> ["XXaabbccddeeffXX", "bb", "ccdd", "dd", "ee"]
|
199
|
-
md.matchset #=> ["XXaa", [["bb"], ["cc", ["dd"]], "ee"], "ffXX"]
|
200
|
-
|
201
|
-
CREDIT: Trans
|
202
|
-
</pre>
|
203
|
-
</div>
|
204
|
-
<div class="sourcecode">
|
205
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000277_source')" id="l_M000277_source">show source</a> ]</p>
|
206
|
-
<div id="M000277_source" class="dyn-source">
|
207
|
-
<pre>
|
208
|
-
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/matchset.rb, line 11</span>
|
209
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">matchset</span>
|
210
|
-
[<span class="ruby-identifier">pre_match</span>, <span class="ruby-identifier">matchtree</span>, <span class="ruby-identifier">post_match</span>]
|
211
|
-
<span class="ruby-keyword kw">end</span>
|
212
|
-
</pre>
|
213
|
-
</div>
|
214
|
-
</div>
|
215
|
-
</div>
|
216
|
-
<div class="method">
|
217
|
-
<div class="title">
|
218
|
-
<a name="M000278"></a><b>matchtree</b>(index=0)
|
219
|
-
</div>
|
220
|
-
<div class="description">
|
221
|
-
<p>
|
222
|
-
An alternate to to_a which returns the matches in order corresponding with
|
223
|
-
the regular expression.
|
224
|
-
</p>
|
225
|
-
<pre>
|
226
|
-
md = /(bb)(cc(dd))(ee)/.match "XXaabbccddeeffXX"
|
227
|
-
md.to_a #=> ["XXaabbccddeeffXX", "bb", "ccdd", "dd", "ee"]
|
228
|
-
md.matchtree #=> [["bb"], ["cc", ["dd"]], "ee"]
|
229
|
-
|
230
|
-
CREDIT: Trans
|
231
|
-
</pre>
|
232
|
-
</div>
|
233
|
-
<div class="sourcecode">
|
234
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000278_source')" id="l_M000278_source">show source</a> ]</p>
|
235
|
-
<div id="M000278_source" class="dyn-source">
|
236
|
-
<pre>
|
237
|
-
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/matchset.rb, line 24</span>
|
238
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">matchtree</span>(<span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>)
|
239
|
-
<span class="ruby-identifier">ret</span>=[]
|
240
|
-
<span class="ruby-identifier">b</span>, <span class="ruby-identifier">e</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">begin</span>(<span class="ruby-identifier">index</span>), <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">end</span>(<span class="ruby-identifier">index</span>)
|
241
|
-
<span class="ruby-keyword kw">while</span> (<span class="ruby-identifier">index</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>)<span class="ruby-operator"><=</span><span class="ruby-identifier">length</span>
|
242
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">index</span><span class="ruby-operator">==</span><span class="ruby-identifier">length</span> <span class="ruby-operator">||</span> (<span class="ruby-identifier">bi</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">begin</span>(<span class="ruby-identifier">index</span>))<span class="ruby-operator">>=</span><span class="ruby-identifier">e</span>
|
243
|
-
<span class="ruby-comment cmt"># we are finished, if something is left, then add it</span>
|
244
|
-
<span class="ruby-identifier">ret</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">string</span>[<span class="ruby-identifier">b</span>, <span class="ruby-identifier">e</span><span class="ruby-operator">-</span><span class="ruby-identifier">b</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">e</span><span class="ruby-operator">></span><span class="ruby-identifier">b</span>
|
245
|
-
<span class="ruby-keyword kw">break</span>
|
246
|
-
<span class="ruby-keyword kw">else</span>
|
247
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">bi</span><span class="ruby-operator">>=</span><span class="ruby-identifier">b</span>
|
248
|
-
<span class="ruby-identifier">ret</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">string</span>[<span class="ruby-identifier">b</span>, <span class="ruby-identifier">bi</span><span class="ruby-operator">-</span><span class="ruby-identifier">b</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">bi</span><span class="ruby-operator">></span><span class="ruby-identifier">b</span>
|
249
|
-
<span class="ruby-identifier">ret</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">matchtree</span>(<span class="ruby-identifier">index</span>)
|
250
|
-
<span class="ruby-identifier">b</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">end</span>(<span class="ruby-identifier">index</span>)
|
251
|
-
<span class="ruby-keyword kw">end</span>
|
252
|
-
<span class="ruby-keyword kw">end</span>
|
253
|
-
<span class="ruby-keyword kw">end</span>
|
254
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">ret</span>
|
255
|
-
<span class="ruby-keyword kw">end</span>
|
256
|
-
</pre>
|
257
|
-
</div>
|
258
|
-
</div>
|
259
|
-
</div>
|
260
|
-
<div class="method">
|
261
|
-
<div class="title">
|
262
|
-
<a name="M000281"></a><b>matchtree</b>(index=0)
|
156
|
+
<a name="M000152"></a><b>matchtree</b>(index=0)
|
263
157
|
</div>
|
264
158
|
<div class="description">
|
265
159
|
<p>
|
@@ -275,8 +169,8 @@ the regular expression.
|
|
275
169
|
</pre>
|
276
170
|
</div>
|
277
171
|
<div class="sourcecode">
|
278
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
279
|
-
<div id="
|
172
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000152_source')" id="l_M000152_source">show source</a> ]</p>
|
173
|
+
<div id="M000152_source" class="dyn-source">
|
280
174
|
<pre>
|
281
175
|
<span class="ruby-comment cmt"># File lib/core/facets/matchdata/matchset.rb, line 24</span>
|
282
176
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">matchtree</span>(<span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>)
|
@@ -59,31 +59,7 @@
|
|
59
59
|
<td>
|
60
60
|
<a href="../files/lib/core/facets/metaid_rb.html">lib/core/facets/metaid.rb</a>
|
61
61
|
<a href="../files/lib/core/facets/comparable/comparable_rb.html">lib/core/facets/comparable/comparable.rb</a>
|
62
|
-
<a href="../files/lib/core/facets/
|
63
|
-
<a href="../files/lib/core/facets/module/alias_rb.html">lib/core/facets/module/alias.rb</a>
|
64
|
-
<a href="../files/lib/core/facets/module/prepend_rb.html">lib/core/facets/module/prepend.rb</a>
|
65
|
-
<a href="../files/lib/core/facets/module/ancestor_rb.html">lib/core/facets/module/ancestor.rb</a>
|
66
|
-
<a href="../files/lib/core/facets/module/redirect_method_rb.html">lib/core/facets/module/redirect_method.rb</a>
|
67
|
-
<a href="../files/lib/core/facets/module/methodize_rb.html">lib/core/facets/module/methodize.rb</a>
|
68
|
-
<a href="../files/lib/core/facets/module/conflict_rb.html">lib/core/facets/module/conflict.rb</a>
|
69
|
-
<a href="../files/lib/core/facets/module/can_rb.html">lib/core/facets/module/can.rb</a>
|
70
|
-
<a href="../files/lib/core/facets/module/include_function_module_rb.html">lib/core/facets/module/include_function_module.rb</a>
|
71
|
-
<a href="../files/lib/core/facets/module/redefine_method_rb.html">lib/core/facets/module/redefine_method.rb</a>
|
72
|
-
<a href="../files/lib/core/facets/module/op_rb.html">lib/core/facets/module/op.rb</a>
|
73
|
-
<a href="../files/lib/core/facets/module/pathize_rb.html">lib/core/facets/module/pathize.rb</a>
|
74
|
-
<a href="../files/lib/core/facets/module/instance_methods_rb.html">lib/core/facets/module/instance_methods.rb</a>
|
75
|
-
<a href="../files/lib/core/facets/module/module_load_rb.html">lib/core/facets/module/module_load.rb</a>
|
76
|
-
<a href="../files/lib/core/facets/module/is_rb.html">lib/core/facets/module/is.rb</a>
|
77
|
-
<a href="../files/lib/core/facets/module/nesting_rb.html">lib/core/facets/module/nesting.rb</a>
|
78
|
-
<a href="../files/lib/core/facets/module/class_rb.html">lib/core/facets/module/class.rb</a>
|
79
|
-
<a href="../files/lib/core/facets/module/modspace_rb.html">lib/core/facets/module/modspace.rb</a>
|
80
|
-
<a href="../files/lib/core/facets/module/abstract_rb.html">lib/core/facets/module/abstract.rb</a>
|
81
|
-
<a href="../files/lib/core/facets/module/rename_method_rb.html">lib/core/facets/module/rename_method.rb</a>
|
82
|
-
<a href="../files/lib/core/facets/module/revise_rb.html">lib/core/facets/module/revise.rb</a>
|
83
|
-
<a href="../files/lib/core/facets/module/spacename_rb.html">lib/core/facets/module/spacename.rb</a>
|
84
|
-
<a href="../files/lib/core/facets/module/wrap_method_rb.html">lib/core/facets/module/wrap_method.rb</a>
|
85
|
-
<a href="../files/lib/core/facets/module/basename_rb.html">lib/core/facets/module/basename.rb</a>
|
86
|
-
<a href="../files/lib/core/facets/module/alias_rb.html">lib/core/facets/module/alias.rb</a>
|
62
|
+
<a href="../files/lib/core/facets/module/alias_accessor_rb.html">lib/core/facets/module/alias_accessor.rb</a>
|
87
63
|
<a href="../files/lib/core/facets/module/prepend_rb.html">lib/core/facets/module/prepend.rb</a>
|
88
64
|
<a href="../files/lib/core/facets/module/ancestor_rb.html">lib/core/facets/module/ancestor.rb</a>
|
89
65
|
<a href="../files/lib/core/facets/module/redirect_method_rb.html">lib/core/facets/module/redirect_method.rb</a>
|
@@ -94,6 +70,7 @@
|
|
94
70
|
<a href="../files/lib/core/facets/module/redefine_method_rb.html">lib/core/facets/module/redefine_method.rb</a>
|
95
71
|
<a href="../files/lib/core/facets/module/op_rb.html">lib/core/facets/module/op.rb</a>
|
96
72
|
<a href="../files/lib/core/facets/module/pathize_rb.html">lib/core/facets/module/pathize.rb</a>
|
73
|
+
<a href="../files/lib/core/facets/module/alias_module_function_rb.html">lib/core/facets/module/alias_module_function.rb</a>
|
97
74
|
<a href="../files/lib/core/facets/module/instance_methods_rb.html">lib/core/facets/module/instance_methods.rb</a>
|
98
75
|
<a href="../files/lib/core/facets/module/module_load_rb.html">lib/core/facets/module/module_load.rb</a>
|
99
76
|
<a href="../files/lib/core/facets/module/is_rb.html">lib/core/facets/module/is.rb</a>
|
@@ -102,6 +79,7 @@
|
|
102
79
|
<a href="../files/lib/core/facets/module/modspace_rb.html">lib/core/facets/module/modspace.rb</a>
|
103
80
|
<a href="../files/lib/core/facets/module/abstract_rb.html">lib/core/facets/module/abstract.rb</a>
|
104
81
|
<a href="../files/lib/core/facets/module/rename_method_rb.html">lib/core/facets/module/rename_method.rb</a>
|
82
|
+
<a href="../files/lib/core/facets/module/alias_method_chain_rb.html">lib/core/facets/module/alias_method_chain.rb</a>
|
105
83
|
<a href="../files/lib/core/facets/module/revise_rb.html">lib/core/facets/module/revise.rb</a>
|
106
84
|
<a href="../files/lib/core/facets/module/spacename_rb.html">lib/core/facets/module/spacename.rb</a>
|
107
85
|
<a href="../files/lib/core/facets/module/wrap_method_rb.html">lib/core/facets/module/wrap_method.rb</a>
|
@@ -127,7 +105,7 @@ Object
|
|
127
105
|
|
128
106
|
<div class="description"><p>
|
129
107
|
It would nice if we could the following. Then the middle portion of the <a
|
130
|
-
href="Module.html#
|
108
|
+
href="Module.html#M000159">Comparable</a> method would not be needed. But I
|
131
109
|
fear it might break others code.
|
132
110
|
</p>
|
133
111
|
<pre>
|
@@ -147,71 +125,40 @@ fear it might break others code.
|
|
147
125
|
|
148
126
|
<div class="sectiontitle">Methods</div>
|
149
127
|
<ul>
|
150
|
-
<li><a href="#
|
151
|
-
<li><a href="#
|
152
|
-
<li><a href="#
|
153
|
-
<li><a href="#
|
154
|
-
<li><a href="#
|
155
|
-
<li><a href="#
|
156
|
-
<li><a href="#
|
157
|
-
<li><a href="#
|
158
|
-
<li><a href="#
|
159
|
-
<li><a href="#
|
160
|
-
<li><a href="#
|
161
|
-
<li><a href="#
|
162
|
-
<li><a href="#
|
163
|
-
<li><a href="#
|
164
|
-
<li><a href="#
|
165
|
-
<li><a href="#
|
166
|
-
<li><a href="#
|
167
|
-
<li><a href="#
|
168
|
-
<li><a href="#
|
169
|
-
<li><a href="#
|
170
|
-
<li><a href="#
|
171
|
-
<li><a href="#
|
172
|
-
<li><a href="#
|
173
|
-
<li><a href="#
|
174
|
-
<li><a href="#
|
175
|
-
<li><a href="#
|
176
|
-
<li><a href="#
|
177
|
-
<li><a href="#
|
178
|
-
<li><a href="#
|
179
|
-
<li><a href="#
|
180
|
-
<li><a href="#
|
181
|
-
<li><a href="#
|
182
|
-
<li><a href="#
|
183
|
-
<li><a href="#
|
184
|
-
<li><a href="#M000317">modspace</a></li>
|
185
|
-
<li><a href="#M000310">module_load</a></li>
|
186
|
-
<li><a href="#M000341">module_load</a></li>
|
187
|
-
<li><a href="#M000309">module_method_defined?</a></li>
|
188
|
-
<li><a href="#M000340">module_method_defined?</a></li>
|
189
|
-
<li><a href="#M000311">module_require</a></li>
|
190
|
-
<li><a href="#M000342">module_require</a></li>
|
191
|
-
<li><a href="#M000347">nesting</a></li>
|
192
|
-
<li><a href="#M000316">nesting</a></li>
|
193
|
-
<li><a href="#M000305">pathize</a></li>
|
194
|
-
<li><a href="#M000336">pathize</a></li>
|
195
|
-
<li><a href="#M000295">prepend</a></li>
|
196
|
-
<li><a href="#M000326">prepend</a></li>
|
197
|
-
<li><a href="#M000331">private_conflict?</a></li>
|
198
|
-
<li><a href="#M000300">private_conflict?</a></li>
|
199
|
-
<li><a href="#M000301">protected_conflict?</a></li>
|
200
|
-
<li><a href="#M000332">protected_conflict?</a></li>
|
201
|
-
<li><a href="#M000299">public_conflict?</a></li>
|
202
|
-
<li><a href="#M000330">public_conflict?</a></li>
|
203
|
-
<li><a href="#M000320">revisal</a></li>
|
204
|
-
<li><a href="#M000351">revisal</a></li>
|
205
|
-
<li><a href="#M000319">revise</a></li>
|
206
|
-
<li><a href="#M000350">revise</a></li>
|
207
|
-
<li><a href="#M000339">singleton_method_defined?</a></li>
|
208
|
-
<li><a href="#M000308">singleton_method_defined?</a></li>
|
209
|
-
<li><a href="#M000353">spacename</a></li>
|
210
|
-
<li><a href="#M000322">spacename</a></li>
|
211
|
-
<li><a href="#M000355">wrap</a></li>
|
212
|
-
<li><a href="#M000324">wrap</a></li>
|
213
|
-
<li><a href="#M000323">wrap_method</a></li>
|
214
|
-
<li><a href="#M000354">wrap_method</a></li>
|
128
|
+
<li><a href="#M000169">*</a></li>
|
129
|
+
<li><a href="#M000167">+</a></li>
|
130
|
+
<li><a href="#M000168">-</a></li>
|
131
|
+
<li><a href="#M000159">Comparable</a></li>
|
132
|
+
<li><a href="#M000183">abstract</a></li>
|
133
|
+
<li><a href="#M000184">alias_method_chain</a></li>
|
134
|
+
<li><a href="#M000171">all_instance_methods</a></li>
|
135
|
+
<li><a href="#M000161">ancestor?</a></li>
|
136
|
+
<li><a href="#M000191">basename</a></li>
|
137
|
+
<li><a href="#M000158">class_def</a></li>
|
138
|
+
<li><a href="#M000178">class_load</a></li>
|
139
|
+
<li><a href="#M000177">class_require</a></li>
|
140
|
+
<li><a href="#M000163">conflict?</a></li>
|
141
|
+
<li><a href="#M000172">instance_method_defined?</a></li>
|
142
|
+
<li><a href="#M000187">integrate</a></li>
|
143
|
+
<li><a href="#M000180">is</a></li>
|
144
|
+
<li><a href="#M000179">is?</a></li>
|
145
|
+
<li><a href="#M000162">methodize</a></li>
|
146
|
+
<li><a href="#M000182">modspace</a></li>
|
147
|
+
<li><a href="#M000175">module_load</a></li>
|
148
|
+
<li><a href="#M000174">module_method_defined?</a></li>
|
149
|
+
<li><a href="#M000176">module_require</a></li>
|
150
|
+
<li><a href="#M000181">nesting</a></li>
|
151
|
+
<li><a href="#M000170">pathize</a></li>
|
152
|
+
<li><a href="#M000160">prepend</a></li>
|
153
|
+
<li><a href="#M000165">private_conflict?</a></li>
|
154
|
+
<li><a href="#M000166">protected_conflict?</a></li>
|
155
|
+
<li><a href="#M000164">public_conflict?</a></li>
|
156
|
+
<li><a href="#M000186">revisal</a></li>
|
157
|
+
<li><a href="#M000185">revise</a></li>
|
158
|
+
<li><a href="#M000173">singleton_method_defined?</a></li>
|
159
|
+
<li><a href="#M000188">spacename</a></li>
|
160
|
+
<li><a href="#M000190">wrap</a></li>
|
161
|
+
<li><a href="#M000189">wrap_method</a></li>
|
215
162
|
</ul>
|
216
163
|
|
217
164
|
|
@@ -222,49 +169,7 @@ fear it might break others code.
|
|
222
169
|
<div class="sectiontitle">Public Instance methods</div>
|
223
170
|
<div class="method">
|
224
171
|
<div class="title">
|
225
|
-
<a name="
|
226
|
-
</div>
|
227
|
-
<div class="description">
|
228
|
-
<p>
|
229
|
-
Rename methods.
|
230
|
-
</p>
|
231
|
-
<pre>
|
232
|
-
module A
|
233
|
-
def a; "a"; end
|
234
|
-
end
|
235
|
-
|
236
|
-
B = A * { :a => :b }
|
237
|
-
|
238
|
-
class X; include B; end
|
239
|
-
|
240
|
-
X.new.b #=> "a"
|
241
|
-
|
242
|
-
CREDIT: Thomas Sawyer
|
243
|
-
CREDIT: Robert Dober
|
244
|
-
</pre>
|
245
|
-
</div>
|
246
|
-
<div class="sourcecode">
|
247
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000304_source')" id="l_M000304_source">show source</a> ]</p>
|
248
|
-
<div id="M000304_source" class="dyn-source">
|
249
|
-
<pre>
|
250
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 83</span>
|
251
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">rename_map</span>)
|
252
|
-
<span class="ruby-identifier">base</span> = <span class="ruby-keyword kw">self</span>
|
253
|
-
<span class="ruby-constant">Module</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span>
|
254
|
-
<span class="ruby-identifier">include</span> <span class="ruby-identifier">base</span>
|
255
|
-
<span class="ruby-identifier">rename_map</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span><span class="ruby-operator">|</span>
|
256
|
-
<span class="ruby-identifier">alias_method</span> <span class="ruby-identifier">to</span>, <span class="ruby-identifier">from</span>
|
257
|
-
<span class="ruby-identifier">undef_method</span> <span class="ruby-identifier">from</span>
|
258
|
-
<span class="ruby-keyword kw">end</span>
|
259
|
-
<span class="ruby-keyword kw">end</span>
|
260
|
-
<span class="ruby-keyword kw">end</span>
|
261
|
-
</pre>
|
262
|
-
</div>
|
263
|
-
</div>
|
264
|
-
</div>
|
265
|
-
<div class="method">
|
266
|
-
<div class="title">
|
267
|
-
<a name="M000335"></a><b>*</b>(rename_map)
|
172
|
+
<a name="M000169"></a><b>*</b>(rename_map)
|
268
173
|
</div>
|
269
174
|
<div class="description">
|
270
175
|
<p>
|
@@ -286,8 +191,8 @@ Rename methods.
|
|
286
191
|
</pre>
|
287
192
|
</div>
|
288
193
|
<div class="sourcecode">
|
289
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
290
|
-
<div id="
|
194
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000169_source')" id="l_M000169_source">show source</a> ]</p>
|
195
|
+
<div id="M000169_source" class="dyn-source">
|
291
196
|
<pre>
|
292
197
|
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 83</span>
|
293
198
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">*</span>(<span class="ruby-identifier">rename_map</span>)
|
@@ -306,67 +211,7 @@ Rename methods.
|
|
306
211
|
</div>
|
307
212
|
<div class="method">
|
308
213
|
<div class="title">
|
309
|
-
<a name="
|
310
|
-
</div>
|
311
|
-
<div class="description">
|
312
|
-
<p>
|
313
|
-
Combine modules.
|
314
|
-
</p>
|
315
|
-
<pre>
|
316
|
-
module A
|
317
|
-
def a; "a"; end
|
318
|
-
end
|
319
|
-
|
320
|
-
module B
|
321
|
-
def b; "b"; end
|
322
|
-
end
|
323
|
-
|
324
|
-
C = A + B
|
325
|
-
|
326
|
-
class X; include C; end
|
327
|
-
|
328
|
-
X.new.a #=> "a"
|
329
|
-
X.new.b #=> "b"
|
330
|
-
</pre>
|
331
|
-
<p>
|
332
|
-
Note that in the old version of traits.rb we cloned modules and altered
|
333
|
-
their copies. Eg.
|
334
|
-
</p>
|
335
|
-
<pre>
|
336
|
-
def +(other)
|
337
|
-
mod1 = other.clone
|
338
|
-
mod2 = clone
|
339
|
-
mod1.module_eval{ include mod2 }
|
340
|
-
end
|
341
|
-
</pre>
|
342
|
-
<p>
|
343
|
-
Later it was realized that this thwarted the main benefit that Ruby‘s
|
344
|
-
concept of modules has over traditional traits, inheritance.
|
345
|
-
</p>
|
346
|
-
<pre>
|
347
|
-
CREDIT: Thomas Sawyer
|
348
|
-
CREDIT: Robert Dober
|
349
|
-
</pre>
|
350
|
-
</div>
|
351
|
-
<div class="sourcecode">
|
352
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000333_source')" id="l_M000333_source">show source</a> ]</p>
|
353
|
-
<div id="M000333_source" class="dyn-source">
|
354
|
-
<pre>
|
355
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 36</span>
|
356
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
|
357
|
-
<span class="ruby-identifier">base</span> = <span class="ruby-keyword kw">self</span>
|
358
|
-
<span class="ruby-constant">Module</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span>
|
359
|
-
<span class="ruby-identifier">include</span> <span class="ruby-identifier">base</span>
|
360
|
-
<span class="ruby-identifier">include</span> <span class="ruby-identifier">other</span>
|
361
|
-
<span class="ruby-keyword kw">end</span>
|
362
|
-
<span class="ruby-keyword kw">end</span>
|
363
|
-
</pre>
|
364
|
-
</div>
|
365
|
-
</div>
|
366
|
-
</div>
|
367
|
-
<div class="method">
|
368
|
-
<div class="title">
|
369
|
-
<a name="M000302"></a><b>+</b>(other)
|
214
|
+
<a name="M000167"></a><b>+</b>(other)
|
370
215
|
</div>
|
371
216
|
<div class="description">
|
372
217
|
<p>
|
@@ -409,8 +254,8 @@ concept of modules has over traditional traits, inheritance.
|
|
409
254
|
</pre>
|
410
255
|
</div>
|
411
256
|
<div class="sourcecode">
|
412
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
413
|
-
<div id="
|
257
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000167_source')" id="l_M000167_source">show source</a> ]</p>
|
258
|
+
<div id="M000167_source" class="dyn-source">
|
414
259
|
<pre>
|
415
260
|
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 36</span>
|
416
261
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
|
@@ -426,46 +271,7 @@ concept of modules has over traditional traits, inheritance.
|
|
426
271
|
</div>
|
427
272
|
<div class="method">
|
428
273
|
<div class="title">
|
429
|
-
<a name="
|
430
|
-
</div>
|
431
|
-
<div class="description">
|
432
|
-
<p>
|
433
|
-
Subtract modules.
|
434
|
-
</p>
|
435
|
-
<pre>
|
436
|
-
TODO: Should this use all instance_methods, not just public?
|
437
|
-
|
438
|
-
CREDIT: Thomas Sawyer
|
439
|
-
CREDIT: Robert Dober
|
440
|
-
</pre>
|
441
|
-
</div>
|
442
|
-
<div class="sourcecode">
|
443
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000303_source')" id="l_M000303_source">show source</a> ]</p>
|
444
|
-
<div id="M000303_source" class="dyn-source">
|
445
|
-
<pre>
|
446
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 51</span>
|
447
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
|
448
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">other</span>
|
449
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Array</span>
|
450
|
-
<span class="ruby-identifier">subtract</span> = <span class="ruby-identifier">instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">collect</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">m</span>.<span class="ruby-identifier">to_s</span>}
|
451
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Module</span>
|
452
|
-
<span class="ruby-identifier">subtract</span> = <span class="ruby-identifier">instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-comment cmt"># false?</span>
|
453
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">String</span>, <span class="ruby-constant">Symbol</span>
|
454
|
-
<span class="ruby-identifier">subtract</span> = <span class="ruby-identifier">instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> [<span class="ruby-identifier">other</span>.<span class="ruby-identifier">to_s</span>]
|
455
|
-
<span class="ruby-keyword kw">end</span>
|
456
|
-
<span class="ruby-identifier">base</span> = <span class="ruby-keyword kw">self</span>
|
457
|
-
<span class="ruby-constant">Module</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span>
|
458
|
-
<span class="ruby-identifier">include</span> <span class="ruby-identifier">base</span>
|
459
|
-
<span class="ruby-identifier">subtract</span>.<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">undef_method</span> <span class="ruby-identifier">x</span> }
|
460
|
-
<span class="ruby-keyword kw">end</span>
|
461
|
-
<span class="ruby-keyword kw">end</span>
|
462
|
-
</pre>
|
463
|
-
</div>
|
464
|
-
</div>
|
465
|
-
</div>
|
466
|
-
<div class="method">
|
467
|
-
<div class="title">
|
468
|
-
<a name="M000334"></a><b>-</b>(other)
|
274
|
+
<a name="M000168"></a><b>-</b>(other)
|
469
275
|
</div>
|
470
276
|
<div class="description">
|
471
277
|
<p>
|
@@ -479,8 +285,8 @@ Subtract modules.
|
|
479
285
|
</pre>
|
480
286
|
</div>
|
481
287
|
<div class="sourcecode">
|
482
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
483
|
-
<div id="
|
288
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000168_source')" id="l_M000168_source">show source</a> ]</p>
|
289
|
+
<div id="M000168_source" class="dyn-source">
|
484
290
|
<pre>
|
485
291
|
<span class="ruby-comment cmt"># File lib/core/facets/module/op.rb, line 51</span>
|
486
292
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
|
@@ -504,51 +310,7 @@ Subtract modules.
|
|
504
310
|
</div>
|
505
311
|
<div class="method">
|
506
312
|
<div class="title">
|
507
|
-
<a name="
|
508
|
-
</div>
|
509
|
-
<div class="description">
|
510
|
-
<p>
|
511
|
-
Automatically generate sorting defintions base on attribute fields.
|
512
|
-
</p>
|
513
|
-
<pre>
|
514
|
-
include SortOn(:a, :b)
|
515
|
-
</pre>
|
516
|
-
<p>
|
517
|
-
<a href="Module.html#M000315">is</a> equivalent to including a module
|
518
|
-
containing:
|
519
|
-
</p>
|
520
|
-
<pre>
|
521
|
-
def <=>(other)
|
522
|
-
cmp = self.a <=> other.a; return cmp unless cmp == 0
|
523
|
-
cmp = self.b <=> other.b; return cmp unless cmp == 0
|
524
|
-
0
|
525
|
-
end
|
526
|
-
</pre>
|
527
|
-
</div>
|
528
|
-
<div class="sourcecode">
|
529
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000294_source')" id="l_M000294_source">show source</a> ]</p>
|
530
|
-
<div id="M000294_source" class="dyn-source">
|
531
|
-
<pre>
|
532
|
-
<span class="ruby-comment cmt"># File lib/core/facets/comparable/comparable.rb, line 28</span>
|
533
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Comparable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">accessors</span>)
|
534
|
-
<span class="ruby-identifier">define_method</span>(<span class="ruby-identifier">:comparability</span>){ <span class="ruby-identifier">accessors</span> }
|
535
|
-
<span class="ruby-identifier">code</span> = <span class="ruby-value str">%{
|
536
|
-
def <=>(other)
|
537
|
-
comparability.each do |a|
|
538
|
-
cmp = (send(a) <=> other.send(a)); return cmp unless cmp == 0
|
539
|
-
end
|
540
|
-
end
|
541
|
-
}</span>
|
542
|
-
<span class="ruby-identifier">module_eval</span> <span class="ruby-identifier">code</span>
|
543
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-constant">Comparable</span>
|
544
|
-
<span class="ruby-keyword kw">end</span>
|
545
|
-
</pre>
|
546
|
-
</div>
|
547
|
-
</div>
|
548
|
-
</div>
|
549
|
-
<div class="method">
|
550
|
-
<div class="title">
|
551
|
-
<a name="M000293"></a><b>Comparable</b>(*accessors)
|
313
|
+
<a name="M000159"></a><b>Comparable</b>(*accessors)
|
552
314
|
</div>
|
553
315
|
<div class="description">
|
554
316
|
<p>
|
@@ -558,7 +320,7 @@ Automatically generate sorting defintions base on attribute fields.
|
|
558
320
|
include SortOn(:a, :b)
|
559
321
|
</pre>
|
560
322
|
<p>
|
561
|
-
<a href="Module.html#
|
323
|
+
<a href="Module.html#M000180">is</a> equivalent to including a module
|
562
324
|
containing:
|
563
325
|
</p>
|
564
326
|
<pre>
|
@@ -570,8 +332,8 @@ containing:
|
|
570
332
|
</pre>
|
571
333
|
</div>
|
572
334
|
<div class="sourcecode">
|
573
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
574
|
-
<div id="
|
335
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">show source</a> ]</p>
|
336
|
+
<div id="M000159_source" class="dyn-source">
|
575
337
|
<pre>
|
576
338
|
<span class="ruby-comment cmt"># File lib/core/facets/comparable/comparable.rb, line 28</span>
|
577
339
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Comparable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">accessors</span>)
|
@@ -592,12 +354,12 @@ containing:
|
|
592
354
|
</div>
|
593
355
|
<div class="method">
|
594
356
|
<div class="title">
|
595
|
-
<a name="
|
357
|
+
<a name="M000183"></a><b>abstract</b>( *sym )
|
596
358
|
</div>
|
597
359
|
<div class="description">
|
598
360
|
<p>
|
599
|
-
Create an <a href="Module.html#
|
600
|
-
href="Module.html#
|
361
|
+
Create an <a href="Module.html#M000183">abstract</a> method. If it <a
|
362
|
+
href="Module.html#M000180">is</a> not overridden, it will raise a TypeError
|
601
363
|
when called.
|
602
364
|
</p>
|
603
365
|
<pre>
|
@@ -612,8 +374,8 @@ when called.
|
|
612
374
|
</pre>
|
613
375
|
</div>
|
614
376
|
<div class="sourcecode">
|
615
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
616
|
-
<div id="
|
377
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000183_source')" id="l_M000183_source">show source</a> ]</p>
|
378
|
+
<div id="M000183_source" class="dyn-source">
|
617
379
|
<pre>
|
618
380
|
<span class="ruby-comment cmt"># File lib/core/facets/module/abstract.rb, line 15</span>
|
619
381
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">abstract</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">sym</span> )
|
@@ -627,69 +389,70 @@ when called.
|
|
627
389
|
</div>
|
628
390
|
<div class="method">
|
629
391
|
<div class="title">
|
630
|
-
<a name="
|
392
|
+
<a name="M000184"></a><b>alias_method_chain</b>(target, feature) {|aliased_target, punctuation| ...}
|
631
393
|
</div>
|
632
394
|
<div class="description">
|
633
395
|
<p>
|
634
|
-
|
635
|
-
href="Module.html#M000315">is</a> not overridden, it will raise a TypeError
|
636
|
-
when called.
|
396
|
+
Encapsulates the common pattern of:
|
637
397
|
</p>
|
638
398
|
<pre>
|
639
|
-
|
640
|
-
|
641
|
-
end
|
642
|
-
|
643
|
-
c = C.new
|
644
|
-
c.a #=> Error: undefined abstraction #a
|
645
|
-
|
646
|
-
CREDIT: Trans
|
399
|
+
alias_method :foo_without_feature, :foo
|
400
|
+
alias_method :foo, :foo_with_feature
|
647
401
|
</pre>
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
<div id="M000318_source" class="dyn-source">
|
402
|
+
<p>
|
403
|
+
With this, you simply do:
|
404
|
+
</p>
|
652
405
|
<pre>
|
653
|
-
|
654
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">abstract</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">sym</span> )
|
655
|
-
<span class="ruby-identifier">sym</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span>
|
656
|
-
<span class="ruby-identifier">define_method</span>( <span class="ruby-identifier">s</span> ) { <span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-node">"undefined abstraction ##{s}"</span> }
|
657
|
-
}
|
658
|
-
<span class="ruby-keyword kw">end</span>
|
406
|
+
alias_method_chain :foo, :feature
|
659
407
|
</pre>
|
660
|
-
|
661
|
-
|
662
|
-
</
|
663
|
-
<
|
664
|
-
|
665
|
-
<a name="M000306"></a><b>all_instance_methods</b>(include_super=true)
|
666
|
-
</div>
|
667
|
-
<div class="description">
|
668
|
-
<p>
|
669
|
-
List all instance methods, equivalent to
|
408
|
+
<p>
|
409
|
+
And both aliases are set up for you.
|
410
|
+
</p>
|
411
|
+
<p>
|
412
|
+
Query and bang methods (foo?, foo!) keep the same punctuation:
|
670
413
|
</p>
|
671
414
|
<pre>
|
672
|
-
|
673
|
-
protected_instance_methods +
|
674
|
-
private_instance_methods
|
415
|
+
alias_method_chain :foo?, :feature
|
675
416
|
</pre>
|
676
417
|
<p>
|
677
|
-
|
678
|
-
href="Module.html#M000306">all_instance_methods</a>?
|
418
|
+
<a href="Module.html#M000180">is</a> equivalent to
|
679
419
|
</p>
|
680
420
|
<pre>
|
681
|
-
|
421
|
+
alias_method :foo_without_feature?, :foo?
|
422
|
+
alias_method :foo?, :foo_with_feature?
|
423
|
+
</pre>
|
424
|
+
<p>
|
425
|
+
so you can safely chain foo, foo?, and foo! with the same feature.
|
426
|
+
</p>
|
427
|
+
<pre>
|
428
|
+
CREDIT: Bitsweat
|
429
|
+
CREDIT: Rails Team
|
682
430
|
</pre>
|
683
431
|
</div>
|
684
432
|
<div class="sourcecode">
|
685
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
686
|
-
<div id="
|
687
|
-
<pre>
|
688
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/
|
689
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
690
|
-
<span class="ruby-
|
691
|
-
<span class="ruby-
|
692
|
-
<span class="ruby-identifier">
|
433
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000184_source')" id="l_M000184_source">show source</a> ]</p>
|
434
|
+
<div id="M000184_source" class="dyn-source">
|
435
|
+
<pre>
|
436
|
+
<span class="ruby-comment cmt"># File lib/core/facets/module/alias_method_chain.rb, line 28</span>
|
437
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_method_chain</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">feature</span>)
|
438
|
+
<span class="ruby-comment cmt"># Strip out punctuation on predicates or bang methods since</span>
|
439
|
+
<span class="ruby-comment cmt"># e.g. target?_without_feature is not a valid method name.</span>
|
440
|
+
<span class="ruby-identifier">aliased_target</span>, <span class="ruby-identifier">punctuation</span> = <span class="ruby-identifier">target</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/([?!=])$/</span>, <span class="ruby-value str">''</span>), <span class="ruby-identifier">$1</span>
|
441
|
+
<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">aliased_target</span>, <span class="ruby-identifier">punctuation</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
442
|
+
|
443
|
+
<span class="ruby-identifier">with_method</span>, <span class="ruby-identifier">without_method</span> = <span class="ruby-node">"#{aliased_target}_with_#{feature}#{punctuation}"</span>, <span class="ruby-node">"#{aliased_target}_without_#{feature}#{punctuation}"</span>
|
444
|
+
|
445
|
+
<span class="ruby-identifier">alias_method</span> <span class="ruby-identifier">without_method</span>, <span class="ruby-identifier">target</span>
|
446
|
+
<span class="ruby-identifier">alias_method</span> <span class="ruby-identifier">target</span>, <span class="ruby-identifier">with_method</span>
|
447
|
+
|
448
|
+
<span class="ruby-keyword kw">case</span>
|
449
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-identifier">public_method_defined?</span>(<span class="ruby-identifier">without_method</span>)
|
450
|
+
<span class="ruby-identifier">public</span> <span class="ruby-identifier">target</span>
|
451
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-identifier">protected_method_defined?</span>(<span class="ruby-identifier">without_method</span>)
|
452
|
+
<span class="ruby-identifier">protected</span> <span class="ruby-identifier">target</span>
|
453
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-identifier">private_method_defined?</span>(<span class="ruby-identifier">without_method</span>)
|
454
|
+
<span class="ruby-identifier">private</span> <span class="ruby-identifier">target</span>
|
455
|
+
<span class="ruby-keyword kw">end</span>
|
693
456
|
<span class="ruby-keyword kw">end</span>
|
694
457
|
</pre>
|
695
458
|
</div>
|
@@ -697,7 +460,7 @@ href="Module.html#M000306">all_instance_methods</a>?
|
|
697
460
|
</div>
|
698
461
|
<div class="method">
|
699
462
|
<div class="title">
|
700
|
-
<a name="
|
463
|
+
<a name="M000171"></a><b>all_instance_methods</b>(include_super=true)
|
701
464
|
</div>
|
702
465
|
<div class="description">
|
703
466
|
<p>
|
@@ -710,15 +473,15 @@ List all instance methods, equivalent to
|
|
710
473
|
</pre>
|
711
474
|
<p>
|
712
475
|
TODO: Better name for <a
|
713
|
-
href="Module.html#
|
476
|
+
href="Module.html#M000171">all_instance_methods</a>?
|
714
477
|
</p>
|
715
478
|
<pre>
|
716
479
|
CREDIT: Trans
|
717
480
|
</pre>
|
718
481
|
</div>
|
719
482
|
<div class="sourcecode">
|
720
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
721
|
-
<div id="
|
483
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">show source</a> ]</p>
|
484
|
+
<div id="M000171_source" class="dyn-source">
|
722
485
|
<pre>
|
723
486
|
<span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 13</span>
|
724
487
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">all_instance_methods</span>(<span class="ruby-identifier">include_super</span>=<span class="ruby-keyword kw">true</span>)
|
@@ -732,7 +495,7 @@ href="Module.html#M000306">all_instance_methods</a>?
|
|
732
495
|
</div>
|
733
496
|
<div class="method">
|
734
497
|
<div class="title">
|
735
|
-
<a name="
|
498
|
+
<a name="M000161"></a><b>ancestor?</b>( mod )
|
736
499
|
</div>
|
737
500
|
<div class="description">
|
738
501
|
<p>
|
@@ -746,8 +509,8 @@ Is a given class or module an ancestor of this class or module?
|
|
746
509
|
</pre>
|
747
510
|
</div>
|
748
511
|
<div class="sourcecode">
|
749
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
750
|
-
<div id="
|
512
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">show source</a> ]</p>
|
513
|
+
<div id="M000161_source" class="dyn-source">
|
751
514
|
<pre>
|
752
515
|
<span class="ruby-comment cmt"># File lib/core/facets/module/ancestor.rb, line 11</span>
|
753
516
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ancestor?</span>( <span class="ruby-identifier">mod</span> )
|
@@ -759,96 +522,24 @@ Is a given class or module an ancestor of this class or module?
|
|
759
522
|
</div>
|
760
523
|
<div class="method">
|
761
524
|
<div class="title">
|
762
|
-
<a name="
|
525
|
+
<a name="M000191"></a><b>basename</b>()
|
763
526
|
</div>
|
764
527
|
<div class="description">
|
765
528
|
<p>
|
766
|
-
|
529
|
+
Returns the root name of the module/class.
|
767
530
|
</p>
|
768
531
|
<pre>
|
769
|
-
|
770
|
-
|
532
|
+
module Example
|
533
|
+
class Demo
|
534
|
+
end
|
535
|
+
end
|
771
536
|
|
772
|
-
|
773
|
-
|
774
|
-
</div>
|
775
|
-
<div class="sourcecode">
|
776
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000327_source')" id="l_M000327_source">show source</a> ]</p>
|
777
|
-
<div id="M000327_source" class="dyn-source">
|
778
|
-
<pre>
|
779
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/ancestor.rb, line 11</span>
|
780
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ancestor?</span>( <span class="ruby-identifier">mod</span> )
|
781
|
-
<span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">mod</span>
|
782
|
-
<span class="ruby-keyword kw">end</span>
|
783
|
-
</pre>
|
784
|
-
</div>
|
785
|
-
</div>
|
786
|
-
</div>
|
787
|
-
<div class="method">
|
788
|
-
<div class="title">
|
789
|
-
<a name="M000325"></a><b>basename</b>()
|
790
|
-
</div>
|
791
|
-
<div class="description">
|
792
|
-
<p>
|
793
|
-
Returns the root name of the module/class.
|
794
|
-
</p>
|
795
|
-
<pre>
|
796
|
-
module Example
|
797
|
-
class Demo
|
798
|
-
end
|
799
|
-
end
|
800
|
-
|
801
|
-
Demo.name #=> "Example::Demo"
|
802
|
-
Demo.basename #=> "Demo"
|
803
|
-
</pre>
|
804
|
-
<p>
|
805
|
-
For anonymous modules this will provide a <a
|
806
|
-
href="Module.html#M000325">basename</a> based on Module#inspect.
|
807
|
-
</p>
|
808
|
-
<pre>
|
809
|
-
m = Module.new
|
810
|
-
m.inspect #=> "#<Module:0xb7bb0434>"
|
811
|
-
m.basename #=> "Module_0xb7bb0434"
|
812
|
-
|
813
|
-
CREDIT: Trans
|
814
|
-
</pre>
|
815
|
-
</div>
|
816
|
-
<div class="sourcecode">
|
817
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000325_source')" id="l_M000325_source">show source</a> ]</p>
|
818
|
-
<div id="M000325_source" class="dyn-source">
|
819
|
-
<pre>
|
820
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/basename.rb, line 22</span>
|
821
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">basename</span>
|
822
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">name</span> <span class="ruby-keyword kw">and</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">empty?</span>
|
823
|
-
<span class="ruby-identifier">name</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/^.*::/</span>, <span class="ruby-value str">''</span>)
|
824
|
-
<span class="ruby-keyword kw">else</span>
|
825
|
-
<span class="ruby-keyword kw">nil</span> <span class="ruby-comment cmt">#inspect.gsub('#<','').gsub('>','').sub(':', '_')</span>
|
826
|
-
<span class="ruby-keyword kw">end</span>
|
827
|
-
<span class="ruby-keyword kw">end</span>
|
828
|
-
</pre>
|
829
|
-
</div>
|
830
|
-
</div>
|
831
|
-
</div>
|
832
|
-
<div class="method">
|
833
|
-
<div class="title">
|
834
|
-
<a name="M000356"></a><b>basename</b>()
|
835
|
-
</div>
|
836
|
-
<div class="description">
|
837
|
-
<p>
|
838
|
-
Returns the root name of the module/class.
|
839
|
-
</p>
|
840
|
-
<pre>
|
841
|
-
module Example
|
842
|
-
class Demo
|
843
|
-
end
|
844
|
-
end
|
845
|
-
|
846
|
-
Demo.name #=> "Example::Demo"
|
847
|
-
Demo.basename #=> "Demo"
|
537
|
+
Demo.name #=> "Example::Demo"
|
538
|
+
Demo.basename #=> "Demo"
|
848
539
|
</pre>
|
849
540
|
<p>
|
850
541
|
For anonymous modules this will provide a <a
|
851
|
-
href="Module.html#
|
542
|
+
href="Module.html#M000191">basename</a> based on Module#inspect.
|
852
543
|
</p>
|
853
544
|
<pre>
|
854
545
|
m = Module.new
|
@@ -859,8 +550,8 @@ href="Module.html#M000325">basename</a> based on Module#inspect.
|
|
859
550
|
</pre>
|
860
551
|
</div>
|
861
552
|
<div class="sourcecode">
|
862
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
863
|
-
<div id="
|
553
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000191_source')" id="l_M000191_source">show source</a> ]</p>
|
554
|
+
<div id="M000191_source" class="dyn-source">
|
864
555
|
<pre>
|
865
556
|
<span class="ruby-comment cmt"># File lib/core/facets/module/basename.rb, line 22</span>
|
866
557
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">basename</span>
|
@@ -876,7 +567,7 @@ href="Module.html#M000325">basename</a> based on Module#inspect.
|
|
876
567
|
</div>
|
877
568
|
<div class="method">
|
878
569
|
<div class="title">
|
879
|
-
<a name="
|
570
|
+
<a name="M000158"></a><b>class_def</b>(name, &blk)
|
880
571
|
</div>
|
881
572
|
<div class="description">
|
882
573
|
<p>
|
@@ -887,10 +578,10 @@ Defines an instance method within a class.
|
|
887
578
|
</pre>
|
888
579
|
</div>
|
889
580
|
<div class="sourcecode">
|
890
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
891
|
-
<div id="
|
581
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">show source</a> ]</p>
|
582
|
+
<div id="M000158_source" class="dyn-source">
|
892
583
|
<pre>
|
893
|
-
<span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line
|
584
|
+
<span class="ruby-comment cmt"># File lib/core/facets/metaid.rb, line 82</span>
|
894
585
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_def</span> <span class="ruby-identifier">name</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>
|
895
586
|
<span class="ruby-identifier">class_eval</span> { <span class="ruby-identifier">define_method</span> <span class="ruby-identifier">name</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span> }
|
896
587
|
<span class="ruby-keyword kw">end</span>
|
@@ -900,88 +591,27 @@ Defines an instance method within a class.
|
|
900
591
|
</div>
|
901
592
|
<div class="method">
|
902
593
|
<div class="title">
|
903
|
-
<a name="
|
904
|
-
</div>
|
905
|
-
<div class="description">
|
906
|
-
<p>
|
907
|
-
Alias for <a href="Module.html#M000310">module_load</a>
|
908
|
-
</p>
|
909
|
-
</div>
|
910
|
-
</div>
|
911
|
-
<div class="method">
|
912
|
-
<div class="title">
|
913
|
-
<a name="M000313"></a><b>class_load</b>( path )
|
914
|
-
</div>
|
915
|
-
<div class="description">
|
916
|
-
<p>
|
917
|
-
Alias for <a href="Module.html#M000310">module_load</a>
|
918
|
-
</p>
|
919
|
-
</div>
|
920
|
-
</div>
|
921
|
-
<div class="method">
|
922
|
-
<div class="title">
|
923
|
-
<a name="M000312"></a><b>class_require</b>( path )
|
924
|
-
</div>
|
925
|
-
<div class="description">
|
926
|
-
<p>
|
927
|
-
Alias for <a href="Module.html#M000311">module_require</a>
|
928
|
-
</p>
|
929
|
-
</div>
|
930
|
-
</div>
|
931
|
-
<div class="method">
|
932
|
-
<div class="title">
|
933
|
-
<a name="M000343"></a><b>class_require</b>( path )
|
594
|
+
<a name="M000178"></a><b>class_load</b>( path )
|
934
595
|
</div>
|
935
596
|
<div class="description">
|
936
597
|
<p>
|
937
|
-
Alias for <a href="Module.html#
|
598
|
+
Alias for <a href="Module.html#M000175">module_load</a>
|
938
599
|
</p>
|
939
600
|
</div>
|
940
601
|
</div>
|
941
602
|
<div class="method">
|
942
603
|
<div class="title">
|
943
|
-
<a name="
|
604
|
+
<a name="M000177"></a><b>class_require</b>( path )
|
944
605
|
</div>
|
945
606
|
<div class="description">
|
946
607
|
<p>
|
947
|
-
|
608
|
+
Alias for <a href="Module.html#M000176">module_require</a>
|
948
609
|
</p>
|
949
|
-
<pre>
|
950
|
-
module A
|
951
|
-
def c; end
|
952
|
-
end
|
953
|
-
|
954
|
-
module B
|
955
|
-
def c; end
|
956
|
-
end
|
957
|
-
|
958
|
-
A.conflict?(B) #=> ["c"]
|
959
|
-
|
960
|
-
TODO: All instance methods, or just public?
|
961
|
-
|
962
|
-
CREDIT: Thomas Sawyer
|
963
|
-
CREDIT: Robert Dober
|
964
|
-
</pre>
|
965
610
|
</div>
|
966
|
-
<div class="sourcecode">
|
967
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000329_source')" id="l_M000329_source">show source</a> ]</p>
|
968
|
-
<div id="M000329_source" class="dyn-source">
|
969
|
-
<pre>
|
970
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 21</span>
|
971
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conflict?</span>(<span class="ruby-identifier">other</span>)
|
972
|
-
<span class="ruby-identifier">c</span> = []
|
973
|
-
<span class="ruby-identifier">c</span> <span class="ruby-operator">+=</span> (<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>))
|
974
|
-
<span class="ruby-identifier">c</span> <span class="ruby-operator">+=</span> (<span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>))
|
975
|
-
<span class="ruby-identifier">c</span> <span class="ruby-operator">+=</span> (<span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>))
|
976
|
-
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">false</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">c</span>
|
977
|
-
<span class="ruby-keyword kw">end</span>
|
978
|
-
</pre>
|
979
|
-
</div>
|
980
|
-
</div>
|
981
611
|
</div>
|
982
612
|
<div class="method">
|
983
613
|
<div class="title">
|
984
|
-
<a name="
|
614
|
+
<a name="M000163"></a><b>conflict?</b>(other)
|
985
615
|
</div>
|
986
616
|
<div class="description">
|
987
617
|
<p>
|
@@ -1005,8 +635,8 @@ Detect conflicts.
|
|
1005
635
|
</pre>
|
1006
636
|
</div>
|
1007
637
|
<div class="sourcecode">
|
1008
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1009
|
-
<div id="
|
638
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000163_source')" id="l_M000163_source">show source</a> ]</p>
|
639
|
+
<div id="M000163_source" class="dyn-source">
|
1010
640
|
<pre>
|
1011
641
|
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 21</span>
|
1012
642
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conflict?</span>(<span class="ruby-identifier">other</span>)
|
@@ -1022,37 +652,11 @@ Detect conflicts.
|
|
1022
652
|
</div>
|
1023
653
|
<div class="method">
|
1024
654
|
<div class="title">
|
1025
|
-
<a name="
|
1026
|
-
</div>
|
1027
|
-
<div class="description">
|
1028
|
-
<p>
|
1029
|
-
Query whether an instance method <a href="Module.html#M000315">is</a>
|
1030
|
-
defined for the module.
|
1031
|
-
</p>
|
1032
|
-
<pre>
|
1033
|
-
CREDIT: Gavin Sinclair
|
1034
|
-
CREDIT: Noah Gibbs
|
1035
|
-
</pre>
|
1036
|
-
</div>
|
1037
|
-
<div class="sourcecode">
|
1038
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000307_source')" id="l_M000307_source">show source</a> ]</p>
|
1039
|
-
<div id="M000307_source" class="dyn-source">
|
1040
|
-
<pre>
|
1041
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 24</span>
|
1042
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_method_defined?</span>(<span class="ruby-identifier">meth</span>)
|
1043
|
-
<span class="ruby-identifier">instance_methods_all</span>(<span class="ruby-keyword kw">true</span>).<span class="ruby-identifier">find</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">m</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">meth</span>.<span class="ruby-identifier">to_s</span> }
|
1044
|
-
<span class="ruby-keyword kw">end</span>
|
1045
|
-
</pre>
|
1046
|
-
</div>
|
1047
|
-
</div>
|
1048
|
-
</div>
|
1049
|
-
<div class="method">
|
1050
|
-
<div class="title">
|
1051
|
-
<a name="M000338"></a><b>instance_method_defined?</b>(meth)
|
655
|
+
<a name="M000172"></a><b>instance_method_defined?</b>(meth)
|
1052
656
|
</div>
|
1053
657
|
<div class="description">
|
1054
658
|
<p>
|
1055
|
-
Query whether
|
659
|
+
Query whether a public instance method <a href="Module.html#M000180">is</a>
|
1056
660
|
defined for the module.
|
1057
661
|
</p>
|
1058
662
|
<pre>
|
@@ -1061,68 +665,12 @@ defined for the module.
|
|
1061
665
|
</pre>
|
1062
666
|
</div>
|
1063
667
|
<div class="sourcecode">
|
1064
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1065
|
-
<div id="
|
668
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000172_source')" id="l_M000172_source">show source</a> ]</p>
|
669
|
+
<div id="M000172_source" class="dyn-source">
|
1066
670
|
<pre>
|
1067
671
|
<span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 24</span>
|
1068
672
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">instance_method_defined?</span>(<span class="ruby-identifier">meth</span>)
|
1069
|
-
<span class="ruby-identifier">
|
1070
|
-
<span class="ruby-keyword kw">end</span>
|
1071
|
-
</pre>
|
1072
|
-
</div>
|
1073
|
-
</div>
|
1074
|
-
</div>
|
1075
|
-
<div class="method">
|
1076
|
-
<div class="title">
|
1077
|
-
<a name="M000321"></a><b>integrate</b>(mod, &block)
|
1078
|
-
</div>
|
1079
|
-
<div class="description">
|
1080
|
-
<p>
|
1081
|
-
Using <a href="Module.html#M000321">integrate</a> <a
|
1082
|
-
href="Module.html#M000315">is</a> just like using include except the module
|
1083
|
-
included <a href="Module.html#M000315">is</a> a reconstruction of the one
|
1084
|
-
given altered by the commands given in the block.
|
1085
|
-
</p>
|
1086
|
-
<p>
|
1087
|
-
Convenient commands available are: rename, redef, remove, nodef and <a
|
1088
|
-
href="Module.html#M000324">wrap</a>. But any module method can be used.
|
1089
|
-
</p>
|
1090
|
-
<pre>
|
1091
|
-
module W
|
1092
|
-
def q ; "q" ; end
|
1093
|
-
def y ; "y" ; end
|
1094
|
-
end
|
1095
|
-
|
1096
|
-
class X
|
1097
|
-
integrate W do
|
1098
|
-
nodef :y
|
1099
|
-
end
|
1100
|
-
end
|
1101
|
-
|
1102
|
-
x = X.new
|
1103
|
-
x.q #=> "q"
|
1104
|
-
x.y #=> missing method error
|
1105
|
-
</pre>
|
1106
|
-
<p>
|
1107
|
-
This <a href="Module.html#M000315">is</a> like <a
|
1108
|
-
href="Module.html#M000320">revisal</a>, but <a
|
1109
|
-
href="Module.html#M000320">revisal</a> only returns the reconstructred
|
1110
|
-
module. It does not include it.
|
1111
|
-
</p>
|
1112
|
-
<pre>
|
1113
|
-
CREDIT: Trans
|
1114
|
-
</pre>
|
1115
|
-
</div>
|
1116
|
-
<div class="sourcecode">
|
1117
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000321_source')" id="l_M000321_source">show source</a> ]</p>
|
1118
|
-
<div id="M000321_source" class="dyn-source">
|
1119
|
-
<pre>
|
1120
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/revise.rb, line 51</span>
|
1121
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">integrate</span>(<span class="ruby-identifier">mod</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1122
|
-
<span class="ruby-comment cmt">#include mod.revisal( &blk )</span>
|
1123
|
-
<span class="ruby-identifier">m</span> = <span class="ruby-constant">Module</span>.<span class="ruby-identifier">new</span>{ <span class="ruby-identifier">include</span> <span class="ruby-identifier">mod</span> }
|
1124
|
-
<span class="ruby-identifier">m</span>.<span class="ruby-identifier">class_eval</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1125
|
-
<span class="ruby-identifier">include</span> <span class="ruby-identifier">m</span>
|
673
|
+
<span class="ruby-identifier">instance_methods</span>(<span class="ruby-keyword kw">true</span>).<span class="ruby-identifier">find</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">m</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">meth</span>.<span class="ruby-identifier">to_s</span> }
|
1126
674
|
<span class="ruby-keyword kw">end</span>
|
1127
675
|
</pre>
|
1128
676
|
</div>
|
@@ -1130,18 +678,18 @@ module. It does not include it.
|
|
1130
678
|
</div>
|
1131
679
|
<div class="method">
|
1132
680
|
<div class="title">
|
1133
|
-
<a name="
|
681
|
+
<a name="M000187"></a><b>integrate</b>(mod, &block)
|
1134
682
|
</div>
|
1135
683
|
<div class="description">
|
1136
684
|
<p>
|
1137
|
-
Using <a href="Module.html#
|
1138
|
-
href="Module.html#
|
1139
|
-
included <a href="Module.html#
|
685
|
+
Using <a href="Module.html#M000187">integrate</a> <a
|
686
|
+
href="Module.html#M000180">is</a> just like using include except the module
|
687
|
+
included <a href="Module.html#M000180">is</a> a reconstruction of the one
|
1140
688
|
given altered by the commands given in the block.
|
1141
689
|
</p>
|
1142
690
|
<p>
|
1143
691
|
Convenient commands available are: rename, redef, remove, nodef and <a
|
1144
|
-
href="Module.html#
|
692
|
+
href="Module.html#M000190">wrap</a>. But any module method can be used.
|
1145
693
|
</p>
|
1146
694
|
<pre>
|
1147
695
|
module W
|
@@ -1160,9 +708,9 @@ href="Module.html#M000324">wrap</a>. But any module method can be used.
|
|
1160
708
|
x.y #=> missing method error
|
1161
709
|
</pre>
|
1162
710
|
<p>
|
1163
|
-
This <a href="Module.html#
|
1164
|
-
href="Module.html#
|
1165
|
-
href="Module.html#
|
711
|
+
This <a href="Module.html#M000180">is</a> like <a
|
712
|
+
href="Module.html#M000186">revisal</a>, but <a
|
713
|
+
href="Module.html#M000186">revisal</a> only returns the reconstructred
|
1166
714
|
module. It does not include it.
|
1167
715
|
</p>
|
1168
716
|
<pre>
|
@@ -1170,8 +718,8 @@ module. It does not include it.
|
|
1170
718
|
</pre>
|
1171
719
|
</div>
|
1172
720
|
<div class="sourcecode">
|
1173
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1174
|
-
<div id="
|
721
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000187_source')" id="l_M000187_source">show source</a> ]</p>
|
722
|
+
<div id="M000187_source" class="dyn-source">
|
1175
723
|
<pre>
|
1176
724
|
<span class="ruby-comment cmt"># File lib/core/facets/module/revise.rb, line 51</span>
|
1177
725
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">integrate</span>(<span class="ruby-identifier">mod</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -1186,16 +734,16 @@ module. It does not include it.
|
|
1186
734
|
</div>
|
1187
735
|
<div class="method">
|
1188
736
|
<div class="title">
|
1189
|
-
<a name="
|
737
|
+
<a name="M000180"></a><b>is</b>(*mods)
|
1190
738
|
</div>
|
1191
739
|
<div class="description">
|
1192
740
|
<p>
|
1193
|
-
alias_method :<a href="Module.html#
|
741
|
+
alias_method :<a href="Module.html#M000180">is</a>, :include
|
1194
742
|
</p>
|
1195
743
|
</div>
|
1196
744
|
<div class="sourcecode">
|
1197
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1198
|
-
<div id="
|
745
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000180_source')" id="l_M000180_source">show source</a> ]</p>
|
746
|
+
<div id="M000180_source" class="dyn-source">
|
1199
747
|
<pre>
|
1200
748
|
<span class="ruby-comment cmt"># File lib/core/facets/module/is.rb, line 27</span>
|
1201
749
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">mods</span>)
|
@@ -1217,67 +765,7 @@ alias_method :<a href="Module.html#M000315">is</a>, :include
|
|
1217
765
|
</div>
|
1218
766
|
<div class="method">
|
1219
767
|
<div class="title">
|
1220
|
-
<a name="
|
1221
|
-
</div>
|
1222
|
-
<div class="description">
|
1223
|
-
<p>
|
1224
|
-
alias_method :<a href="Module.html#M000315">is</a>, :include
|
1225
|
-
</p>
|
1226
|
-
</div>
|
1227
|
-
<div class="sourcecode">
|
1228
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000315_source')" id="l_M000315_source">show source</a> ]</p>
|
1229
|
-
<div id="M000315_source" class="dyn-source">
|
1230
|
-
<pre>
|
1231
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/is.rb, line 27</span>
|
1232
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">mods</span>)
|
1233
|
-
<span class="ruby-identifier">mods</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">mod</span><span class="ruby-operator">|</span>
|
1234
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">mod</span>.<span class="ruby-identifier">const_defined?</span>(<span class="ruby-identifier">:Self</span>)
|
1235
|
-
<span class="ruby-identifier">extend</span> <span class="ruby-identifier">mod</span><span class="ruby-operator">::</span><span class="ruby-constant">Self</span>
|
1236
|
-
<span class="ruby-comment cmt"># pass it along if module</span>
|
1237
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">instance_of?</span>(<span class="ruby-constant">Module</span>)
|
1238
|
-
<span class="ruby-identifier">const_set</span>(<span class="ruby-identifier">:Self</span>, <span class="ruby-constant">Module</span>.<span class="ruby-identifier">new</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">const_defined?</span>(<span class="ruby-identifier">:Self</span>)
|
1239
|
-
<span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">:Self</span>).<span class="ruby-identifier">send</span>(<span class="ruby-identifier">:include</span>, <span class="ruby-identifier">mod</span><span class="ruby-operator">::</span><span class="ruby-constant">Self</span>)
|
1240
|
-
<span class="ruby-keyword kw">end</span>
|
1241
|
-
<span class="ruby-keyword kw">end</span>
|
1242
|
-
<span class="ruby-keyword kw">end</span>
|
1243
|
-
<span class="ruby-identifier">include</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">mods</span>)
|
1244
|
-
<span class="ruby-keyword kw">end</span>
|
1245
|
-
</pre>
|
1246
|
-
</div>
|
1247
|
-
</div>
|
1248
|
-
</div>
|
1249
|
-
<div class="method">
|
1250
|
-
<div class="title">
|
1251
|
-
<a name="M000314"></a><b>is?</b>(base)
|
1252
|
-
</div>
|
1253
|
-
<div class="description">
|
1254
|
-
<p>
|
1255
|
-
Is a given class or module an ancestor of this class or module?
|
1256
|
-
</p>
|
1257
|
-
<pre>
|
1258
|
-
class X ; end
|
1259
|
-
class Y < X ; end
|
1260
|
-
|
1261
|
-
Y.is?(X) #=> true
|
1262
|
-
|
1263
|
-
CREDIT: Trans
|
1264
|
-
</pre>
|
1265
|
-
</div>
|
1266
|
-
<div class="sourcecode">
|
1267
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000314_source')" id="l_M000314_source">show source</a> ]</p>
|
1268
|
-
<div id="M000314_source" class="dyn-source">
|
1269
|
-
<pre>
|
1270
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/is.rb, line 13</span>
|
1271
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is?</span>(<span class="ruby-identifier">base</span>)
|
1272
|
-
<span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">slice</span>(<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>).<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">base</span>)
|
1273
|
-
<span class="ruby-keyword kw">end</span>
|
1274
|
-
</pre>
|
1275
|
-
</div>
|
1276
|
-
</div>
|
1277
|
-
</div>
|
1278
|
-
<div class="method">
|
1279
|
-
<div class="title">
|
1280
|
-
<a name="M000345"></a><b>is?</b>(base)
|
768
|
+
<a name="M000179"></a><b>is?</b>(base)
|
1281
769
|
</div>
|
1282
770
|
<div class="description">
|
1283
771
|
<p>
|
@@ -1293,8 +781,8 @@ Is a given class or module an ancestor of this class or module?
|
|
1293
781
|
</pre>
|
1294
782
|
</div>
|
1295
783
|
<div class="sourcecode">
|
1296
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1297
|
-
<div id="
|
784
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000179_source')" id="l_M000179_source">show source</a> ]</p>
|
785
|
+
<div id="M000179_source" class="dyn-source">
|
1298
786
|
<pre>
|
1299
787
|
<span class="ruby-comment cmt"># File lib/core/facets/module/is.rb, line 13</span>
|
1300
788
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is?</span>(<span class="ruby-identifier">base</span>)
|
@@ -1306,31 +794,7 @@ Is a given class or module an ancestor of this class or module?
|
|
1306
794
|
</div>
|
1307
795
|
<div class="method">
|
1308
796
|
<div class="title">
|
1309
|
-
<a name="
|
1310
|
-
</div>
|
1311
|
-
<div class="description">
|
1312
|
-
<p>
|
1313
|
-
Translate a module name to a suitable method name.
|
1314
|
-
</p>
|
1315
|
-
<pre>
|
1316
|
-
My::CoolClass.methodize => "my__cool_class"
|
1317
|
-
</pre>
|
1318
|
-
</div>
|
1319
|
-
<div class="sourcecode">
|
1320
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000297_source')" id="l_M000297_source">show source</a> ]</p>
|
1321
|
-
<div id="M000297_source" class="dyn-source">
|
1322
|
-
<pre>
|
1323
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/methodize.rb, line 9</span>
|
1324
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
|
1325
|
-
<span class="ruby-identifier">name</span>.<span class="ruby-identifier">methodize</span>
|
1326
|
-
<span class="ruby-keyword kw">end</span>
|
1327
|
-
</pre>
|
1328
|
-
</div>
|
1329
|
-
</div>
|
1330
|
-
</div>
|
1331
|
-
<div class="method">
|
1332
|
-
<div class="title">
|
1333
|
-
<a name="M000328"></a><b>methodize</b>()
|
797
|
+
<a name="M000162"></a><b>methodize</b>()
|
1334
798
|
</div>
|
1335
799
|
<div class="description">
|
1336
800
|
<p>
|
@@ -1341,8 +805,8 @@ Translate a module name to a suitable method name.
|
|
1341
805
|
</pre>
|
1342
806
|
</div>
|
1343
807
|
<div class="sourcecode">
|
1344
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1345
|
-
<div id="
|
808
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">show source</a> ]</p>
|
809
|
+
<div id="M000162_source" class="dyn-source">
|
1346
810
|
<pre>
|
1347
811
|
<span class="ruby-comment cmt"># File lib/core/facets/module/methodize.rb, line 9</span>
|
1348
812
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
|
@@ -1354,43 +818,7 @@ Translate a module name to a suitable method name.
|
|
1354
818
|
</div>
|
1355
819
|
<div class="method">
|
1356
820
|
<div class="title">
|
1357
|
-
<a name="
|
1358
|
-
</div>
|
1359
|
-
<div class="description">
|
1360
|
-
<p>
|
1361
|
-
Returns the module‘s container module.
|
1362
|
-
</p>
|
1363
|
-
<pre>
|
1364
|
-
module Example
|
1365
|
-
class Demo
|
1366
|
-
end
|
1367
|
-
end
|
1368
|
-
|
1369
|
-
Example::Demo.modspace #=> Example
|
1370
|
-
</pre>
|
1371
|
-
<p>
|
1372
|
-
See also <a href="Module.html#M000325">Module#basename</a>.
|
1373
|
-
</p>
|
1374
|
-
<pre>
|
1375
|
-
CREDIT: Trans
|
1376
|
-
</pre>
|
1377
|
-
</div>
|
1378
|
-
<div class="sourcecode">
|
1379
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000348_source')" id="l_M000348_source">show source</a> ]</p>
|
1380
|
-
<div id="M000348_source" class="dyn-source">
|
1381
|
-
<pre>
|
1382
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/modspace.rb, line 16</span>
|
1383
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modspace</span>
|
1384
|
-
<span class="ruby-identifier">space</span> = <span class="ruby-identifier">name</span>[ <span class="ruby-value">0</span><span class="ruby-operator">...</span>(<span class="ruby-identifier">name</span>.<span class="ruby-identifier">rindex</span>( <span class="ruby-value str">'::'</span> ) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)]
|
1385
|
-
<span class="ruby-identifier">space</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-constant">Object</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">eval</span>(<span class="ruby-identifier">space</span>)
|
1386
|
-
<span class="ruby-keyword kw">end</span>
|
1387
|
-
</pre>
|
1388
|
-
</div>
|
1389
|
-
</div>
|
1390
|
-
</div>
|
1391
|
-
<div class="method">
|
1392
|
-
<div class="title">
|
1393
|
-
<a name="M000317"></a><b>modspace</b>()
|
821
|
+
<a name="M000182"></a><b>modspace</b>()
|
1394
822
|
</div>
|
1395
823
|
<div class="description">
|
1396
824
|
<p>
|
@@ -1405,15 +833,15 @@ Returns the module‘s container module.
|
|
1405
833
|
Example::Demo.modspace #=> Example
|
1406
834
|
</pre>
|
1407
835
|
<p>
|
1408
|
-
See also <a href="Module.html#
|
836
|
+
See also <a href="Module.html#M000191">Module#basename</a>.
|
1409
837
|
</p>
|
1410
838
|
<pre>
|
1411
839
|
CREDIT: Trans
|
1412
840
|
</pre>
|
1413
841
|
</div>
|
1414
842
|
<div class="sourcecode">
|
1415
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1416
|
-
<div id="
|
843
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000182_source')" id="l_M000182_source">show source</a> ]</p>
|
844
|
+
<div id="M000182_source" class="dyn-source">
|
1417
845
|
<pre>
|
1418
846
|
<span class="ruby-comment cmt"># File lib/core/facets/module/modspace.rb, line 16</span>
|
1419
847
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modspace</span>
|
@@ -1426,7 +854,7 @@ See also <a href="Module.html#M000325">Module#basename</a>.
|
|
1426
854
|
</div>
|
1427
855
|
<div class="method">
|
1428
856
|
<div class="title">
|
1429
|
-
<a name="
|
857
|
+
<a name="M000175"></a><b>module_load</b>( path )
|
1430
858
|
</div>
|
1431
859
|
<div class="description">
|
1432
860
|
<p>
|
@@ -1438,12 +866,11 @@ Load file into module/class namespace.
|
|
1438
866
|
</div>
|
1439
867
|
<div class="aka">
|
1440
868
|
This method is also aliased as
|
1441
|
-
<a href="Module.html#
|
1442
|
-
<a href="Module.html#M000344">class_load</a>
|
869
|
+
<a href="Module.html#M000178">class_load</a>
|
1443
870
|
</div>
|
1444
871
|
<div class="sourcecode">
|
1445
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1446
|
-
<div id="
|
872
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000175_source')" id="l_M000175_source">show source</a> ]</p>
|
873
|
+
<div id="M000175_source" class="dyn-source">
|
1447
874
|
<pre>
|
1448
875
|
<span class="ruby-comment cmt"># File lib/core/facets/module/module_load.rb, line 9</span>
|
1449
876
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">module_load</span>( <span class="ruby-identifier">path</span> )
|
@@ -1465,51 +892,7 @@ Load file into module/class namespace.
|
|
1465
892
|
</div>
|
1466
893
|
<div class="method">
|
1467
894
|
<div class="title">
|
1468
|
-
<a name="
|
1469
|
-
</div>
|
1470
|
-
<div class="description">
|
1471
|
-
<p>
|
1472
|
-
Load file into module/class namespace.
|
1473
|
-
</p>
|
1474
|
-
<pre>
|
1475
|
-
CREDIT: Trans
|
1476
|
-
</pre>
|
1477
|
-
</div>
|
1478
|
-
<div class="sourcecode">
|
1479
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000341_source')" id="l_M000341_source">show source</a> ]</p>
|
1480
|
-
<div id="M000341_source" class="dyn-source">
|
1481
|
-
<pre>
|
1482
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/module_load.rb, line 9</span>
|
1483
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">module_load</span>( <span class="ruby-identifier">path</span> )
|
1484
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">path</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^[\/~.]/</span>
|
1485
|
-
<span class="ruby-identifier">file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">path</span>)
|
1486
|
-
<span class="ruby-keyword kw">else</span>
|
1487
|
-
<span class="ruby-identifier">$LOAD_PATH</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">lp</span><span class="ruby-operator">|</span>
|
1488
|
-
<span class="ruby-identifier">file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">lp</span>,<span class="ruby-identifier">path</span>)
|
1489
|
-
<span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file</span>)
|
1490
|
-
<span class="ruby-identifier">file</span> = <span class="ruby-keyword kw">nil</span>
|
1491
|
-
<span class="ruby-keyword kw">end</span>
|
1492
|
-
<span class="ruby-keyword kw">end</span>
|
1493
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">LoadError</span>, <span class="ruby-node">"no such file to load -- #{path}"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">file</span>
|
1494
|
-
<span class="ruby-identifier">module_eval</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">file</span>))
|
1495
|
-
<span class="ruby-keyword kw">end</span>
|
1496
|
-
</pre>
|
1497
|
-
</div>
|
1498
|
-
</div>
|
1499
|
-
</div>
|
1500
|
-
<div class="method">
|
1501
|
-
<div class="title">
|
1502
|
-
<a name="M000309"></a><b>module_method_defined?</b>(meth)
|
1503
|
-
</div>
|
1504
|
-
<div class="description">
|
1505
|
-
<p>
|
1506
|
-
Alias for singleton_method_defined?
|
1507
|
-
</p>
|
1508
|
-
</div>
|
1509
|
-
</div>
|
1510
|
-
<div class="method">
|
1511
|
-
<div class="title">
|
1512
|
-
<a name="M000340"></a><b>module_method_defined?</b>(meth)
|
895
|
+
<a name="M000174"></a><b>module_method_defined?</b>(meth)
|
1513
896
|
</div>
|
1514
897
|
<div class="description">
|
1515
898
|
<p>
|
@@ -1519,7 +902,7 @@ Alias for singleton_method_defined?
|
|
1519
902
|
</div>
|
1520
903
|
<div class="method">
|
1521
904
|
<div class="title">
|
1522
|
-
<a name="
|
905
|
+
<a name="M000176"></a><b>module_require</b>( path )
|
1523
906
|
</div>
|
1524
907
|
<div class="description">
|
1525
908
|
<p>
|
@@ -1531,12 +914,11 @@ Require file into module/class namespace.
|
|
1531
914
|
</div>
|
1532
915
|
<div class="aka">
|
1533
916
|
This method is also aliased as
|
1534
|
-
<a href="Module.html#
|
1535
|
-
<a href="Module.html#M000343">class_require</a>
|
917
|
+
<a href="Module.html#M000177">class_require</a>
|
1536
918
|
</div>
|
1537
919
|
<div class="sourcecode">
|
1538
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1539
|
-
<div id="
|
920
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000176_source')" id="l_M000176_source">show source</a> ]</p>
|
921
|
+
<div id="M000176_source" class="dyn-source">
|
1540
922
|
<pre>
|
1541
923
|
<span class="ruby-comment cmt"># File lib/core/facets/module/module_load.rb, line 27</span>
|
1542
924
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">module_require</span>( <span class="ruby-identifier">path</span> )
|
@@ -1560,94 +942,19 @@ Require file into module/class namespace.
|
|
1560
942
|
<span class="ruby-identifier">script</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">file</span>)
|
1561
943
|
<span class="ruby-identifier">module_eval</span>(<span class="ruby-identifier">script</span>)
|
1562
944
|
<span class="ruby-keyword kw">true</span>
|
1563
|
-
<span class="ruby-keyword kw">end</span>
|
1564
|
-
<span class="ruby-keyword kw">end</span>
|
1565
|
-
</pre>
|
1566
|
-
</div>
|
1567
|
-
</div>
|
1568
|
-
</div>
|
1569
|
-
<div class="method">
|
1570
|
-
<div class="title">
|
1571
|
-
<a name="M000342"></a><b>module_require</b>( path )
|
1572
|
-
</div>
|
1573
|
-
<div class="description">
|
1574
|
-
<p>
|
1575
|
-
Require file into module/class namespace.
|
1576
|
-
</p>
|
1577
|
-
<pre>
|
1578
|
-
CREDIT: Trans
|
1579
|
-
</pre>
|
1580
|
-
</div>
|
1581
|
-
<div class="sourcecode">
|
1582
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000342_source')" id="l_M000342_source">show source</a> ]</p>
|
1583
|
-
<div id="M000342_source" class="dyn-source">
|
1584
|
-
<pre>
|
1585
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/module_load.rb, line 27</span>
|
1586
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">module_require</span>( <span class="ruby-identifier">path</span> )
|
1587
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">path</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^[\/~.]/</span>
|
1588
|
-
<span class="ruby-identifier">file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">path</span>)
|
1589
|
-
<span class="ruby-keyword kw">else</span>
|
1590
|
-
<span class="ruby-identifier">$LOAD_PATH</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">lp</span><span class="ruby-operator">|</span>
|
1591
|
-
<span class="ruby-identifier">file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">lp</span>,<span class="ruby-identifier">path</span>)
|
1592
|
-
<span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file</span>)
|
1593
|
-
<span class="ruby-identifier">file</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">'.rb'</span>
|
1594
|
-
<span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file</span>)
|
1595
|
-
<span class="ruby-identifier">file</span> = <span class="ruby-keyword kw">nil</span>
|
1596
|
-
<span class="ruby-keyword kw">end</span>
|
1597
|
-
<span class="ruby-keyword kw">end</span>
|
1598
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">LoadError</span>, <span class="ruby-node">"no such file to load -- #{path}"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">file</span>
|
1599
|
-
<span class="ruby-ivar">@loaded</span> <span class="ruby-operator">||=</span> {}
|
1600
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@loaded</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-identifier">file</span>)
|
1601
|
-
<span class="ruby-keyword kw">false</span>
|
1602
|
-
<span class="ruby-keyword kw">else</span>
|
1603
|
-
<span class="ruby-ivar">@loaded</span>[<span class="ruby-identifier">file</span>] = <span class="ruby-keyword kw">true</span>
|
1604
|
-
<span class="ruby-identifier">script</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">file</span>)
|
1605
|
-
<span class="ruby-identifier">module_eval</span>(<span class="ruby-identifier">script</span>)
|
1606
|
-
<span class="ruby-keyword kw">true</span>
|
1607
|
-
<span class="ruby-keyword kw">end</span>
|
1608
|
-
<span class="ruby-keyword kw">end</span>
|
1609
|
-
</pre>
|
1610
|
-
</div>
|
1611
|
-
</div>
|
1612
|
-
</div>
|
1613
|
-
<div class="method">
|
1614
|
-
<div class="title">
|
1615
|
-
<a name="M000347"></a><b>nesting</b>()
|
1616
|
-
</div>
|
1617
|
-
<div class="description">
|
1618
|
-
<p>
|
1619
|
-
Show a modules <a href="Module.html#M000316">nesting</a> in module
|
1620
|
-
namespaces.
|
1621
|
-
</p>
|
1622
|
-
<pre>
|
1623
|
-
A::B::C.nesting #=> [ A, A::B ]
|
1624
|
-
|
1625
|
-
CREDIT: Trans
|
1626
|
-
</pre>
|
1627
|
-
</div>
|
1628
|
-
<div class="sourcecode">
|
1629
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000347_source')" id="l_M000347_source">show source</a> ]</p>
|
1630
|
-
<div id="M000347_source" class="dyn-source">
|
1631
|
-
<pre>
|
1632
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/nesting.rb, line 9</span>
|
1633
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nesting</span>
|
1634
|
-
<span class="ruby-identifier">n</span> = []
|
1635
|
-
<span class="ruby-identifier">name</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/::/</span>).<span class="ruby-identifier">inject</span>(<span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">mod</span>, <span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
|
1636
|
-
<span class="ruby-identifier">c</span> = <span class="ruby-identifier">mod</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">name</span>) ; <span class="ruby-identifier">n</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">c</span> ; <span class="ruby-identifier">c</span>
|
945
|
+
<span class="ruby-keyword kw">end</span>
|
1637
946
|
<span class="ruby-keyword kw">end</span>
|
1638
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">n</span>
|
1639
|
-
<span class="ruby-keyword kw">end</span>
|
1640
947
|
</pre>
|
1641
948
|
</div>
|
1642
949
|
</div>
|
1643
950
|
</div>
|
1644
951
|
<div class="method">
|
1645
952
|
<div class="title">
|
1646
|
-
<a name="
|
953
|
+
<a name="M000181"></a><b>nesting</b>()
|
1647
954
|
</div>
|
1648
955
|
<div class="description">
|
1649
956
|
<p>
|
1650
|
-
Show a modules <a href="Module.html#
|
957
|
+
Show a modules <a href="Module.html#M000181">nesting</a> in module
|
1651
958
|
namespaces.
|
1652
959
|
</p>
|
1653
960
|
<pre>
|
@@ -1657,8 +964,8 @@ namespaces.
|
|
1657
964
|
</pre>
|
1658
965
|
</div>
|
1659
966
|
<div class="sourcecode">
|
1660
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1661
|
-
<div id="
|
967
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000181_source')" id="l_M000181_source">show source</a> ]</p>
|
968
|
+
<div id="M000181_source" class="dyn-source">
|
1662
969
|
<pre>
|
1663
970
|
<span class="ruby-comment cmt"># File lib/core/facets/module/nesting.rb, line 9</span>
|
1664
971
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nesting</span>
|
@@ -1674,41 +981,7 @@ namespaces.
|
|
1674
981
|
</div>
|
1675
982
|
<div class="method">
|
1676
983
|
<div class="title">
|
1677
|
-
<a name="
|
1678
|
-
</div>
|
1679
|
-
<div class="description">
|
1680
|
-
<p>
|
1681
|
-
Converts a class name to a unix path
|
1682
|
-
</p>
|
1683
|
-
<p>
|
1684
|
-
Examples
|
1685
|
-
</p>
|
1686
|
-
<pre>
|
1687
|
-
CoolClass.pathize #=> "cool_class"
|
1688
|
-
My::CoolClass.pathize #=> "my/cool_class"
|
1689
|
-
</pre>
|
1690
|
-
</div>
|
1691
|
-
<div class="sourcecode">
|
1692
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000305_source')" id="l_M000305_source">show source</a> ]</p>
|
1693
|
-
<div id="M000305_source" class="dyn-source">
|
1694
|
-
<pre>
|
1695
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/pathize.rb, line 11</span>
|
1696
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
|
1697
|
-
<span class="ruby-identifier">name</span>.<span class="ruby-identifier">pathize</span>
|
1698
|
-
<span class="ruby-comment cmt">#to_s.</span>
|
1699
|
-
<span class="ruby-comment cmt"># gsub(/::/, '/').</span>
|
1700
|
-
<span class="ruby-comment cmt"># gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').</span>
|
1701
|
-
<span class="ruby-comment cmt"># gsub(/([a-z\d])([A-Z])/,'\1_\2').</span>
|
1702
|
-
<span class="ruby-comment cmt"># tr("-", "_").</span>
|
1703
|
-
<span class="ruby-comment cmt"># downcase</span>
|
1704
|
-
<span class="ruby-keyword kw">end</span>
|
1705
|
-
</pre>
|
1706
|
-
</div>
|
1707
|
-
</div>
|
1708
|
-
</div>
|
1709
|
-
<div class="method">
|
1710
|
-
<div class="title">
|
1711
|
-
<a name="M000336"></a><b>pathize</b>()
|
984
|
+
<a name="M000170"></a><b>pathize</b>()
|
1712
985
|
</div>
|
1713
986
|
<div class="description">
|
1714
987
|
<p>
|
@@ -1723,8 +996,8 @@ Examples
|
|
1723
996
|
</pre>
|
1724
997
|
</div>
|
1725
998
|
<div class="sourcecode">
|
1726
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1727
|
-
<div id="
|
999
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000170_source')" id="l_M000170_source">show source</a> ]</p>
|
1000
|
+
<div id="M000170_source" class="dyn-source">
|
1728
1001
|
<pre>
|
1729
1002
|
<span class="ruby-comment cmt"># File lib/core/facets/module/pathize.rb, line 11</span>
|
1730
1003
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
|
@@ -1742,44 +1015,7 @@ Examples
|
|
1742
1015
|
</div>
|
1743
1016
|
<div class="method">
|
1744
1017
|
<div class="title">
|
1745
|
-
<a name="
|
1746
|
-
</div>
|
1747
|
-
<div class="description">
|
1748
|
-
<p>
|
1749
|
-
Prepend an <tt>aspect</tt> module to a module.
|
1750
|
-
</p>
|
1751
|
-
<pre>
|
1752
|
-
module X
|
1753
|
-
def x; "x"; end
|
1754
|
-
end
|
1755
|
-
|
1756
|
-
module U
|
1757
|
-
def x; '{' + super + '}'; end
|
1758
|
-
end
|
1759
|
-
|
1760
|
-
X.prepend U
|
1761
|
-
|
1762
|
-
X.x # => "{x}"
|
1763
|
-
|
1764
|
-
CREDIT Trans
|
1765
|
-
</pre>
|
1766
|
-
</div>
|
1767
|
-
<div class="sourcecode">
|
1768
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000295_source')" id="l_M000295_source">show source</a> ]</p>
|
1769
|
-
<div id="M000295_source" class="dyn-source">
|
1770
|
-
<pre>
|
1771
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/prepend.rb, line 19</span>
|
1772
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prepend</span>(<span class="ruby-identifier">aspect</span>)
|
1773
|
-
<span class="ruby-identifier">aspect</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:include</span>, <span class="ruby-keyword kw">self</span>)
|
1774
|
-
<span class="ruby-identifier">extend</span> <span class="ruby-identifier">aspect</span>
|
1775
|
-
<span class="ruby-keyword kw">end</span>
|
1776
|
-
</pre>
|
1777
|
-
</div>
|
1778
|
-
</div>
|
1779
|
-
</div>
|
1780
|
-
<div class="method">
|
1781
|
-
<div class="title">
|
1782
|
-
<a name="M000326"></a><b>prepend</b>(aspect)
|
1018
|
+
<a name="M000160"></a><b>prepend</b>(aspect)
|
1783
1019
|
</div>
|
1784
1020
|
<div class="description">
|
1785
1021
|
<p>
|
@@ -1802,8 +1038,8 @@ Prepend an <tt>aspect</tt> module to a module.
|
|
1802
1038
|
</pre>
|
1803
1039
|
</div>
|
1804
1040
|
<div class="sourcecode">
|
1805
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1806
|
-
<div id="
|
1041
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">show source</a> ]</p>
|
1042
|
+
<div id="M000160_source" class="dyn-source">
|
1807
1043
|
<pre>
|
1808
1044
|
<span class="ruby-comment cmt"># File lib/core/facets/module/prepend.rb, line 19</span>
|
1809
1045
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prepend</span>(<span class="ruby-identifier">aspect</span>)
|
@@ -1816,29 +1052,7 @@ Prepend an <tt>aspect</tt> module to a module.
|
|
1816
1052
|
</div>
|
1817
1053
|
<div class="method">
|
1818
1054
|
<div class="title">
|
1819
|
-
<a name="
|
1820
|
-
</div>
|
1821
|
-
<div class="description">
|
1822
|
-
<p>
|
1823
|
-
Like conflict?, but checks only private methods.
|
1824
|
-
</p>
|
1825
|
-
</div>
|
1826
|
-
<div class="sourcecode">
|
1827
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000331_source')" id="l_M000331_source">show source</a> ]</p>
|
1828
|
-
<div id="M000331_source" class="dyn-source">
|
1829
|
-
<pre>
|
1830
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 43</span>
|
1831
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">private_conflict?</span>(<span class="ruby-identifier">other</span>)
|
1832
|
-
<span class="ruby-identifier">c</span> = <span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">private_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1833
|
-
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">false</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">c</span>
|
1834
|
-
<span class="ruby-keyword kw">end</span>
|
1835
|
-
</pre>
|
1836
|
-
</div>
|
1837
|
-
</div>
|
1838
|
-
</div>
|
1839
|
-
<div class="method">
|
1840
|
-
<div class="title">
|
1841
|
-
<a name="M000300"></a><b>private_conflict?</b>(other)
|
1055
|
+
<a name="M000165"></a><b>private_conflict?</b>(other)
|
1842
1056
|
</div>
|
1843
1057
|
<div class="description">
|
1844
1058
|
<p>
|
@@ -1846,8 +1060,8 @@ Like conflict?, but checks only private methods.
|
|
1846
1060
|
</p>
|
1847
1061
|
</div>
|
1848
1062
|
<div class="sourcecode">
|
1849
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1850
|
-
<div id="
|
1063
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000165_source')" id="l_M000165_source">show source</a> ]</p>
|
1064
|
+
<div id="M000165_source" class="dyn-source">
|
1851
1065
|
<pre>
|
1852
1066
|
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 43</span>
|
1853
1067
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">private_conflict?</span>(<span class="ruby-identifier">other</span>)
|
@@ -1860,29 +1074,7 @@ Like conflict?, but checks only private methods.
|
|
1860
1074
|
</div>
|
1861
1075
|
<div class="method">
|
1862
1076
|
<div class="title">
|
1863
|
-
<a name="
|
1864
|
-
</div>
|
1865
|
-
<div class="description">
|
1866
|
-
<p>
|
1867
|
-
Like conflict?, but checks only protected methods.
|
1868
|
-
</p>
|
1869
|
-
</div>
|
1870
|
-
<div class="sourcecode">
|
1871
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000301_source')" id="l_M000301_source">show source</a> ]</p>
|
1872
|
-
<div id="M000301_source" class="dyn-source">
|
1873
|
-
<pre>
|
1874
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 50</span>
|
1875
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protected_conflict?</span>(<span class="ruby-identifier">other</span>)
|
1876
|
-
<span class="ruby-identifier">c</span> = <span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">protected_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1877
|
-
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">false</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">c</span>
|
1878
|
-
<span class="ruby-keyword kw">end</span>
|
1879
|
-
</pre>
|
1880
|
-
</div>
|
1881
|
-
</div>
|
1882
|
-
</div>
|
1883
|
-
<div class="method">
|
1884
|
-
<div class="title">
|
1885
|
-
<a name="M000332"></a><b>protected_conflict?</b>(other)
|
1077
|
+
<a name="M000166"></a><b>protected_conflict?</b>(other)
|
1886
1078
|
</div>
|
1887
1079
|
<div class="description">
|
1888
1080
|
<p>
|
@@ -1890,8 +1082,8 @@ Like conflict?, but checks only protected methods.
|
|
1890
1082
|
</p>
|
1891
1083
|
</div>
|
1892
1084
|
<div class="sourcecode">
|
1893
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1894
|
-
<div id="
|
1085
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000166_source')" id="l_M000166_source">show source</a> ]</p>
|
1086
|
+
<div id="M000166_source" class="dyn-source">
|
1895
1087
|
<pre>
|
1896
1088
|
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 50</span>
|
1897
1089
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protected_conflict?</span>(<span class="ruby-identifier">other</span>)
|
@@ -1904,29 +1096,7 @@ Like conflict?, but checks only protected methods.
|
|
1904
1096
|
</div>
|
1905
1097
|
<div class="method">
|
1906
1098
|
<div class="title">
|
1907
|
-
<a name="
|
1908
|
-
</div>
|
1909
|
-
<div class="description">
|
1910
|
-
<p>
|
1911
|
-
Like conflict?, but checks only public methods.
|
1912
|
-
</p>
|
1913
|
-
</div>
|
1914
|
-
<div class="sourcecode">
|
1915
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000299_source')" id="l_M000299_source">show source</a> ]</p>
|
1916
|
-
<div id="M000299_source" class="dyn-source">
|
1917
|
-
<pre>
|
1918
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 36</span>
|
1919
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">public_conflict?</span>(<span class="ruby-identifier">other</span>)
|
1920
|
-
<span class="ruby-identifier">c</span> = <span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword kw">true</span>)
|
1921
|
-
<span class="ruby-identifier">c</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">false</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">c</span>
|
1922
|
-
<span class="ruby-keyword kw">end</span>
|
1923
|
-
</pre>
|
1924
|
-
</div>
|
1925
|
-
</div>
|
1926
|
-
</div>
|
1927
|
-
<div class="method">
|
1928
|
-
<div class="title">
|
1929
|
-
<a name="M000330"></a><b>public_conflict?</b>(other)
|
1099
|
+
<a name="M000164"></a><b>public_conflict?</b>(other)
|
1930
1100
|
</div>
|
1931
1101
|
<div class="description">
|
1932
1102
|
<p>
|
@@ -1934,8 +1104,8 @@ Like conflict?, but checks only public methods.
|
|
1934
1104
|
</p>
|
1935
1105
|
</div>
|
1936
1106
|
<div class="sourcecode">
|
1937
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
1938
|
-
<div id="
|
1107
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000164_source')" id="l_M000164_source">show source</a> ]</p>
|
1108
|
+
<div id="M000164_source" class="dyn-source">
|
1939
1109
|
<pre>
|
1940
1110
|
<span class="ruby-comment cmt"># File lib/core/facets/module/conflict.rb, line 36</span>
|
1941
1111
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">public_conflict?</span>(<span class="ruby-identifier">other</span>)
|
@@ -1948,27 +1118,17 @@ Like conflict?, but checks only public methods.
|
|
1948
1118
|
</div>
|
1949
1119
|
<div class="method">
|
1950
1120
|
<div class="title">
|
1951
|
-
<a name="
|
1952
|
-
</div>
|
1953
|
-
<div class="description">
|
1954
|
-
<p>
|
1955
|
-
Alias for <a href="Module.html#M000319">revise</a>
|
1956
|
-
</p>
|
1957
|
-
</div>
|
1958
|
-
</div>
|
1959
|
-
<div class="method">
|
1960
|
-
<div class="title">
|
1961
|
-
<a name="M000351"></a><b>revisal</b>(&blk)
|
1121
|
+
<a name="M000186"></a><b>revisal</b>(&blk)
|
1962
1122
|
</div>
|
1963
1123
|
<div class="description">
|
1964
1124
|
<p>
|
1965
|
-
Alias for <a href="Module.html#
|
1125
|
+
Alias for <a href="Module.html#M000185">revise</a>
|
1966
1126
|
</p>
|
1967
1127
|
</div>
|
1968
1128
|
</div>
|
1969
1129
|
<div class="method">
|
1970
1130
|
<div class="title">
|
1971
|
-
<a name="
|
1131
|
+
<a name="M000185"></a><b>revise</b>(&blk)
|
1972
1132
|
</div>
|
1973
1133
|
<div class="description">
|
1974
1134
|
<p>
|
@@ -1981,40 +1141,11 @@ into the new one.
|
|
1981
1141
|
</div>
|
1982
1142
|
<div class="aka">
|
1983
1143
|
This method is also aliased as
|
1984
|
-
<a href="Module.html#
|
1985
|
-
<a href="Module.html#M000351">revisal</a>
|
1986
|
-
</div>
|
1987
|
-
<div class="sourcecode">
|
1988
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000319_source')" id="l_M000319_source">show source</a> ]</p>
|
1989
|
-
<div id="M000319_source" class="dyn-source">
|
1990
|
-
<pre>
|
1991
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/revise.rb, line 13</span>
|
1992
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">revise</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
1993
|
-
<span class="ruby-identifier">base</span> = <span class="ruby-keyword kw">self</span>
|
1994
|
-
<span class="ruby-identifier">nm</span> = <span class="ruby-constant">Module</span>.<span class="ruby-identifier">new</span>{ <span class="ruby-identifier">include</span> <span class="ruby-identifier">base</span> }
|
1995
|
-
<span class="ruby-identifier">nm</span>.<span class="ruby-identifier">class_eval</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
1996
|
-
<span class="ruby-identifier">nm</span>
|
1997
|
-
<span class="ruby-keyword kw">end</span>
|
1998
|
-
</pre>
|
1999
|
-
</div>
|
2000
|
-
</div>
|
1144
|
+
<a href="Module.html#M000186">revisal</a>
|
2001
1145
|
</div>
|
2002
|
-
<div class="method">
|
2003
|
-
<div class="title">
|
2004
|
-
<a name="M000350"></a><b>revise</b>(&blk)
|
2005
|
-
</div>
|
2006
|
-
<div class="description">
|
2007
|
-
<p>
|
2008
|
-
Return a new module based on another. This includes the original module
|
2009
|
-
into the new one.
|
2010
|
-
</p>
|
2011
|
-
<pre>
|
2012
|
-
CREDIT: Trans
|
2013
|
-
</pre>
|
2014
|
-
</div>
|
2015
1146
|
<div class="sourcecode">
|
2016
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2017
|
-
<div id="
|
1147
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000185_source')" id="l_M000185_source">show source</a> ]</p>
|
1148
|
+
<div id="M000185_source" class="dyn-source">
|
2018
1149
|
<pre>
|
2019
1150
|
<span class="ruby-comment cmt"># File lib/core/facets/module/revise.rb, line 13</span>
|
2020
1151
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">revise</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -2029,38 +1160,12 @@ into the new one.
|
|
2029
1160
|
</div>
|
2030
1161
|
<div class="method">
|
2031
1162
|
<div class="title">
|
2032
|
-
<a name="
|
2033
|
-
</div>
|
2034
|
-
<div class="description">
|
2035
|
-
<p>
|
2036
|
-
Query whether a normal (singleton) method <a
|
2037
|
-
href="Module.html#M000315">is</a> defined for the module.
|
2038
|
-
</p>
|
2039
|
-
<pre>
|
2040
|
-
CREDIT: Gavin Sinclair
|
2041
|
-
CREDIT: Noah Gibbs
|
2042
|
-
</pre>
|
2043
|
-
</div>
|
2044
|
-
<div class="sourcecode">
|
2045
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000339_source')" id="l_M000339_source">show source</a> ]</p>
|
2046
|
-
<div id="M000339_source" class="dyn-source">
|
2047
|
-
<pre>
|
2048
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 33</span>
|
2049
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_method_defined?</span>(<span class="ruby-identifier">meth</span>)
|
2050
|
-
<span class="ruby-identifier">singleton_methods</span>(<span class="ruby-keyword kw">true</span>).<span class="ruby-identifier">find</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">m</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">meth</span>.<span class="ruby-identifier">to_s</span> }
|
2051
|
-
<span class="ruby-keyword kw">end</span>
|
2052
|
-
</pre>
|
2053
|
-
</div>
|
2054
|
-
</div>
|
2055
|
-
</div>
|
2056
|
-
<div class="method">
|
2057
|
-
<div class="title">
|
2058
|
-
<a name="M000308"></a><b>singleton_method_defined?</b>(meth)
|
1163
|
+
<a name="M000173"></a><b>singleton_method_defined?</b>(meth)
|
2059
1164
|
</div>
|
2060
1165
|
<div class="description">
|
2061
1166
|
<p>
|
2062
1167
|
Query whether a normal (singleton) method <a
|
2063
|
-
href="Module.html#
|
1168
|
+
href="Module.html#M000180">is</a> defined for the module.
|
2064
1169
|
</p>
|
2065
1170
|
<pre>
|
2066
1171
|
CREDIT: Gavin Sinclair
|
@@ -2069,12 +1174,11 @@ href="Module.html#M000315">is</a> defined for the module.
|
|
2069
1174
|
</div>
|
2070
1175
|
<div class="aka">
|
2071
1176
|
This method is also aliased as
|
2072
|
-
<a href="Module.html#
|
2073
|
-
<a href="Module.html#M000340">module_method_defined?</a>
|
1177
|
+
<a href="Module.html#M000174">module_method_defined?</a>
|
2074
1178
|
</div>
|
2075
1179
|
<div class="sourcecode">
|
2076
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2077
|
-
<div id="
|
1180
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000173_source')" id="l_M000173_source">show source</a> ]</p>
|
1181
|
+
<div id="M000173_source" class="dyn-source">
|
2078
1182
|
<pre>
|
2079
1183
|
<span class="ruby-comment cmt"># File lib/core/facets/module/instance_methods.rb, line 33</span>
|
2080
1184
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singleton_method_defined?</span>(<span class="ruby-identifier">meth</span>)
|
@@ -2086,47 +1190,7 @@ href="Module.html#M000315">is</a> defined for the module.
|
|
2086
1190
|
</div>
|
2087
1191
|
<div class="method">
|
2088
1192
|
<div class="title">
|
2089
|
-
<a name="
|
2090
|
-
</div>
|
2091
|
-
<div class="description">
|
2092
|
-
<p>
|
2093
|
-
Returns the name of module‘s container module.
|
2094
|
-
</p>
|
2095
|
-
<pre>
|
2096
|
-
module Example
|
2097
|
-
class Demo
|
2098
|
-
end
|
2099
|
-
end
|
2100
|
-
|
2101
|
-
Demo.name #=> "Example::Demo"
|
2102
|
-
Demo.spacename #=> "Example"
|
2103
|
-
</pre>
|
2104
|
-
<p>
|
2105
|
-
This used to be called <tt>dirname</tt>.
|
2106
|
-
</p>
|
2107
|
-
<p>
|
2108
|
-
See also <a href="Module.html#M000325">Module#basename</a>.
|
2109
|
-
</p>
|
2110
|
-
<pre>
|
2111
|
-
CREDIT: Trans
|
2112
|
-
</pre>
|
2113
|
-
</div>
|
2114
|
-
<div class="sourcecode">
|
2115
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000353_source')" id="l_M000353_source">show source</a> ]</p>
|
2116
|
-
<div id="M000353_source" class="dyn-source">
|
2117
|
-
<pre>
|
2118
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/spacename.rb, line 19</span>
|
2119
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">spacename</span>
|
2120
|
-
<span class="ruby-identifier">name</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span>(<span class="ruby-identifier">name</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-value str">'::'</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>)]
|
2121
|
-
<span class="ruby-comment cmt">#name.gsub(/::[^:]*$/, '')</span>
|
2122
|
-
<span class="ruby-keyword kw">end</span>
|
2123
|
-
</pre>
|
2124
|
-
</div>
|
2125
|
-
</div>
|
2126
|
-
</div>
|
2127
|
-
<div class="method">
|
2128
|
-
<div class="title">
|
2129
|
-
<a name="M000322"></a><b>spacename</b>()
|
1193
|
+
<a name="M000188"></a><b>spacename</b>()
|
2130
1194
|
</div>
|
2131
1195
|
<div class="description">
|
2132
1196
|
<p>
|
@@ -2145,15 +1209,15 @@ Returns the name of module‘s container module.
|
|
2145
1209
|
This used to be called <tt>dirname</tt>.
|
2146
1210
|
</p>
|
2147
1211
|
<p>
|
2148
|
-
See also <a href="Module.html#
|
1212
|
+
See also <a href="Module.html#M000191">Module#basename</a>.
|
2149
1213
|
</p>
|
2150
1214
|
<pre>
|
2151
1215
|
CREDIT: Trans
|
2152
1216
|
</pre>
|
2153
1217
|
</div>
|
2154
1218
|
<div class="sourcecode">
|
2155
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2156
|
-
<div id="
|
1219
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000188_source')" id="l_M000188_source">show source</a> ]</p>
|
1220
|
+
<div id="M000188_source" class="dyn-source">
|
2157
1221
|
<pre>
|
2158
1222
|
<span class="ruby-comment cmt"># File lib/core/facets/module/spacename.rb, line 19</span>
|
2159
1223
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">spacename</span>
|
@@ -2166,32 +1230,22 @@ See also <a href="Module.html#M000325">Module#basename</a>.
|
|
2166
1230
|
</div>
|
2167
1231
|
<div class="method">
|
2168
1232
|
<div class="title">
|
2169
|
-
<a name="
|
2170
|
-
</div>
|
2171
|
-
<div class="description">
|
2172
|
-
<p>
|
2173
|
-
Alias for <a href="Module.html#M000323">wrap_method</a>
|
2174
|
-
</p>
|
2175
|
-
</div>
|
2176
|
-
</div>
|
2177
|
-
<div class="method">
|
2178
|
-
<div class="title">
|
2179
|
-
<a name="M000324"></a><b>wrap</b>( sym, &blk )
|
1233
|
+
<a name="M000190"></a><b>wrap</b>( sym, &blk )
|
2180
1234
|
</div>
|
2181
1235
|
<div class="description">
|
2182
1236
|
<p>
|
2183
|
-
Alias for <a href="Module.html#
|
1237
|
+
Alias for <a href="Module.html#M000189">wrap_method</a>
|
2184
1238
|
</p>
|
2185
1239
|
</div>
|
2186
1240
|
</div>
|
2187
1241
|
<div class="method">
|
2188
1242
|
<div class="title">
|
2189
|
-
<a name="
|
1243
|
+
<a name="M000189"></a><b>wrap_method</b>( sym, &blk )
|
2190
1244
|
</div>
|
2191
1245
|
<div class="description">
|
2192
1246
|
<p>
|
2193
1247
|
Creates a new method wrapping the previous of the same name. Reference to
|
2194
|
-
the old method <a href="Module.html#
|
1248
|
+
the old method <a href="Module.html#M000180">is</a> passed into the new
|
2195
1249
|
definition block as the first parameter.
|
2196
1250
|
</p>
|
2197
1251
|
<pre>
|
@@ -2202,7 +1256,7 @@ definition block as the first parameter.
|
|
2202
1256
|
</pre>
|
2203
1257
|
<p>
|
2204
1258
|
Keep in mind that this can not be used to <a
|
2205
|
-
href="Module.html#
|
1259
|
+
href="Module.html#M000190">wrap</a> methods that take a block.
|
2206
1260
|
</p>
|
2207
1261
|
<pre>
|
2208
1262
|
CREDIT: Trans
|
@@ -2210,49 +1264,11 @@ href="Module.html#M000324">wrap</a> methods that take a block.
|
|
2210
1264
|
</div>
|
2211
1265
|
<div class="aka">
|
2212
1266
|
This method is also aliased as
|
2213
|
-
<a href="Module.html#
|
2214
|
-
<a href="Module.html#M000355">wrap</a>
|
1267
|
+
<a href="Module.html#M000190">wrap</a>
|
2215
1268
|
</div>
|
2216
1269
|
<div class="sourcecode">
|
2217
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
2218
|
-
<div id="
|
2219
|
-
<pre>
|
2220
|
-
<span class="ruby-comment cmt"># File lib/core/facets/module/wrap_method.rb, line 20</span>
|
2221
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">wrap_method</span>( <span class="ruby-identifier">sym</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span> )
|
2222
|
-
<span class="ruby-identifier">old</span> = <span class="ruby-identifier">instance_method</span>(<span class="ruby-identifier">sym</span>)
|
2223
|
-
<span class="ruby-identifier">define_method</span>(<span class="ruby-identifier">sym</span>) { <span class="ruby-operator">|</span><span class="ruby-operator">*</span><span class="ruby-identifier">args</span><span class="ruby-operator">|</span> <span class="ruby-identifier">blk</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">old</span>.<span class="ruby-identifier">bind</span>(<span class="ruby-keyword kw">self</span>), <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) }
|
2224
|
-
<span class="ruby-keyword kw">end</span>
|
2225
|
-
</pre>
|
2226
|
-
</div>
|
2227
|
-
</div>
|
2228
|
-
</div>
|
2229
|
-
<div class="method">
|
2230
|
-
<div class="title">
|
2231
|
-
<a name="M000354"></a><b>wrap_method</b>( sym, &blk )
|
2232
|
-
</div>
|
2233
|
-
<div class="description">
|
2234
|
-
<p>
|
2235
|
-
Creates a new method wrapping the previous of the same name. Reference to
|
2236
|
-
the old method <a href="Module.html#M000315">is</a> passed into the new
|
2237
|
-
definition block as the first parameter.
|
2238
|
-
</p>
|
2239
|
-
<pre>
|
2240
|
-
wrap_method( sym ) { |old_meth, *args|
|
2241
|
-
old_meth.call
|
2242
|
-
...
|
2243
|
-
}
|
2244
|
-
</pre>
|
2245
|
-
<p>
|
2246
|
-
Keep in mind that this can not be used to <a
|
2247
|
-
href="Module.html#M000324">wrap</a> methods that take a block.
|
2248
|
-
</p>
|
2249
|
-
<pre>
|
2250
|
-
CREDIT: Trans
|
2251
|
-
</pre>
|
2252
|
-
</div>
|
2253
|
-
<div class="sourcecode">
|
2254
|
-
<p class="source-link">[ <a href="javascript:toggleSource('M000354_source')" id="l_M000354_source">show source</a> ]</p>
|
2255
|
-
<div id="M000354_source" class="dyn-source">
|
1270
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000189_source')" id="l_M000189_source">show source</a> ]</p>
|
1271
|
+
<div id="M000189_source" class="dyn-source">
|
2256
1272
|
<pre>
|
2257
1273
|
<span class="ruby-comment cmt"># File lib/core/facets/module/wrap_method.rb, line 20</span>
|
2258
1274
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">wrap_method</span>( <span class="ruby-identifier">sym</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span> )
|