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
@@ -78,7 +78,7 @@ Object
|
|
78
78
|
<div class="description"><h1><a href="Timer.html">Timer</a></h1>
|
79
79
|
<p>
|
80
80
|
Provides a strightforward means for controlling time critical execution.
|
81
|
-
Can be used as a "<a href="Timer.html#
|
81
|
+
Can be used as a "<a href="Timer.html#M000508">stop</a> watch"
|
82
82
|
timer or as a "time bomb" timer.
|
83
83
|
</p>
|
84
84
|
<pre>
|
@@ -122,17 +122,17 @@ timing the exectuion of a block.
|
|
122
122
|
|
123
123
|
<div class="sectiontitle">Methods</div>
|
124
124
|
<ul>
|
125
|
-
<li><a href="#
|
126
|
-
<li><a href="#
|
127
|
-
<li><a href="#
|
128
|
-
<li><a href="#
|
129
|
-
<li><a href="#
|
130
|
-
<li><a href="#
|
131
|
-
<li><a href="#
|
132
|
-
<li><a href="#
|
133
|
-
<li><a href="#
|
134
|
-
<li><a href="#
|
135
|
-
<li><a href="#
|
125
|
+
<li><a href="#M000507">defuse</a></li>
|
126
|
+
<li><a href="#M000506">limit</a></li>
|
127
|
+
<li><a href="#M000503">new</a></li>
|
128
|
+
<li><a href="#M000504">on_timeout</a></li>
|
129
|
+
<li><a href="#M000509">reset</a></li>
|
130
|
+
<li><a href="#M000510">reset_limit</a></li>
|
131
|
+
<li><a href="#M000511">running?</a></li>
|
132
|
+
<li><a href="#M000505">start</a></li>
|
133
|
+
<li><a href="#M000508">stop</a></li>
|
134
|
+
<li><a href="#M000512">stopped?</a></li>
|
135
|
+
<li><a href="#M000513">total_time</a></li>
|
136
136
|
</ul>
|
137
137
|
|
138
138
|
|
@@ -170,11 +170,11 @@ timing the exectuion of a block.
|
|
170
170
|
<div class="sectiontitle">Public Class methods</div>
|
171
171
|
<div class="method">
|
172
172
|
<div class="title">
|
173
|
-
<a name="
|
173
|
+
<a name="M000503"></a><b>new</b>( time_limit=nil, &block )
|
174
174
|
</div>
|
175
175
|
<div class="sourcecode">
|
176
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
177
|
-
<div id="
|
176
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000503_source')" id="l_M000503_source">show source</a> ]</p>
|
177
|
+
<div id="M000503_source" class="dyn-source">
|
178
178
|
<pre>
|
179
179
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 110</span>
|
180
180
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">time_limit</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -196,16 +196,16 @@ timing the exectuion of a block.
|
|
196
196
|
<div class="sectiontitle">Public Instance methods</div>
|
197
197
|
<div class="method">
|
198
198
|
<div class="title">
|
199
|
-
<a name="
|
199
|
+
<a name="M000507"></a><b>defuse</b>()
|
200
200
|
</div>
|
201
201
|
<div class="description">
|
202
202
|
<p>
|
203
|
-
Kill time <a href="Timer.html#
|
203
|
+
Kill time <a href="Timer.html#M000506">limit</a> thread, if any.
|
204
204
|
</p>
|
205
205
|
</div>
|
206
206
|
<div class="sourcecode">
|
207
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
208
|
-
<div id="
|
207
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000507_source')" id="l_M000507_source">show source</a> ]</p>
|
208
|
+
<div id="M000507_source" class="dyn-source">
|
209
209
|
<pre>
|
210
210
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 171</span>
|
211
211
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">defuse</span>
|
@@ -220,16 +220,16 @@ Kill time <a href="Timer.html#M000496">limit</a> thread, if any.
|
|
220
220
|
</div>
|
221
221
|
<div class="method">
|
222
222
|
<div class="title">
|
223
|
-
<a name="
|
223
|
+
<a name="M000506"></a><b>limit</b>( time_limit=nil )
|
224
224
|
</div>
|
225
225
|
<div class="description">
|
226
226
|
<p>
|
227
|
-
Establish a time <a href="Timer.html#
|
227
|
+
Establish a time <a href="Timer.html#M000506">limit</a> on execution.
|
228
228
|
</p>
|
229
229
|
</div>
|
230
230
|
<div class="sourcecode">
|
231
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
232
|
-
<div id="
|
231
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000506_source')" id="l_M000506_source">show source</a> ]</p>
|
232
|
+
<div id="M000506_source" class="dyn-source">
|
233
233
|
<pre>
|
234
234
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 155</span>
|
235
235
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">limit</span>( <span class="ruby-identifier">time_limit</span>=<span class="ruby-keyword kw">nil</span> )
|
@@ -251,11 +251,11 @@ Establish a time <a href="Timer.html#M000496">limit</a> on execution.
|
|
251
251
|
</div>
|
252
252
|
<div class="method">
|
253
253
|
<div class="title">
|
254
|
-
<a name="
|
254
|
+
<a name="M000504"></a><b>on_timeout</b>( &block )
|
255
255
|
</div>
|
256
256
|
<div class="sourcecode">
|
257
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
258
|
-
<div id="
|
257
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000504_source')" id="l_M000504_source">show source</a> ]</p>
|
258
|
+
<div id="M000504_source" class="dyn-source">
|
259
259
|
<pre>
|
260
260
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 123</span>
|
261
261
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">on_timeout</span>( <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> )
|
@@ -272,7 +272,7 @@ Establish a time <a href="Timer.html#M000496">limit</a> on execution.
|
|
272
272
|
</div>
|
273
273
|
<div class="method">
|
274
274
|
<div class="title">
|
275
|
-
<a name="
|
275
|
+
<a name="M000509"></a><b>reset</b>()
|
276
276
|
</div>
|
277
277
|
<div class="description">
|
278
278
|
<p>
|
@@ -281,8 +281,8 @@ time. If not returns 0.
|
|
281
281
|
</p>
|
282
282
|
</div>
|
283
283
|
<div class="sourcecode">
|
284
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
285
|
-
<div id="
|
284
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000509_source')" id="l_M000509_source">show source</a> ]</p>
|
285
|
+
<div id="M000509_source" class="dyn-source">
|
286
286
|
<pre>
|
287
287
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 196</span>
|
288
288
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span>
|
@@ -300,11 +300,11 @@ time. If not returns 0.
|
|
300
300
|
</div>
|
301
301
|
<div class="method">
|
302
302
|
<div class="title">
|
303
|
-
<a name="
|
303
|
+
<a name="M000510"></a><b>reset_limit</b>()
|
304
304
|
</div>
|
305
305
|
<div class="description">
|
306
306
|
<p>
|
307
|
-
Resets the time <a href="Timer.html#
|
307
|
+
Resets the time <a href="Timer.html#M000506">limit</a>. Same as:
|
308
308
|
</p>
|
309
309
|
<pre>
|
310
310
|
t.stop
|
@@ -312,8 +312,8 @@ Resets the time <a href="Timer.html#M000496">limit</a>. Same as:
|
|
312
312
|
</pre>
|
313
313
|
</div>
|
314
314
|
<div class="sourcecode">
|
315
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
316
|
-
<div id="
|
315
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000510_source')" id="l_M000510_source">show source</a> ]</p>
|
316
|
+
<div id="M000510_source" class="dyn-source">
|
317
317
|
<pre>
|
318
318
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 212</span>
|
319
319
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset_limit</span>
|
@@ -328,7 +328,7 @@ Resets the time <a href="Timer.html#M000496">limit</a>. Same as:
|
|
328
328
|
</div>
|
329
329
|
<div class="method">
|
330
330
|
<div class="title">
|
331
|
-
<a name="
|
331
|
+
<a name="M000511"></a><b>running?</b>()
|
332
332
|
</div>
|
333
333
|
<div class="description">
|
334
334
|
<p>
|
@@ -336,8 +336,8 @@ Queries whether the timer is still running.
|
|
336
336
|
</p>
|
337
337
|
</div>
|
338
338
|
<div class="sourcecode">
|
339
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
340
|
-
<div id="
|
339
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000511_source')" id="l_M000511_source">show source</a> ]</p>
|
340
|
+
<div id="M000511_source" class="dyn-source">
|
341
341
|
<pre>
|
342
342
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 221</span>
|
343
343
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">running?</span>
|
@@ -349,7 +349,7 @@ Queries whether the timer is still running.
|
|
349
349
|
</div>
|
350
350
|
<div class="method">
|
351
351
|
<div class="title">
|
352
|
-
<a name="
|
352
|
+
<a name="M000505"></a><b>start</b>()
|
353
353
|
</div>
|
354
354
|
<div class="description">
|
355
355
|
<p>
|
@@ -357,8 +357,8 @@ Start the timer.
|
|
357
357
|
</p>
|
358
358
|
</div>
|
359
359
|
<div class="sourcecode">
|
360
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
361
|
-
<div id="
|
360
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000505_source')" id="l_M000505_source">show source</a> ]</p>
|
361
|
+
<div id="M000505_source" class="dyn-source">
|
362
362
|
<pre>
|
363
363
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 134</span>
|
364
364
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start</span>
|
@@ -385,7 +385,7 @@ Start the timer.
|
|
385
385
|
</div>
|
386
386
|
<div class="method">
|
387
387
|
<div class="title">
|
388
|
-
<a name="
|
388
|
+
<a name="M000508"></a><b>stop</b>()
|
389
389
|
</div>
|
390
390
|
<div class="description">
|
391
391
|
<p>
|
@@ -393,8 +393,8 @@ Stops timer and returns total time. If timer was not running returns false.
|
|
393
393
|
</p>
|
394
394
|
</div>
|
395
395
|
<div class="sourcecode">
|
396
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
397
|
-
<div id="
|
396
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000508_source')" id="l_M000508_source">show source</a> ]</p>
|
397
|
+
<div id="M000508_source" class="dyn-source">
|
398
398
|
<pre>
|
399
399
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 181</span>
|
400
400
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>
|
@@ -414,7 +414,7 @@ Stops timer and returns total time. If timer was not running returns false.
|
|
414
414
|
</div>
|
415
415
|
<div class="method">
|
416
416
|
<div class="title">
|
417
|
-
<a name="
|
417
|
+
<a name="M000512"></a><b>stopped?</b>()
|
418
418
|
</div>
|
419
419
|
<div class="description">
|
420
420
|
<p>
|
@@ -422,8 +422,8 @@ Queries whether the timer is still not running.
|
|
422
422
|
</p>
|
423
423
|
</div>
|
424
424
|
<div class="sourcecode">
|
425
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
426
|
-
<div id="
|
425
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000512_source')" id="l_M000512_source">show source</a> ]</p>
|
426
|
+
<div id="M000512_source" class="dyn-source">
|
427
427
|
<pre>
|
428
428
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 227</span>
|
429
429
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stopped?</span>
|
@@ -435,7 +435,7 @@ Queries whether the timer is still not running.
|
|
435
435
|
</div>
|
436
436
|
<div class="method">
|
437
437
|
<div class="title">
|
438
|
-
<a name="
|
438
|
+
<a name="M000513"></a><b>total_time</b>()
|
439
439
|
</div>
|
440
440
|
<div class="description">
|
441
441
|
<p>
|
@@ -443,8 +443,8 @@ Queries total recorded time of timer.
|
|
443
443
|
</p>
|
444
444
|
</div>
|
445
445
|
<div class="sourcecode">
|
446
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
447
|
-
<div id="
|
446
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000513_source')" id="l_M000513_source">show source</a> ]</p>
|
447
|
+
<div id="M000513_source" class="dyn-source">
|
448
448
|
<pre>
|
449
449
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 233</span>
|
450
450
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">total_time</span>
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<tr>
|
64
64
|
<td>Parent:</td>
|
65
65
|
<td>
|
66
|
-
<a href="../CacheDecorator.html#
|
66
|
+
<a href="../CacheDecorator.html#M000661">
|
67
67
|
self
|
68
68
|
</a>
|
69
69
|
</td>
|
@@ -87,8 +87,8 @@ href="../Timer.html">Timer</a> (i.e. no real time limit)
|
|
87
87
|
|
88
88
|
<div class="sectiontitle">Methods</div>
|
89
89
|
<ul>
|
90
|
-
<li><a href="#
|
91
|
-
<li><a href="#
|
90
|
+
<li><a href="#M000514">start</a></li>
|
91
|
+
<li><a href="#M000515">stop</a></li>
|
92
92
|
</ul>
|
93
93
|
|
94
94
|
|
@@ -99,11 +99,11 @@ href="../Timer.html">Timer</a> (i.e. no real time limit)
|
|
99
99
|
<div class="sectiontitle">Public Instance methods</div>
|
100
100
|
<div class="method">
|
101
101
|
<div class="title">
|
102
|
-
<a name="
|
102
|
+
<a name="M000514"></a><b>start</b>() {|| ...}
|
103
103
|
</div>
|
104
104
|
<div class="sourcecode">
|
105
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
106
|
-
<div id="
|
105
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000514_source')" id="l_M000514_source">show source</a> ]</p>
|
106
|
+
<div id="M000514_source" class="dyn-source">
|
107
107
|
<pre>
|
108
108
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 248</span>
|
109
109
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start</span>
|
@@ -119,11 +119,11 @@ href="../Timer.html">Timer</a> (i.e. no real time limit)
|
|
119
119
|
</div>
|
120
120
|
<div class="method">
|
121
121
|
<div class="title">
|
122
|
-
<a name="
|
122
|
+
<a name="M000515"></a><b>stop</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('M000515_source')" id="l_M000515_source">show source</a> ]</p>
|
126
|
+
<div id="M000515_source" class="dyn-source">
|
127
127
|
<pre>
|
128
128
|
<span class="ruby-comment cmt"># File lib/more/facets/timer.rb, line 256</span>
|
129
129
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>
|
@@ -77,9 +77,10 @@ Object
|
|
77
77
|
|
78
78
|
<div class="description"><h1><a href="TracePoint.html">TracePoint</a></h1>
|
79
79
|
<p>
|
80
|
-
A <a href="TracePoint.html">TracePoint</a> is a
|
81
|
-
|
82
|
-
join-point for
|
80
|
+
A <a href="TracePoint.html">TracePoint</a> is a <a
|
81
|
+
href="Binding.html">Binding</a> with the addition of event information.
|
82
|
+
Among other things, it functions very well as the join-point for
|
83
|
+
Event-based AOP.
|
83
84
|
</p>
|
84
85
|
<h2>Usage</h2>
|
85
86
|
<pre>
|
@@ -100,7 +101,8 @@ produces
|
|
100
101
|
</pre>
|
101
102
|
<h2>Notes</h2>
|
102
103
|
<p>
|
103
|
-
You can‘t subclass Binding
|
104
|
+
You can‘t subclass <a href="Binding.html">Binding</a>, so we delegate
|
105
|
+
(which is better anyway).
|
104
106
|
</p>
|
105
107
|
</div>
|
106
108
|
|
@@ -108,20 +110,20 @@ You can‘t subclass Binding, so we delegate (which is better anyway).
|
|
108
110
|
|
109
111
|
<div class="sectiontitle">Methods</div>
|
110
112
|
<ul>
|
111
|
-
<li><a href="#
|
112
|
-
<li><a href="#
|
113
|
-
<li><a href="#
|
114
|
-
<li><a href="#
|
115
|
-
<li><a href="#
|
116
|
-
<li><a href="#
|
117
|
-
<li><a href="#
|
118
|
-
<li><a href="#
|
119
|
-
<li><a href="#
|
120
|
-
<li><a href="#
|
121
|
-
<li><a href="#
|
122
|
-
<li><a href="#
|
123
|
-
<li><a href="#
|
124
|
-
<li><a href="#
|
113
|
+
<li><a href="#M000462">===</a></li>
|
114
|
+
<li><a href="#M000449">active</a></li>
|
115
|
+
<li><a href="#M000450">active=</a></li>
|
116
|
+
<li><a href="#M000454">back</a></li>
|
117
|
+
<li><a href="#M000453">bind</a></li>
|
118
|
+
<li><a href="#M000457">called</a></li>
|
119
|
+
<li><a href="#M000456">callee</a></li>
|
120
|
+
<li><a href="#M000460">event?</a></li>
|
121
|
+
<li><a href="#M000459">event_map</a></li>
|
122
|
+
<li><a href="#M000461">eventless?</a></li>
|
123
|
+
<li><a href="#M000458">method_name</a></li>
|
124
|
+
<li><a href="#M000452">new</a></li>
|
125
|
+
<li><a href="#M000455">self</a></li>
|
126
|
+
<li><a href="#M000451">trace</a></li>
|
125
127
|
</ul>
|
126
128
|
|
127
129
|
|
@@ -180,11 +182,11 @@ methods for working with events
|
|
180
182
|
<div class="sectiontitle">Public Class methods</div>
|
181
183
|
<div class="method">
|
182
184
|
<div class="title">
|
183
|
-
<a name="
|
185
|
+
<a name="M000449"></a><b>active</b>()
|
184
186
|
</div>
|
185
187
|
<div class="sourcecode">
|
186
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
187
|
-
<div id="
|
188
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000449_source')" id="l_M000449_source">show source</a> ]</p>
|
189
|
+
<div id="M000449_source" class="dyn-source">
|
188
190
|
<pre>
|
189
191
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 86</span>
|
190
192
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">active</span> ; <span class="ruby-ivar">@@active</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -194,11 +196,11 @@ methods for working with events
|
|
194
196
|
</div>
|
195
197
|
<div class="method">
|
196
198
|
<div class="title">
|
197
|
-
<a name="
|
199
|
+
<a name="M000450"></a><b>active=</b>(x)
|
198
200
|
</div>
|
199
201
|
<div class="sourcecode">
|
200
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
201
|
-
<div id="
|
202
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000450_source')" id="l_M000450_source">show source</a> ]</p>
|
203
|
+
<div id="M000450_source" class="dyn-source">
|
202
204
|
<pre>
|
203
205
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 88</span>
|
204
206
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">active=</span>(<span class="ruby-identifier">x</span>)
|
@@ -213,7 +215,7 @@ methods for working with events
|
|
213
215
|
</div>
|
214
216
|
<div class="method">
|
215
217
|
<div class="title">
|
216
|
-
<a name="
|
218
|
+
<a name="M000452"></a><b>new</b>( event, method, bind, back_binding=bind )
|
217
219
|
</div>
|
218
220
|
<div class="description">
|
219
221
|
<p>
|
@@ -223,8 +225,8 @@ href="TracePoint.html">TracePoint</a>.
|
|
223
225
|
</p>
|
224
226
|
</div>
|
225
227
|
<div class="sourcecode">
|
226
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
227
|
-
<div id="
|
228
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000452_source')" id="l_M000452_source">show source</a> ]</p>
|
229
|
+
<div id="M000452_source" class="dyn-source">
|
228
230
|
<pre>
|
229
231
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 121</span>
|
230
232
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">event</span>, <span class="ruby-identifier">method</span>, <span class="ruby-identifier">bind</span>, <span class="ruby-identifier">back_binding</span>=<span class="ruby-identifier">bind</span> )
|
@@ -239,7 +241,7 @@ href="TracePoint.html">TracePoint</a>.
|
|
239
241
|
</div>
|
240
242
|
<div class="method">
|
241
243
|
<div class="title">
|
242
|
-
<a name="
|
244
|
+
<a name="M000451"></a><b>trace</b>( {|| ...}
|
243
245
|
</div>
|
244
246
|
<div class="description">
|
245
247
|
<p>
|
@@ -247,8 +249,8 @@ Trace execution using a <a href="TracePoint.html">TracePoint</a>.
|
|
247
249
|
</p>
|
248
250
|
</div>
|
249
251
|
<div class="sourcecode">
|
250
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
251
|
-
<div id="
|
252
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000451_source')" id="l_M000451_source">show source</a> ]</p>
|
253
|
+
<div id="M000451_source" class="dyn-source">
|
252
254
|
<pre>
|
253
255
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 96</span>
|
254
256
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">trace</span> <span class="ruby-comment cmt"># :yield:</span>
|
@@ -274,7 +276,7 @@ Trace execution using a <a href="TracePoint.html">TracePoint</a>.
|
|
274
276
|
<div class="sectiontitle">Public Instance methods</div>
|
275
277
|
<div class="method">
|
276
278
|
<div class="title">
|
277
|
-
<a name="
|
279
|
+
<a name="M000462"></a><b>===</b>(e)
|
278
280
|
</div>
|
279
281
|
<div class="description">
|
280
282
|
<p>
|
@@ -282,8 +284,8 @@ For use in case conditions
|
|
282
284
|
</p>
|
283
285
|
</div>
|
284
286
|
<div class="sourcecode">
|
285
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
286
|
-
<div id="
|
287
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000462_source')" id="l_M000462_source">show source</a> ]</p>
|
288
|
+
<div id="M000462_source" class="dyn-source">
|
287
289
|
<pre>
|
288
290
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 173</span>
|
289
291
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">===</span>(<span class="ruby-identifier">e</span>)
|
@@ -295,7 +297,7 @@ For use in case conditions
|
|
295
297
|
</div>
|
296
298
|
<div class="method">
|
297
299
|
<div class="title">
|
298
|
-
<a name="
|
300
|
+
<a name="M000454"></a><b>back</b>()
|
299
301
|
</div>
|
300
302
|
<div class="description">
|
301
303
|
<p>
|
@@ -303,8 +305,8 @@ shorthand for back_binding
|
|
303
305
|
</p>
|
304
306
|
</div>
|
305
307
|
<div class="sourcecode">
|
306
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
307
|
-
<div id="
|
308
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000454_source')" id="l_M000454_source">show source</a> ]</p>
|
309
|
+
<div id="M000454_source" class="dyn-source">
|
308
310
|
<pre>
|
309
311
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 132</span>
|
310
312
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">back</span> ; <span class="ruby-ivar">@back_binding</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -314,7 +316,7 @@ shorthand for back_binding
|
|
314
316
|
</div>
|
315
317
|
<div class="method">
|
316
318
|
<div class="title">
|
317
|
-
<a name="
|
319
|
+
<a name="M000453"></a><b>bind</b>()
|
318
320
|
</div>
|
319
321
|
<div class="description">
|
320
322
|
<p>
|
@@ -322,8 +324,8 @@ shorthand for binding
|
|
322
324
|
</p>
|
323
325
|
</div>
|
324
326
|
<div class="sourcecode">
|
325
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
326
|
-
<div id="
|
327
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000453_source')" id="l_M000453_source">show source</a> ]</p>
|
328
|
+
<div id="M000453_source" class="dyn-source">
|
327
329
|
<pre>
|
328
330
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 129</span>
|
329
331
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bind</span> ; <span class="ruby-ivar">@binding</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -333,21 +335,21 @@ shorthand for binding
|
|
333
335
|
</div>
|
334
336
|
<div class="method">
|
335
337
|
<div class="title">
|
336
|
-
<a name="
|
338
|
+
<a name="M000457"></a><b>called</b>()
|
337
339
|
</div>
|
338
340
|
<div class="description">
|
339
341
|
<p>
|
340
|
-
Alias for <a href="TracePoint.html#
|
342
|
+
Alias for <a href="TracePoint.html#M000456">callee</a>
|
341
343
|
</p>
|
342
344
|
</div>
|
343
345
|
<div class="aka">
|
344
346
|
This method is also aliased as
|
345
|
-
<a href="TracePoint.html#
|
347
|
+
<a href="TracePoint.html#M000458">method_name</a>
|
346
348
|
</div>
|
347
349
|
</div>
|
348
350
|
<div class="method">
|
349
351
|
<div class="title">
|
350
|
-
<a name="
|
352
|
+
<a name="M000456"></a><b>callee</b>()
|
351
353
|
</div>
|
352
354
|
<div class="description">
|
353
355
|
<p>
|
@@ -357,11 +359,11 @@ binding if Ruby had an internal way to retrieve the current method name.
|
|
357
359
|
</div>
|
358
360
|
<div class="aka">
|
359
361
|
This method is also aliased as
|
360
|
-
<a href="TracePoint.html#
|
362
|
+
<a href="TracePoint.html#M000457">called</a>
|
361
363
|
</div>
|
362
364
|
<div class="sourcecode">
|
363
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
364
|
-
<div id="
|
365
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000456_source')" id="l_M000456_source">show source</a> ]</p>
|
366
|
+
<div id="M000456_source" class="dyn-source">
|
365
367
|
<pre>
|
366
368
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 141</span>
|
367
369
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">callee</span> ; <span class="ruby-ivar">@method</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -371,17 +373,17 @@ binding if Ruby had an internal way to retrieve the current method name.
|
|
371
373
|
</div>
|
372
374
|
<div class="method">
|
373
375
|
<div class="title">
|
374
|
-
<a name="
|
376
|
+
<a name="M000460"></a><b>event?</b>()
|
375
377
|
</div>
|
376
378
|
<div class="description">
|
377
379
|
<p>
|
378
|
-
Is the <a href="TracePoint.html#
|
380
|
+
Is the <a href="TracePoint.html#M000451">trace</a> point defined or
|
379
381
|
undefined?
|
380
382
|
</p>
|
381
383
|
</div>
|
382
384
|
<div class="sourcecode">
|
383
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
384
|
-
<div id="
|
385
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000460_source')" id="l_M000460_source">show source</a> ]</p>
|
386
|
+
<div id="M000460_source" class="dyn-source">
|
385
387
|
<pre>
|
386
388
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 169</span>
|
387
389
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">event?</span> ; <span class="ruby-operator">!</span><span class="ruby-operator">!</span> <span class="ruby-ivar">@event</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -391,11 +393,11 @@ undefined?
|
|
391
393
|
</div>
|
392
394
|
<div class="method">
|
393
395
|
<div class="title">
|
394
|
-
<a name="
|
396
|
+
<a name="M000459"></a><b>event_map</b>(e)
|
395
397
|
</div>
|
396
398
|
<div class="sourcecode">
|
397
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
398
|
-
<div id="
|
399
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000459_source')" id="l_M000459_source">show source</a> ]</p>
|
400
|
+
<div id="M000459_source" class="dyn-source">
|
399
401
|
<pre>
|
400
402
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 166</span>
|
401
403
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">event_map</span>(<span class="ruby-identifier">e</span>) ; <span class="ruby-constant">EVENT_MAP</span>[<span class="ruby-identifier">e</span>] ; <span class="ruby-keyword kw">end</span>
|
@@ -405,11 +407,11 @@ undefined?
|
|
405
407
|
</div>
|
406
408
|
<div class="method">
|
407
409
|
<div class="title">
|
408
|
-
<a name="
|
410
|
+
<a name="M000461"></a><b>eventless?</b>()
|
409
411
|
</div>
|
410
412
|
<div class="sourcecode">
|
411
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
412
|
-
<div id="
|
413
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000461_source')" id="l_M000461_source">show source</a> ]</p>
|
414
|
+
<div id="M000461_source" class="dyn-source">
|
413
415
|
<pre>
|
414
416
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 170</span>
|
415
417
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eventless?</span> ; <span class="ruby-operator">!</span> <span class="ruby-ivar">@event</span> ; <span class="ruby-keyword kw">end</span>
|
@@ -419,27 +421,27 @@ undefined?
|
|
419
421
|
</div>
|
420
422
|
<div class="method">
|
421
423
|
<div class="title">
|
422
|
-
<a name="
|
424
|
+
<a name="M000458"></a><b>method_name</b>()
|
423
425
|
</div>
|
424
426
|
<div class="description">
|
425
427
|
<p>
|
426
|
-
Alias for <a href="TracePoint.html#
|
428
|
+
Alias for <a href="TracePoint.html#M000457">called</a>
|
427
429
|
</p>
|
428
430
|
</div>
|
429
431
|
</div>
|
430
432
|
<div class="method">
|
431
433
|
<div class="title">
|
432
|
-
<a name="
|
434
|
+
<a name="M000455"></a><b>self</b>()
|
433
435
|
</div>
|
434
436
|
<div class="description">
|
435
437
|
<p>
|
436
|
-
Delegates "<a href="TracePoint.html#
|
438
|
+
Delegates "<a href="TracePoint.html#M000455">self</a>" to the
|
437
439
|
binding which in turn delegates the binding object.
|
438
440
|
</p>
|
439
441
|
</div>
|
440
442
|
<div class="sourcecode">
|
441
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
442
|
-
<div id="
|
443
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000455_source')" id="l_M000455_source">show source</a> ]</p>
|
444
|
+
<div id="M000455_source" class="dyn-source">
|
443
445
|
<pre>
|
444
446
|
<span class="ruby-comment cmt"># File lib/more/facets/tracepoint.rb, line 136</span>
|
445
447
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span> ; <span class="ruby-ivar">@binding</span>.<span class="ruby-identifier">self</span> ; <span class="ruby-keyword kw">end</span>
|