facets 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/CHANGES +25 -5
- data/MANIFEST +67 -34
- data/METADATA +2 -2
- data/NEWS +54 -46
- data/doc/news/NEWS-2.4.0 +52 -0
- data/doc/rdoc/core/classes/Array.html +198 -198
- data/doc/rdoc/core/classes/Binding.html +86 -192
- data/doc/rdoc/core/classes/Class.html +136 -136
- data/doc/rdoc/core/classes/Comparable.html +45 -45
- data/doc/rdoc/core/classes/Dir.html +64 -64
- data/doc/rdoc/core/classes/Enumerable.html +287 -281
- data/doc/rdoc/core/classes/Exception.html +16 -16
- data/doc/rdoc/core/classes/FalseClass.html +8 -8
- data/doc/rdoc/core/classes/File.html +100 -100
- data/doc/rdoc/core/classes/FileTest.html +8 -8
- data/doc/rdoc/core/classes/Float.html +32 -32
- data/doc/rdoc/core/classes/Friend.html +8 -8
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +439 -847
- data/doc/rdoc/{more → core}/classes/Indexable.html +115 -115
- data/doc/rdoc/core/classes/InstanceVariables.html +88 -88
- data/doc/rdoc/core/classes/Integer.html +142 -142
- data/doc/rdoc/core/classes/Kernel.html +602 -600
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +30 -30
- data/doc/rdoc/core/classes/Module.html +379 -327
- data/doc/rdoc/core/classes/NilClass.html +32 -32
- data/doc/rdoc/core/classes/Numeric.html +46 -46
- data/doc/rdoc/core/classes/Object.html +4 -4
- data/doc/rdoc/core/classes/Proc.html +46 -134
- data/doc/rdoc/core/classes/Range.html +60 -60
- data/doc/rdoc/core/classes/Regexp.html +28 -28
- data/doc/rdoc/{more → core}/classes/Stackable.html +38 -38
- data/doc/rdoc/core/classes/String.html +844 -504
- data/doc/rdoc/core/classes/Symbol.html +62 -62
- data/doc/rdoc/core/classes/Time.html +112 -112
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +22 -22
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +4 -1
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/{class/to_methodname_rb.html → enumerable/commonality_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/{class/to_pathname_rb.html → enumerable/frequency_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +6 -2
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +2 -1
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +7 -1
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/indexable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +15 -2
- data/doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +8 -1
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +8 -5
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +2 -1
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +3 -5
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/stackable_rb.html +3 -4
- data/doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/{module/clone_rb.html → string/methodize_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/{kernel/load_rb.html → string/pathize_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +8 -3
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +2 -1
- data/doc/rdoc/core/fr_class_index.html +2 -3
- data/doc/rdoc/core/fr_file_index.html +36 -16
- data/doc/rdoc/core/fr_method_index.html +778 -784
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Association.html +28 -28
- data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
- data/doc/rdoc/more/classes/Autoarray.html +12 -12
- data/doc/rdoc/more/classes/BBCode.html +34 -34
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BigDuration.html +30 -30
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +201 -0
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/BuildingBlock.html +32 -32
- data/doc/rdoc/more/classes/CLI.html +108 -0
- data/doc/rdoc/more/classes/CLI/Arguments.html +76 -76
- data/doc/rdoc/more/classes/CLI/Command.html +22 -22
- data/doc/rdoc/more/classes/CLI/NoCommandError.html +4 -4
- data/doc/rdoc/more/classes/CLI/NoOptionError.html +4 -4
- data/doc/rdoc/more/classes/CacheDecorator.html +21 -21
- data/doc/rdoc/more/classes/Capsule.html +41 -41
- data/doc/rdoc/more/classes/Chain.html +17 -17
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
- data/doc/rdoc/more/classes/Coroutine.html +28 -28
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssFilter.html +45 -45
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +228 -228
- data/doc/rdoc/more/classes/DictionaryMatcher.html +38 -38
- data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +4 -4
- data/doc/rdoc/more/classes/Downloader.html +56 -56
- data/doc/rdoc/more/classes/Duration.html +68 -68
- data/doc/rdoc/more/classes/Enumerable.html +44 -44
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/EventHook.html +8 -8
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/FileList.html +125 -125
- data/doc/rdoc/more/classes/FileShell.html +147 -147
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash.html +306 -14
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/IORedirect.html +19 -19
- data/doc/rdoc/more/classes/InfinityClass.html +36 -36
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +23 -23
- data/doc/rdoc/more/classes/Ini.html +37 -37
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantise.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/Kernel.html +77 -77
- data/doc/rdoc/more/classes/LRUCache.html +38 -38
- data/doc/rdoc/more/classes/LinkedList.html +68 -68
- data/doc/rdoc/more/classes/LinkedList/Node.html +4 -4
- data/doc/rdoc/{core → more}/classes/MissingArgument.html +1 -2
- data/doc/rdoc/more/classes/Module.html +171 -171
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +19 -19
- data/doc/rdoc/more/classes/NullClass.html +24 -24
- data/doc/rdoc/more/classes/ObjectReflection.html +12 -12
- data/doc/rdoc/more/classes/OpEsc.html +5 -5
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenCollection.html +8 -8
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/OpenObject.html +95 -95
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +11 -11
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/PathList.html +8 -8
- data/doc/rdoc/more/classes/PathList/Finder.html +8 -8
- data/doc/rdoc/more/classes/Platform.html +46 -46
- data/doc/rdoc/more/classes/Pool.html +18 -18
- data/doc/rdoc/more/classes/Proc.html +48 -4
- data/doc/rdoc/more/classes/ProgressBar.html +52 -52
- data/doc/rdoc/more/classes/Prototype.html +28 -28
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +9 -9
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Recorder.html +16 -16
- data/doc/rdoc/more/classes/Reference.html +19 -19
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Semaphore.html +36 -36
- data/doc/rdoc/more/classes/Settings.html +28 -28
- data/doc/rdoc/more/classes/Settings/Setting.html +13 -13
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +4 -4
- data/doc/rdoc/more/classes/SimpleStringIO.html +8 -8
- data/doc/rdoc/more/classes/Snapshot.html +16 -16
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +12 -12
- data/doc/rdoc/more/classes/String/Style.html +113 -113
- data/doc/rdoc/{core → more}/classes/String/Words.html +78 -78
- data/doc/rdoc/more/classes/Struct.html +8 -8
- data/doc/rdoc/more/classes/SyncArray.html +4 -4
- data/doc/rdoc/more/classes/SyncHash.html +4 -4
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +28 -28
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +28 -28
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/TracePoint.html +64 -62
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/UploadUtils.html +49 -49
- data/doc/rdoc/more/classes/VersionNumber.html +53 -53
- data/doc/rdoc/more/classes/Weekdays.html +28 -28
- data/doc/rdoc/more/classes/XOXO.html +9 -9
- data/doc/rdoc/more/classes/ZipUtils.html +58 -58
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +28 -28
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +28 -28
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +28 -28
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +1 -1
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/binding/opvars_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/stringify_keys_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/symbolize_keys_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core/facets/proc → more/files/lib/more/facets}/partial_rb.html +8 -7
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +13 -8
- data/doc/rdoc/more/fr_class_index.html +4 -2
- data/doc/rdoc/more/fr_file_index.html +9 -2
- data/doc/rdoc/more/fr_method_index.html +1013 -1009
- data/doc/ri/CLI/cdesc-CLI.yaml +7 -2
- data/doc/ri/Enumerable/probability-i.yaml +1 -1
- data/doc/ri/Module/append_features-i.yaml +4 -3
- data/doc/ri/Module/cdesc-Module.yaml +4 -3
- data/doc/ri/Module/methodize-i.yaml +14 -0
- data/doc/ri/Module/redefine_method-i.yaml +1 -1
- data/doc/ri/Module/redirect_method-i.yaml +3 -1
- data/doc/ri/Module/rename_method-i.yaml +1 -1
- data/doc/ri/created.rid +1 -1
- data/lib/core/facets/array.rb +3 -0
- data/lib/core/facets/binding.rb +0 -1
- data/lib/core/facets/class.rb +4 -4
- data/lib/core/facets/class/{to_methodname.rb → methodize.rb} +5 -2
- data/lib/core/facets/class/pathize.rb +14 -0
- data/lib/core/facets/enumerable.rb +5 -2
- data/lib/core/facets/enumerable/commonality.rb +33 -0
- data/lib/core/facets/enumerable/entropy.rb +37 -0
- data/lib/core/facets/enumerable/frequency.rb +18 -0
- data/lib/core/facets/enumerable/probability.rb +1 -98
- data/lib/core/facets/file.rb +1 -1
- data/lib/core/facets/hash.rb +6 -0
- data/lib/{more → core}/facets/indexable.rb +0 -0
- data/lib/core/facets/kernel.rb +15 -1
- data/lib/core/facets/kernel/require_all.rb +21 -0
- data/lib/core/facets/kernel/{load.rb → require_local.rb} +6 -23
- data/lib/core/facets/module.rb +7 -3
- data/lib/core/facets/module/integrate.rb +2 -0
- data/lib/core/facets/module/methodize.rb +14 -0
- data/lib/core/facets/module/pathize.rb +10 -7
- data/lib/core/facets/module/redefine_method.rb +35 -0
- data/lib/core/facets/module/redirect_method.rb +45 -0
- data/lib/core/facets/module/rename_method.rb +20 -0
- data/lib/core/facets/module/revise.rb +7 -113
- data/lib/core/facets/module/wrap_method.rb +28 -0
- data/lib/core/facets/numeric.rb +1 -1
- data/lib/core/facets/proc.rb +2 -3
- data/lib/{more → core}/facets/stackable.rb +0 -0
- data/lib/core/facets/string.rb +8 -6
- data/lib/core/facets/string/each_word.rb +13 -0
- data/lib/core/facets/string/methodize.rb +12 -0
- data/lib/core/facets/string/pathize.rb +12 -0
- data/lib/core/facets/string/word_wrap.rb +34 -0
- data/lib/core/facets/string/words.rb +6 -167
- data/lib/core/facets/symbol.rb +1 -0
- data/lib/more/facets/ansicode.rb +4 -4
- data/lib/{core → more}/facets/binding/opvars.rb +0 -0
- data/lib/{core → more}/facets/hash/stringify_keys.rb +0 -0
- data/lib/{core → more}/facets/hash/symbolize_keys.rb +5 -6
- data/lib/{core/facets/proc → more/facets}/partial.rb +0 -0
- data/lib/more/facets/string/words.rb +173 -0
- data/test/core/dir/test_multiglob.rb +1 -0
- data/test/core/dir/test_recurse.rb +1 -0
- data/test/core/enumerable/test_commonality.rb +15 -0
- data/test/core/enumerable/test_entropy.rb +15 -0
- data/test/core/enumerable/test_frequency.rb +11 -0
- data/test/core/enumerable/test_probability.rb +1 -34
- data/test/core/string/test_each_word.rb +14 -0
- data/test/core/string/test_fold.rb +1 -1
- data/test/core/string/test_word_wrap.rb +35 -0
- data/test/core/string/test_words.rb +12 -61
- data/test/more/test_command.rb +7 -9
- data/test/more/test_paramix.rb +4 -1
- data/test/{core/proc → more}/test_partial.rb +1 -1
- metadata +75 -38
- data/doc/rdoc/core/classes/Module/CloneExtensions.html +0 -287
- data/doc/ri/Module/CloneExtensions/cdesc-CloneExtensions.yaml +0 -20
- data/doc/ri/Module/CloneExtensions/clone_removing-i.yaml +0 -14
- data/doc/ri/Module/CloneExtensions/clone_renaming-i.yaml +0 -14
- data/doc/ri/Module/CloneExtensions/clone_using-i.yaml +0 -14
- data/lib/core/facets/class/to_pathname.rb +0 -12
- data/lib/core/facets/module/clone.rb +0 -57
- data/test/core/module/test_clone.rb +0 -45
data/doc/rdoc/lore/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Wed, 13 Aug 2008 19:26:43 -0400
|
@@ -138,21 +138,21 @@ The following is a list of supported codes.
|
|
138
138
|
|
139
139
|
<div class="sectiontitle">Methods</div>
|
140
140
|
<ul>
|
141
|
-
<li><a href="#
|
142
|
-
<li><a href="#
|
143
|
-
<li><a href="#
|
144
|
-
<li><a href="#
|
145
|
-
<li><a href="#
|
146
|
-
<li><a href="#
|
147
|
-
<li><a href="#
|
148
|
-
<li><a href="#
|
149
|
-
<li><a href="#
|
150
|
-
<li><a href="#
|
151
|
-
<li><a href="#
|
152
|
-
<li><a href="#
|
153
|
-
<li><a href="#
|
154
|
-
<li><a href="#
|
155
|
-
<li><a href="#
|
141
|
+
<li><a href="#M001003">clear_line</a></li>
|
142
|
+
<li><a href="#M001001">clear_screen</a></li>
|
143
|
+
<li><a href="#M001004">clr</a></li>
|
144
|
+
<li><a href="#M001002">cls</a></li>
|
145
|
+
<li><a href="#M001013">colors</a></li>
|
146
|
+
<li><a href="#M001011">define_ansicolor_method</a></li>
|
147
|
+
<li><a href="#M001010">display</a></li>
|
148
|
+
<li><a href="#M001007">down</a></li>
|
149
|
+
<li><a href="#M001008">left</a></li>
|
150
|
+
<li><a href="#M001005">move</a></li>
|
151
|
+
<li><a href="#M001000">restore</a></li>
|
152
|
+
<li><a href="#M001009">right</a></li>
|
153
|
+
<li><a href="#M000999">save</a></li>
|
154
|
+
<li><a href="#M001012">uncolored</a></li>
|
155
|
+
<li><a href="#M001006">up</a></li>
|
156
156
|
</ul>
|
157
157
|
|
158
158
|
|
@@ -171,7 +171,7 @@ The following is a list of supported codes.
|
|
171
171
|
<div class="sectiontitle">Public Class methods</div>
|
172
172
|
<div class="method">
|
173
173
|
<div class="title">
|
174
|
-
<a name="
|
174
|
+
<a name="M001011"></a><b>define_ansicolor_method</b>(name,code)
|
175
175
|
</div>
|
176
176
|
<div class="description">
|
177
177
|
<p>
|
@@ -179,8 +179,8 @@ Define color codes.
|
|
179
179
|
</p>
|
180
180
|
</div>
|
181
181
|
<div class="sourcecode">
|
182
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
183
|
-
<div id="
|
182
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001011_source')" id="l_M001011_source">show source</a> ]</p>
|
183
|
+
<div id="M001011_source" class="dyn-source">
|
184
184
|
<pre>
|
185
185
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 240</span>
|
186
186
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">define_ansicolor_method</span>(<span class="ruby-identifier">name</span>,<span class="ruby-identifier">code</span>)
|
@@ -193,7 +193,7 @@ Define color codes.
|
|
193
193
|
<div class="sectiontitle">Public Instance methods</div>
|
194
194
|
<div class="method">
|
195
195
|
<div class="title">
|
196
|
-
<a name="
|
196
|
+
<a name="M001003"></a><b>clear_line</b>()
|
197
197
|
</div>
|
198
198
|
<div class="description">
|
199
199
|
<p>
|
@@ -202,11 +202,11 @@ Clear to the end of the current line.
|
|
202
202
|
</div>
|
203
203
|
<div class="aka">
|
204
204
|
This method is also aliased as
|
205
|
-
<a href="ANSICode.html#
|
205
|
+
<a href="ANSICode.html#M001004">clr</a>
|
206
206
|
</div>
|
207
207
|
<div class="sourcecode">
|
208
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
209
|
-
<div id="
|
208
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001003_source')" id="l_M001003_source">show source</a> ]</p>
|
209
|
+
<div id="M001003_source" class="dyn-source">
|
210
210
|
<pre>
|
211
211
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 178</span>
|
212
212
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_line</span>
|
@@ -218,21 +218,21 @@ Clear to the end of the current line.
|
|
218
218
|
</div>
|
219
219
|
<div class="method">
|
220
220
|
<div class="title">
|
221
|
-
<a name="
|
221
|
+
<a name="M001001"></a><b>clear_screen</b>()
|
222
222
|
</div>
|
223
223
|
<div class="description">
|
224
224
|
<p>
|
225
|
-
Clear the screen and <a href="ANSICode.html#
|
225
|
+
Clear the screen and <a href="ANSICode.html#M001005">move</a> cursor to
|
226
226
|
home.
|
227
227
|
</p>
|
228
228
|
</div>
|
229
229
|
<div class="aka">
|
230
230
|
This method is also aliased as
|
231
|
-
<a href="ANSICode.html#
|
231
|
+
<a href="ANSICode.html#M001002">cls</a>
|
232
232
|
</div>
|
233
233
|
<div class="sourcecode">
|
234
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
235
|
-
<div id="
|
234
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001001_source')" id="l_M001001_source">show source</a> ]</p>
|
235
|
+
<div id="M001001_source" class="dyn-source">
|
236
236
|
<pre>
|
237
237
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 171</span>
|
238
238
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_screen</span>
|
@@ -244,31 +244,31 @@ home.
|
|
244
244
|
</div>
|
245
245
|
<div class="method">
|
246
246
|
<div class="title">
|
247
|
-
<a name="
|
247
|
+
<a name="M001004"></a><b>clr</b>()
|
248
248
|
</div>
|
249
249
|
<div class="description">
|
250
250
|
<p>
|
251
|
-
Alias for <a href="ANSICode.html#
|
251
|
+
Alias for <a href="ANSICode.html#M001003">clear_line</a>
|
252
252
|
</p>
|
253
253
|
</div>
|
254
254
|
</div>
|
255
255
|
<div class="method">
|
256
256
|
<div class="title">
|
257
|
-
<a name="
|
257
|
+
<a name="M001002"></a><b>cls</b>()
|
258
258
|
</div>
|
259
259
|
<div class="description">
|
260
260
|
<p>
|
261
|
-
Alias for <a href="ANSICode.html#
|
261
|
+
Alias for <a href="ANSICode.html#M001001">clear_screen</a>
|
262
262
|
</p>
|
263
263
|
</div>
|
264
264
|
</div>
|
265
265
|
<div class="method">
|
266
266
|
<div class="title">
|
267
|
-
<a name="
|
267
|
+
<a name="M001013"></a><b>colors</b>()
|
268
268
|
</div>
|
269
269
|
<div class="sourcecode">
|
270
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
271
|
-
<div id="
|
270
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001013_source')" id="l_M001013_source">show source</a> ]</p>
|
271
|
+
<div id="M001013_source" class="dyn-source">
|
272
272
|
<pre>
|
273
273
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 311</span>
|
274
274
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">colors</span>
|
@@ -280,17 +280,17 @@ Alias for <a href="ANSICode.html#M000997">clear_screen</a>
|
|
280
280
|
</div>
|
281
281
|
<div class="method">
|
282
282
|
<div class="title">
|
283
|
-
<a name="
|
283
|
+
<a name="M001010"></a><b>display</b>( line, column=0, string=nil ) {|| ...}
|
284
284
|
</div>
|
285
285
|
<div class="description">
|
286
286
|
<p>
|
287
|
-
Like <tt><a href="ANSICode.html#
|
287
|
+
Like <tt><a href="ANSICode.html#M001005">move</a></tt> but returns to
|
288
288
|
original positon after yielding block or adding string argument.
|
289
289
|
</p>
|
290
290
|
</div>
|
291
291
|
<div class="sourcecode">
|
292
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
293
|
-
<div id="
|
292
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001010_source')" id="l_M001010_source">show source</a> ]</p>
|
293
|
+
<div id="M001010_source" class="dyn-source">
|
294
294
|
<pre>
|
295
295
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 222</span>
|
296
296
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">display</span>( <span class="ruby-identifier">line</span>, <span class="ruby-identifier">column</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">string</span>=<span class="ruby-keyword kw">nil</span> ) <span class="ruby-comment cmt">#:yield:</span>
|
@@ -314,17 +314,17 @@ original positon after yielding block or adding string argument.
|
|
314
314
|
</div>
|
315
315
|
<div class="method">
|
316
316
|
<div class="title">
|
317
|
-
<a name="
|
317
|
+
<a name="M001007"></a><b>down</b>( spaces=1 )
|
318
318
|
</div>
|
319
319
|
<div class="description">
|
320
320
|
<p>
|
321
|
-
Move cursor <a href="ANSICode.html#
|
321
|
+
Move cursor <a href="ANSICode.html#M001007">down</a> a specificed number of
|
322
322
|
spaces.
|
323
323
|
</p>
|
324
324
|
</div>
|
325
325
|
<div class="sourcecode">
|
326
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
327
|
-
<div id="
|
326
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001007_source')" id="l_M001007_source">show source</a> ]</p>
|
327
|
+
<div id="M001007_source" class="dyn-source">
|
328
328
|
<pre>
|
329
329
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 203</span>
|
330
330
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">down</span>( <span class="ruby-identifier">spaces</span>=<span class="ruby-value">1</span> )
|
@@ -336,17 +336,17 @@ spaces.
|
|
336
336
|
</div>
|
337
337
|
<div class="method">
|
338
338
|
<div class="title">
|
339
|
-
<a name="
|
339
|
+
<a name="M001008"></a><b>left</b>( spaces=1 )
|
340
340
|
</div>
|
341
341
|
<div class="description">
|
342
342
|
<p>
|
343
|
-
Move cursor <a href="ANSICode.html#
|
343
|
+
Move cursor <a href="ANSICode.html#M001008">left</a> a specificed number of
|
344
344
|
spaces.
|
345
345
|
</p>
|
346
346
|
</div>
|
347
347
|
<div class="sourcecode">
|
348
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
349
|
-
<div id="
|
348
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001008_source')" id="l_M001008_source">show source</a> ]</p>
|
349
|
+
<div id="M001008_source" class="dyn-source">
|
350
350
|
<pre>
|
351
351
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 209</span>
|
352
352
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">left</span>( <span class="ruby-identifier">spaces</span>=<span class="ruby-value">1</span> )
|
@@ -358,7 +358,7 @@ spaces.
|
|
358
358
|
</div>
|
359
359
|
<div class="method">
|
360
360
|
<div class="title">
|
361
|
-
<a name="
|
361
|
+
<a name="M001005"></a><b>move</b>( line, column=0 )
|
362
362
|
</div>
|
363
363
|
<div class="description">
|
364
364
|
<p>
|
@@ -366,8 +366,8 @@ Move curose to line and column.
|
|
366
366
|
</p>
|
367
367
|
</div>
|
368
368
|
<div class="sourcecode">
|
369
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
370
|
-
<div id="
|
369
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001005_source')" id="l_M001005_source">show source</a> ]</p>
|
370
|
+
<div id="M001005_source" class="dyn-source">
|
371
371
|
<pre>
|
372
372
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 191</span>
|
373
373
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">move</span>( <span class="ruby-identifier">line</span>, <span class="ruby-identifier">column</span>=<span class="ruby-value">0</span> )
|
@@ -379,7 +379,7 @@ Move curose to line and column.
|
|
379
379
|
</div>
|
380
380
|
<div class="method">
|
381
381
|
<div class="title">
|
382
|
-
<a name="
|
382
|
+
<a name="M001000"></a><b>restore</b>()
|
383
383
|
</div>
|
384
384
|
<div class="description">
|
385
385
|
<p>
|
@@ -387,8 +387,8 @@ Restore saved cursor positon.
|
|
387
387
|
</p>
|
388
388
|
</div>
|
389
389
|
<div class="sourcecode">
|
390
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
391
|
-
<div id="
|
390
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001000_source')" id="l_M001000_source">show source</a> ]</p>
|
391
|
+
<div id="M001000_source" class="dyn-source">
|
392
392
|
<pre>
|
393
393
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 165</span>
|
394
394
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore</span>
|
@@ -400,17 +400,17 @@ Restore saved cursor positon.
|
|
400
400
|
</div>
|
401
401
|
<div class="method">
|
402
402
|
<div class="title">
|
403
|
-
<a name="
|
403
|
+
<a name="M001009"></a><b>right</b>( spaces=1 )
|
404
404
|
</div>
|
405
405
|
<div class="description">
|
406
406
|
<p>
|
407
|
-
Move cursor <a href="ANSICode.html#
|
407
|
+
Move cursor <a href="ANSICode.html#M001009">right</a> a specificed number
|
408
408
|
of spaces.
|
409
409
|
</p>
|
410
410
|
</div>
|
411
411
|
<div class="sourcecode">
|
412
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
413
|
-
<div id="
|
412
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001009_source')" id="l_M001009_source">show source</a> ]</p>
|
413
|
+
<div id="M001009_source" class="dyn-source">
|
414
414
|
<pre>
|
415
415
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 215</span>
|
416
416
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">right</span>( <span class="ruby-identifier">spaces</span>=<span class="ruby-value">1</span> )
|
@@ -422,7 +422,7 @@ of spaces.
|
|
422
422
|
</div>
|
423
423
|
<div class="method">
|
424
424
|
<div class="title">
|
425
|
-
<a name="
|
425
|
+
<a name="M000999"></a><b>save</b>()
|
426
426
|
</div>
|
427
427
|
<div class="description">
|
428
428
|
<p>
|
@@ -430,8 +430,8 @@ Save current cursor positon.
|
|
430
430
|
</p>
|
431
431
|
</div>
|
432
432
|
<div class="sourcecode">
|
433
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
434
|
-
<div id="
|
433
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000999_source')" id="l_M000999_source">show source</a> ]</p>
|
434
|
+
<div id="M000999_source" class="dyn-source">
|
435
435
|
<pre>
|
436
436
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 159</span>
|
437
437
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save</span>
|
@@ -443,11 +443,11 @@ Save current cursor positon.
|
|
443
443
|
</div>
|
444
444
|
<div class="method">
|
445
445
|
<div class="title">
|
446
|
-
<a name="
|
446
|
+
<a name="M001012"></a><b>uncolored</b>(string = nil) {|.gsub(ColoredRegexp, '')| ...}
|
447
447
|
</div>
|
448
448
|
<div class="sourcecode">
|
449
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
450
|
-
<div id="
|
449
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001012_source')" id="l_M001012_source">show source</a> ]</p>
|
450
|
+
<div id="M001012_source" class="dyn-source">
|
451
451
|
<pre>
|
452
452
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 297</span>
|
453
453
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uncolored</span>(<span class="ruby-identifier">string</span> = <span class="ruby-keyword kw">nil</span>)
|
@@ -467,17 +467,17 @@ Save current cursor positon.
|
|
467
467
|
</div>
|
468
468
|
<div class="method">
|
469
469
|
<div class="title">
|
470
|
-
<a name="
|
470
|
+
<a name="M001006"></a><b>up</b>( spaces=1 )
|
471
471
|
</div>
|
472
472
|
<div class="description">
|
473
473
|
<p>
|
474
|
-
Move cursor <a href="ANSICode.html#
|
474
|
+
Move cursor <a href="ANSICode.html#M001006">up</a> a specificed number of
|
475
475
|
spaces.
|
476
476
|
</p>
|
477
477
|
</div>
|
478
478
|
<div class="sourcecode">
|
479
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
480
|
-
<div id="
|
479
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001006_source')" id="l_M001006_source">show source</a> ]</p>
|
480
|
+
<div id="M001006_source" class="dyn-source">
|
481
481
|
<pre>
|
482
482
|
<span class="ruby-comment cmt"># File lib/more/facets/ansicode.rb, line 197</span>
|
483
483
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">up</span>( <span class="ruby-identifier">spaces</span>=<span class="ruby-value">1</span> )
|
@@ -72,9 +72,9 @@
|
|
72
72
|
<div class="description"><h1><a href="Advisable.html">Advisable</a></h1>
|
73
73
|
<p>
|
74
74
|
<a href="Advisable.html">Advisable</a> provides a means of using <a
|
75
|
-
href="Advisable.html#
|
76
|
-
href="Advisable.html#
|
77
|
-
href="Advisable.html#
|
75
|
+
href="Advisable.html#M000706">before</a>, <a
|
76
|
+
href="Advisable.html#M000707">after</a> and <a
|
77
|
+
href="Advisable.html#M000708">around</a> adivce.
|
78
78
|
</p>
|
79
79
|
</div>
|
80
80
|
|
@@ -82,14 +82,14 @@ href="Advisable.html#M000680">around</a> adivce.
|
|
82
82
|
|
83
83
|
<div class="sectiontitle">Methods</div>
|
84
84
|
<ul>
|
85
|
-
<li><a href="#
|
86
|
-
<li><a href="#
|
87
|
-
<li><a href="#
|
88
|
-
<li><a href="#
|
89
|
-
<li><a href="#
|
90
|
-
<li><a href="#
|
91
|
-
<li><a href="#
|
92
|
-
<li><a href="#
|
85
|
+
<li><a href="#M000704">advice_after</a></li>
|
86
|
+
<li><a href="#M000705">advice_around</a></li>
|
87
|
+
<li><a href="#M000703">advice_before</a></li>
|
88
|
+
<li><a href="#M000709">advise</a></li>
|
89
|
+
<li><a href="#M000707">after</a></li>
|
90
|
+
<li><a href="#M000708">around</a></li>
|
91
|
+
<li><a href="#M000706">before</a></li>
|
92
|
+
<li><a href="#M000710">method_added</a></li>
|
93
93
|
</ul>
|
94
94
|
|
95
95
|
|
@@ -103,11 +103,11 @@ href="Advisable.html#M000680">around</a> adivce.
|
|
103
103
|
<div class="sectiontitle">Public Instance methods</div>
|
104
104
|
<div class="method">
|
105
105
|
<div class="title">
|
106
|
-
<a name="
|
106
|
+
<a name="M000704"></a><b>advice_after</b>()
|
107
107
|
</div>
|
108
108
|
<div class="sourcecode">
|
109
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
110
|
-
<div id="
|
109
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000704_source')" id="l_M000704_source">show source</a> ]</p>
|
110
|
+
<div id="M000704_source" class="dyn-source">
|
111
111
|
<pre>
|
112
112
|
<span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 36</span>
|
113
113
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advice_after</span>
|
@@ -119,11 +119,11 @@ href="Advisable.html#M000680">around</a> adivce.
|
|
119
119
|
</div>
|
120
120
|
<div class="method">
|
121
121
|
<div class="title">
|
122
|
-
<a name="
|
122
|
+
<a name="M000705"></a><b>advice_around</b>()
|
123
123
|
</div>
|
124
124
|
<div class="sourcecode">
|
125
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
126
|
-
<div id="
|
125
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000705_source')" id="l_M000705_source">show source</a> ]</p>
|
126
|
+
<div id="M000705_source" class="dyn-source">
|
127
127
|
<pre>
|
128
128
|
<span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 40</span>
|
129
129
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advice_around</span>
|
@@ -135,11 +135,11 @@ href="Advisable.html#M000680">around</a> adivce.
|
|
135
135
|
</div>
|
136
136
|
<div class="method">
|
137
137
|
<div class="title">
|
138
|
-
<a name="
|
138
|
+
<a name="M000703"></a><b>advice_before</b>()
|
139
139
|
</div>
|
140
140
|
<div class="sourcecode">
|
141
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
142
|
-
<div id="
|
141
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000703_source')" id="l_M000703_source">show source</a> ]</p>
|
142
|
+
<div id="M000703_source" class="dyn-source">
|
143
143
|
<pre>
|
144
144
|
<span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 32</span>
|
145
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advice_before</span>
|
@@ -151,7 +151,7 @@ href="Advisable.html#M000680">around</a> adivce.
|
|
151
151
|
</div>
|
152
152
|
<div class="method">
|
153
153
|
<div class="title">
|
154
|
-
<a name="
|
154
|
+
<a name="M000709"></a><b>advise</b>(meth)
|
155
155
|
</div>
|
156
156
|
<div class="description">
|
157
157
|
<p>
|
@@ -159,8 +159,8 @@ Advise a method.
|
|
159
159
|
</p>
|
160
160
|
</div>
|
161
161
|
<div class="sourcecode">
|
162
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
163
|
-
<div id="
|
162
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000709_source')" id="l_M000709_source">show source</a> ]</p>
|
163
|
+
<div id="M000709_source" class="dyn-source">
|
164
164
|
<pre>
|
165
165
|
<span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 64</span>
|
166
166
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advise</span>(<span class="ruby-identifier">meth</span>)
|
@@ -175,11 +175,11 @@ Advise a method.
|
|
175
175
|
</div>
|
176
176
|
<div class="method">
|
177
177
|
<div class="title">
|
178
|
-
<a name="
|
178
|
+
<a name="M000707"></a><b>after</b>(meth, &block)
|
179
179
|
</div>
|
180
180
|
<div class="sourcecode">
|
181
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
182
|
-
<div id="
|
181
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000707_source')" id="l_M000707_source">show source</a> ]</p>
|
182
|
+
<div id="M000707_source" class="dyn-source">
|
183
183
|
<pre>
|
184
184
|
<span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 50</span>
|
185
185
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">after</span>(<span class="ruby-identifier">meth</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -193,11 +193,11 @@ Advise a method.
|
|
193
193
|
</div>
|
194
194
|
<div class="method">
|
195
195
|
<div class="title">
|
196
|
-
<a name="
|
196
|
+
<a name="M000708"></a><b>around</b>(meth, &block)
|
197
197
|
</div>
|
198
198
|
<div class="sourcecode">
|
199
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
200
|
-
<div id="
|
199
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000708_source')" id="l_M000708_source">show source</a> ]</p>
|
200
|
+
<div id="M000708_source" class="dyn-source">
|
201
201
|
<pre>
|
202
202
|
<span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 56</span>
|
203
203
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">around</span>(<span class="ruby-identifier">meth</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -211,11 +211,11 @@ Advise a method.
|
|
211
211
|
</div>
|
212
212
|
<div class="method">
|
213
213
|
<div class="title">
|
214
|
-
<a name="
|
214
|
+
<a name="M000706"></a><b>before</b>(meth, &block)
|
215
215
|
</div>
|
216
216
|
<div class="sourcecode">
|
217
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
218
|
-
<div id="
|
217
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000706_source')" id="l_M000706_source">show source</a> ]</p>
|
218
|
+
<div id="M000706_source" class="dyn-source">
|
219
219
|
<pre>
|
220
220
|
<span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 44</span>
|
221
221
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">before</span>(<span class="ruby-identifier">meth</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -229,12 +229,12 @@ Advise a method.
|
|
229
229
|
</div>
|
230
230
|
<div class="method">
|
231
231
|
<div class="title">
|
232
|
-
<a name="
|
232
|
+
<a name="M000710"></a><b>method_added</b>(meth)
|
233
233
|
</div>
|
234
234
|
<div class="description">
|
235
235
|
<p>
|
236
|
-
<a href="Advisable.html#
|
237
|
-
href="Advisable.html#
|
236
|
+
<a href="Advisable.html#M000707">after</a> :<a
|
237
|
+
href="Advisable.html#M000710">method_added</a> do |meth|
|
238
238
|
</p>
|
239
239
|
<pre>
|
240
240
|
advise(meth) unless defined?("#{meth}_orig")
|
@@ -244,8 +244,8 @@ end
|
|
244
244
|
</p>
|
245
245
|
</div>
|
246
246
|
<div class="sourcecode">
|
247
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
248
|
-
<div id="
|
247
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000710_source')" id="l_M000710_source">show source</a> ]</p>
|
248
|
+
<div id="M000710_source" class="dyn-source">
|
249
249
|
<pre>
|
250
250
|
<span class="ruby-comment cmt"># File lib/more/facets/advisable.rb, line 93</span>
|
251
251
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_added</span>(<span class="ruby-identifier">meth</span>)
|