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
@@ -89,12 +89,12 @@ your own risk.
|
|
89
89
|
|
90
90
|
<div class="sectiontitle">Methods</div>
|
91
91
|
<ul>
|
92
|
-
<li><a href="#
|
93
|
-
<li><a href="#
|
94
|
-
<li><a href="#
|
95
|
-
<li><a href="#
|
96
|
-
<li><a href="#
|
97
|
-
<li><a href="#
|
92
|
+
<li><a href="#M000203">each</a></li>
|
93
|
+
<li><a href="#M000206">months=</a></li>
|
94
|
+
<li><a href="#M000201">new</a></li>
|
95
|
+
<li><a href="#M000204">seconds</a></li>
|
96
|
+
<li><a href="#M000202">strftime</a></li>
|
97
|
+
<li><a href="#M000205">years=</a></li>
|
98
98
|
</ul>
|
99
99
|
|
100
100
|
|
@@ -135,19 +135,19 @@ your own risk.
|
|
135
135
|
<div class="sectiontitle">Public Class methods</div>
|
136
136
|
<div class="method">
|
137
137
|
<div class="title">
|
138
|
-
<a name="
|
138
|
+
<a name="M000201"></a><b>new</b>(seconds_or_attr = 0)
|
139
139
|
</div>
|
140
140
|
<div class="description">
|
141
141
|
<p>
|
142
|
-
Similar to <a href="Duration.html#
|
143
|
-
href="BigDuration.html#
|
142
|
+
Similar to <a href="Duration.html#M000433">Duration.new</a> except that <a
|
143
|
+
href="BigDuration.html#M000201">BigDuration.new</a> supports `:years’
|
144
144
|
and `:months’ and will also handle years and months correctly when
|
145
|
-
breaking down the <a href="BigDuration.html#
|
145
|
+
breaking down the <a href="BigDuration.html#M000204">seconds</a>.
|
146
146
|
</p>
|
147
147
|
</div>
|
148
148
|
<div class="sourcecode">
|
149
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
150
|
-
<div id="
|
149
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000201_source')" id="l_M000201_source">show source</a> ]</p>
|
150
|
+
<div id="M000201_source" class="dyn-source">
|
151
151
|
<pre>
|
152
152
|
<span class="ruby-comment cmt"># File lib/more/facets/duration.rb, line 366</span>
|
153
153
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">seconds_or_attr</span> = <span class="ruby-value">0</span>)
|
@@ -189,17 +189,17 @@ breaking down the <a href="BigDuration.html#M000203">seconds</a>.
|
|
189
189
|
<div class="sectiontitle">Public Instance methods</div>
|
190
190
|
<div class="method">
|
191
191
|
<div class="title">
|
192
|
-
<a name="
|
192
|
+
<a name="M000203"></a><b>each</b>() {|part, time| ...}
|
193
193
|
</div>
|
194
194
|
<div class="description">
|
195
195
|
<p>
|
196
|
-
Similar to <a href="Duration.html#
|
196
|
+
Similar to <a href="Duration.html#M000436">Duration#each</a> except
|
197
197
|
includes years and months in the interation.
|
198
198
|
</p>
|
199
199
|
</div>
|
200
200
|
<div class="sourcecode">
|
201
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
202
|
-
<div id="
|
201
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000203_source')" id="l_M000203_source">show source</a> ]</p>
|
202
|
+
<div id="M000203_source" class="dyn-source">
|
203
203
|
<pre>
|
204
204
|
<span class="ruby-comment cmt"># File lib/more/facets/duration.rb, line 413</span>
|
205
205
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
|
@@ -220,7 +220,7 @@ includes years and months in the interation.
|
|
220
220
|
</div>
|
221
221
|
<div class="method">
|
222
222
|
<div class="title">
|
223
|
-
<a name="
|
223
|
+
<a name="M000206"></a><b>months=</b>(n)
|
224
224
|
</div>
|
225
225
|
<div class="description">
|
226
226
|
<p>
|
@@ -228,8 +228,8 @@ Set the number of months in the <a href="BigDuration.html">BigDuration</a>.
|
|
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('M000206_source')" id="l_M000206_source">show source</a> ]</p>
|
232
|
+
<div id="M000206_source" class="dyn-source">
|
233
233
|
<pre>
|
234
234
|
<span class="ruby-comment cmt"># File lib/more/facets/duration.rb, line 445</span>
|
235
235
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">months=</span>(<span class="ruby-identifier">n</span>)
|
@@ -241,17 +241,17 @@ Set the number of months in the <a href="BigDuration.html">BigDuration</a>.
|
|
241
241
|
</div>
|
242
242
|
<div class="method">
|
243
243
|
<div class="title">
|
244
|
-
<a name="
|
244
|
+
<a name="M000204"></a><b>seconds</b>(part = nil)
|
245
245
|
</div>
|
246
246
|
<div class="description">
|
247
247
|
<p>
|
248
|
-
Derived from <a href="Duration.html#
|
248
|
+
Derived from <a href="Duration.html#M000435">Duration#seconds</a>, but
|
249
249
|
supports `:years’ and `:months’ as well.
|
250
250
|
</p>
|
251
251
|
</div>
|
252
252
|
<div class="sourcecode">
|
253
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
254
|
-
<div id="
|
253
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000204_source')" id="l_M000204_source">show source</a> ]</p>
|
254
|
+
<div id="M000204_source" class="dyn-source">
|
255
255
|
<pre>
|
256
256
|
<span class="ruby-comment cmt"># File lib/more/facets/duration.rb, line 428</span>
|
257
257
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">seconds</span>(<span class="ruby-identifier">part</span> = <span class="ruby-keyword kw">nil</span>)
|
@@ -268,12 +268,12 @@ supports `:years’ and `:months’ as well.
|
|
268
268
|
</div>
|
269
269
|
<div class="method">
|
270
270
|
<div class="title">
|
271
|
-
<a name="
|
271
|
+
<a name="M000202"></a><b>strftime</b>(fmt)
|
272
272
|
</div>
|
273
273
|
<div class="description">
|
274
274
|
<p>
|
275
275
|
<a href="BigDuration.html">BigDuration</a> variant of <a
|
276
|
-
href="Duration.html#
|
276
|
+
href="Duration.html#M000434">Duration#strftime</a>.
|
277
277
|
</p>
|
278
278
|
<p>
|
279
279
|
*Identifiers: <a href="BigDuration.html">BigDuration</a>*
|
@@ -284,8 +284,8 @@ href="Duration.html#M000424">Duration#strftime</a>.
|
|
284
284
|
</pre>
|
285
285
|
</div>
|
286
286
|
<div class="sourcecode">
|
287
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
288
|
-
<div id="
|
287
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000202_source')" id="l_M000202_source">show source</a> ]</p>
|
288
|
+
<div id="M000202_source" class="dyn-source">
|
289
289
|
<pre>
|
290
290
|
<span class="ruby-comment cmt"># File lib/more/facets/duration.rb, line 406</span>
|
291
291
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">strftime</span>(<span class="ruby-identifier">fmt</span>)
|
@@ -298,7 +298,7 @@ href="Duration.html#M000424">Duration#strftime</a>.
|
|
298
298
|
</div>
|
299
299
|
<div class="method">
|
300
300
|
<div class="title">
|
301
|
-
<a name="
|
301
|
+
<a name="M000205"></a><b>years=</b>(n)
|
302
302
|
</div>
|
303
303
|
<div class="description">
|
304
304
|
<p>
|
@@ -306,8 +306,8 @@ Set the number of years in the <a href="BigDuration.html">BigDuration</a>.
|
|
306
306
|
</p>
|
307
307
|
</div>
|
308
308
|
<div class="sourcecode">
|
309
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
310
|
-
<div id="
|
309
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000205_source')" id="l_M000205_source">show source</a> ]</p>
|
310
|
+
<div id="M000205_source" class="dyn-source">
|
311
311
|
<pre>
|
312
312
|
<span class="ruby-comment cmt"># File lib/more/facets/duration.rb, line 439</span>
|
313
313
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">years=</span>(<span class="ruby-identifier">n</span>)
|
@@ -80,27 +80,27 @@ class/module where you mix in this module.
|
|
80
80
|
|
81
81
|
<div class="sectiontitle">Methods</div>
|
82
82
|
<ul>
|
83
|
-
<li><a href="#
|
84
|
-
<li><a href="#
|
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="#
|
93
|
-
<li><a href="#
|
94
|
-
<li><a href="#
|
95
|
-
<li><a href="#
|
96
|
-
<li><a href="#
|
97
|
-
<li><a href="#
|
98
|
-
<li><a href="#
|
99
|
-
<li><a href="#
|
100
|
-
<li><a href="#
|
101
|
-
<li><a href="#
|
102
|
-
<li><a href="#
|
103
|
-
<li><a href="#
|
83
|
+
<li><a href="#M000716">byte_order</a></li>
|
84
|
+
<li><a href="#M000717">byte_order=</a></li>
|
85
|
+
<li><a href="#M000718">byteorder</a></li>
|
86
|
+
<li><a href="#M000719">byteorder=</a></li>
|
87
|
+
<li><a href="#M000735">read_cstring</a></li>
|
88
|
+
<li><a href="#M000727">read_int16_big</a></li>
|
89
|
+
<li><a href="#M000726">read_int16_little</a></li>
|
90
|
+
<li><a href="#M000725">read_int16_native</a></li>
|
91
|
+
<li><a href="#M000733">read_int32_big</a></li>
|
92
|
+
<li><a href="#M000732">read_int32_little</a></li>
|
93
|
+
<li><a href="#M000731">read_int32_native</a></li>
|
94
|
+
<li><a href="#M000721">read_int8</a></li>
|
95
|
+
<li><a href="#M000734">read_uint8</a></li>
|
96
|
+
<li><a href="#M000724">read_word16_big</a></li>
|
97
|
+
<li><a href="#M000723">read_word16_little</a></li>
|
98
|
+
<li><a href="#M000722">read_word16_native</a></li>
|
99
|
+
<li><a href="#M000730">read_word32_big</a></li>
|
100
|
+
<li><a href="#M000729">read_word32_little</a></li>
|
101
|
+
<li><a href="#M000728">read_word32_native</a></li>
|
102
|
+
<li><a href="#M000720">read_word8</a></li>
|
103
|
+
<li><a href="#M000736">readn</a></li>
|
104
104
|
</ul>
|
105
105
|
|
106
106
|
|
@@ -114,7 +114,7 @@ class/module where you mix in this module.
|
|
114
114
|
<div class="sectiontitle">Public Instance methods</div>
|
115
115
|
<div class="method">
|
116
116
|
<div class="title">
|
117
|
-
<a name="
|
117
|
+
<a name="M000716"></a><b>byte_order</b>()
|
118
118
|
</div>
|
119
119
|
<div class="description">
|
120
120
|
<p>
|
@@ -123,11 +123,11 @@ default is native byte-order
|
|
123
123
|
</div>
|
124
124
|
<div class="aka">
|
125
125
|
This method is also aliased as
|
126
|
-
<a href="BinReadable.html#
|
126
|
+
<a href="BinReadable.html#M000718">byteorder</a>
|
127
127
|
</div>
|
128
128
|
<div class="sourcecode">
|
129
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
130
|
-
<div id="
|
129
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000716_source')" id="l_M000716_source">show source</a> ]</p>
|
130
|
+
<div id="M000716_source" class="dyn-source">
|
131
131
|
<pre>
|
132
132
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 74</span>
|
133
133
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte_order</span>
|
@@ -139,15 +139,15 @@ default is native byte-order
|
|
139
139
|
</div>
|
140
140
|
<div class="method">
|
141
141
|
<div class="title">
|
142
|
-
<a name="
|
142
|
+
<a name="M000717"></a><b>byte_order=</b>(new_byteorder)
|
143
143
|
</div>
|
144
144
|
<div class="aka">
|
145
145
|
This method is also aliased as
|
146
|
-
<a href="BinReadable.html#
|
146
|
+
<a href="BinReadable.html#M000719">byteorder=</a>
|
147
147
|
</div>
|
148
148
|
<div class="sourcecode">
|
149
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
150
|
-
<div id="
|
149
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000717_source')" id="l_M000717_source">show source</a> ]</p>
|
150
|
+
<div id="M000717_source" class="dyn-source">
|
151
151
|
<pre>
|
152
152
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 78</span>
|
153
153
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte_order=</span>(<span class="ruby-identifier">new_byteorder</span>)
|
@@ -159,31 +159,31 @@ default is native byte-order
|
|
159
159
|
</div>
|
160
160
|
<div class="method">
|
161
161
|
<div class="title">
|
162
|
-
<a name="
|
162
|
+
<a name="M000718"></a><b>byteorder</b>()
|
163
163
|
</div>
|
164
164
|
<div class="description">
|
165
165
|
<p>
|
166
|
-
Alias for <a href="BinReadable.html#
|
166
|
+
Alias for <a href="BinReadable.html#M000716">byte_order</a>
|
167
167
|
</p>
|
168
168
|
</div>
|
169
169
|
</div>
|
170
170
|
<div class="method">
|
171
171
|
<div class="title">
|
172
|
-
<a name="
|
172
|
+
<a name="M000719"></a><b>byteorder=</b>(new_byteorder)
|
173
173
|
</div>
|
174
174
|
<div class="description">
|
175
175
|
<p>
|
176
|
-
Alias for <a href="BinReadable.html#
|
176
|
+
Alias for <a href="BinReadable.html#M000716">byte_order</a>=
|
177
177
|
</p>
|
178
178
|
</div>
|
179
179
|
</div>
|
180
180
|
<div class="method">
|
181
181
|
<div class="title">
|
182
|
-
<a name="
|
182
|
+
<a name="M000735"></a><b>read_cstring</b>()
|
183
183
|
</div>
|
184
184
|
<div class="sourcecode">
|
185
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
186
|
-
<div id="
|
185
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000735_source')" id="l_M000735_source">show source</a> ]</p>
|
186
|
+
<div id="M000735_source" class="dyn-source">
|
187
187
|
<pre>
|
188
188
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 188</span>
|
189
189
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_cstring</span>
|
@@ -199,11 +199,11 @@ Alias for <a href="BinReadable.html#M000688">byte_order</a>=
|
|
199
199
|
</div>
|
200
200
|
<div class="method">
|
201
201
|
<div class="title">
|
202
|
-
<a name="
|
202
|
+
<a name="M000727"></a><b>read_int16_big</b>()
|
203
203
|
</div>
|
204
204
|
<div class="sourcecode">
|
205
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
206
|
-
<div id="
|
205
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000727_source')" id="l_M000727_source">show source</a> ]</p>
|
206
|
+
<div id="M000727_source" class="dyn-source">
|
207
207
|
<pre>
|
208
208
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 124</span>
|
209
209
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int16_big</span>
|
@@ -216,11 +216,11 @@ Alias for <a href="BinReadable.html#M000688">byte_order</a>=
|
|
216
216
|
</div>
|
217
217
|
<div class="method">
|
218
218
|
<div class="title">
|
219
|
-
<a name="
|
219
|
+
<a name="M000726"></a><b>read_int16_little</b>()
|
220
220
|
</div>
|
221
221
|
<div class="sourcecode">
|
222
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
223
|
-
<div id="
|
222
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000726_source')" id="l_M000726_source">show source</a> ]</p>
|
223
|
+
<div id="M000726_source" class="dyn-source">
|
224
224
|
<pre>
|
225
225
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 119</span>
|
226
226
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int16_little</span>
|
@@ -233,14 +233,14 @@ Alias for <a href="BinReadable.html#M000688">byte_order</a>=
|
|
233
233
|
</div>
|
234
234
|
<div class="method">
|
235
235
|
<div class="title">
|
236
|
-
<a name="
|
236
|
+
<a name="M000725"></a><b>read_int16_native</b>()
|
237
237
|
</div>
|
238
238
|
<div class="description">
|
239
239
|
<h3>Signed</h3>
|
240
240
|
</div>
|
241
241
|
<div class="sourcecode">
|
242
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
243
|
-
<div id="
|
242
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000725_source')" id="l_M000725_source">show source</a> ]</p>
|
243
|
+
<div id="M000725_source" class="dyn-source">
|
244
244
|
<pre>
|
245
245
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 115</span>
|
246
246
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int16_native</span>
|
@@ -252,11 +252,11 @@ Alias for <a href="BinReadable.html#M000688">byte_order</a>=
|
|
252
252
|
</div>
|
253
253
|
<div class="method">
|
254
254
|
<div class="title">
|
255
|
-
<a name="
|
255
|
+
<a name="M000733"></a><b>read_int32_big</b>()
|
256
256
|
</div>
|
257
257
|
<div class="sourcecode">
|
258
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
259
|
-
<div id="
|
258
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000733_source')" id="l_M000733_source">show source</a> ]</p>
|
259
|
+
<div id="M000733_source" class="dyn-source">
|
260
260
|
<pre>
|
261
261
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 156</span>
|
262
262
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int32_big</span>
|
@@ -269,11 +269,11 @@ Alias for <a href="BinReadable.html#M000688">byte_order</a>=
|
|
269
269
|
</div>
|
270
270
|
<div class="method">
|
271
271
|
<div class="title">
|
272
|
-
<a name="
|
272
|
+
<a name="M000732"></a><b>read_int32_little</b>()
|
273
273
|
</div>
|
274
274
|
<div class="sourcecode">
|
275
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
276
|
-
<div id="
|
275
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000732_source')" id="l_M000732_source">show source</a> ]</p>
|
276
|
+
<div id="M000732_source" class="dyn-source">
|
277
277
|
<pre>
|
278
278
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 151</span>
|
279
279
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int32_little</span>
|
@@ -286,14 +286,14 @@ Alias for <a href="BinReadable.html#M000688">byte_order</a>=
|
|
286
286
|
</div>
|
287
287
|
<div class="method">
|
288
288
|
<div class="title">
|
289
|
-
<a name="
|
289
|
+
<a name="M000731"></a><b>read_int32_native</b>()
|
290
290
|
</div>
|
291
291
|
<div class="description">
|
292
292
|
<h3>Signed</h3>
|
293
293
|
</div>
|
294
294
|
<div class="sourcecode">
|
295
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
296
|
-
<div id="
|
295
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000731_source')" id="l_M000731_source">show source</a> ]</p>
|
296
|
+
<div id="M000731_source" class="dyn-source">
|
297
297
|
<pre>
|
298
298
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 147</span>
|
299
299
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int32_native</span>
|
@@ -305,11 +305,11 @@ Alias for <a href="BinReadable.html#M000688">byte_order</a>=
|
|
305
305
|
</div>
|
306
306
|
<div class="method">
|
307
307
|
<div class="title">
|
308
|
-
<a name="
|
308
|
+
<a name="M000721"></a><b>read_int8</b>()
|
309
309
|
</div>
|
310
310
|
<div class="sourcecode">
|
311
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
312
|
-
<div id="
|
311
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000721_source')" id="l_M000721_source">show source</a> ]</p>
|
312
|
+
<div id="M000721_source" class="dyn-source">
|
313
313
|
<pre>
|
314
314
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 93</span>
|
315
315
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_int8</span>
|
@@ -321,21 +321,21 @@ Alias for <a href="BinReadable.html#M000688">byte_order</a>=
|
|
321
321
|
</div>
|
322
322
|
<div class="method">
|
323
323
|
<div class="title">
|
324
|
-
<a name="
|
324
|
+
<a name="M000734"></a><b>read_uint8</b>()
|
325
325
|
</div>
|
326
326
|
<div class="description">
|
327
327
|
<p>
|
328
|
-
Alias for <a href="BinReadable.html#
|
328
|
+
Alias for <a href="BinReadable.html#M000720">read_word8</a>
|
329
329
|
</p>
|
330
330
|
</div>
|
331
331
|
</div>
|
332
332
|
<div class="method">
|
333
333
|
<div class="title">
|
334
|
-
<a name="
|
334
|
+
<a name="M000724"></a><b>read_word16_big</b>()
|
335
335
|
</div>
|
336
336
|
<div class="sourcecode">
|
337
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
338
|
-
<div id="
|
337
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000724_source')" id="l_M000724_source">show source</a> ]</p>
|
338
|
+
<div id="M000724_source" class="dyn-source">
|
339
339
|
<pre>
|
340
340
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 109</span>
|
341
341
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word16_big</span>
|
@@ -347,11 +347,11 @@ Alias for <a href="BinReadable.html#M000692">read_word8</a>
|
|
347
347
|
</div>
|
348
348
|
<div class="method">
|
349
349
|
<div class="title">
|
350
|
-
<a name="
|
350
|
+
<a name="M000723"></a><b>read_word16_little</b>()
|
351
351
|
</div>
|
352
352
|
<div class="sourcecode">
|
353
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
354
|
-
<div id="
|
353
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000723_source')" id="l_M000723_source">show source</a> ]</p>
|
354
|
+
<div id="M000723_source" class="dyn-source">
|
355
355
|
<pre>
|
356
356
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 105</span>
|
357
357
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word16_little</span>
|
@@ -363,14 +363,14 @@ Alias for <a href="BinReadable.html#M000692">read_word8</a>
|
|
363
363
|
</div>
|
364
364
|
<div class="method">
|
365
365
|
<div class="title">
|
366
|
-
<a name="
|
366
|
+
<a name="M000722"></a><b>read_word16_native</b>()
|
367
367
|
</div>
|
368
368
|
<div class="description">
|
369
369
|
<h3>Unsigned</h3>
|
370
370
|
</div>
|
371
371
|
<div class="sourcecode">
|
372
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
373
|
-
<div id="
|
372
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000722_source')" id="l_M000722_source">show source</a> ]</p>
|
373
|
+
<div id="M000722_source" class="dyn-source">
|
374
374
|
<pre>
|
375
375
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 101</span>
|
376
376
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word16_native</span>
|
@@ -382,11 +382,11 @@ Alias for <a href="BinReadable.html#M000692">read_word8</a>
|
|
382
382
|
</div>
|
383
383
|
<div class="method">
|
384
384
|
<div class="title">
|
385
|
-
<a name="
|
385
|
+
<a name="M000730"></a><b>read_word32_big</b>()
|
386
386
|
</div>
|
387
387
|
<div class="sourcecode">
|
388
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
389
|
-
<div id="
|
388
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000730_source')" id="l_M000730_source">show source</a> ]</p>
|
389
|
+
<div id="M000730_source" class="dyn-source">
|
390
390
|
<pre>
|
391
391
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 141</span>
|
392
392
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word32_big</span>
|
@@ -398,11 +398,11 @@ Alias for <a href="BinReadable.html#M000692">read_word8</a>
|
|
398
398
|
</div>
|
399
399
|
<div class="method">
|
400
400
|
<div class="title">
|
401
|
-
<a name="
|
401
|
+
<a name="M000729"></a><b>read_word32_little</b>()
|
402
402
|
</div>
|
403
403
|
<div class="sourcecode">
|
404
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
405
|
-
<div id="
|
404
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000729_source')" id="l_M000729_source">show source</a> ]</p>
|
405
|
+
<div id="M000729_source" class="dyn-source">
|
406
406
|
<pre>
|
407
407
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 137</span>
|
408
408
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word32_little</span>
|
@@ -414,14 +414,14 @@ Alias for <a href="BinReadable.html#M000692">read_word8</a>
|
|
414
414
|
</div>
|
415
415
|
<div class="method">
|
416
416
|
<div class="title">
|
417
|
-
<a name="
|
417
|
+
<a name="M000728"></a><b>read_word32_native</b>()
|
418
418
|
</div>
|
419
419
|
<div class="description">
|
420
420
|
<h3>Unsigned</h3>
|
421
421
|
</div>
|
422
422
|
<div class="sourcecode">
|
423
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
424
|
-
<div id="
|
423
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000728_source')" id="l_M000728_source">show source</a> ]</p>
|
424
|
+
<div id="M000728_source" class="dyn-source">
|
425
425
|
<pre>
|
426
426
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 133</span>
|
427
427
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word32_native</span>
|
@@ -433,20 +433,20 @@ Alias for <a href="BinReadable.html#M000692">read_word8</a>
|
|
433
433
|
</div>
|
434
434
|
<div class="method">
|
435
435
|
<div class="title">
|
436
|
-
<a name="
|
436
|
+
<a name="M000720"></a><b>read_word8</b>()
|
437
437
|
</div>
|
438
438
|
<div class="description">
|
439
439
|
<p>
|
440
|
-
no <a href="BinReadable.html#
|
440
|
+
no <a href="BinReadable.html#M000718">byteorder</a> for 8 bit!
|
441
441
|
</p>
|
442
442
|
</div>
|
443
443
|
<div class="aka">
|
444
444
|
This method is also aliased as
|
445
|
-
<a href="BinReadable.html#
|
445
|
+
<a href="BinReadable.html#M000734">read_uint8</a>
|
446
446
|
</div>
|
447
447
|
<div class="sourcecode">
|
448
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
449
|
-
<div id="
|
448
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000720_source')" id="l_M000720_source">show source</a> ]</p>
|
449
|
+
<div id="M000720_source" class="dyn-source">
|
450
450
|
<pre>
|
451
451
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 89</span>
|
452
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_word8</span>
|
@@ -458,7 +458,7 @@ no <a href="BinReadable.html#M000690">byteorder</a> for 8 bit!
|
|
458
458
|
</div>
|
459
459
|
<div class="method">
|
460
460
|
<div class="title">
|
461
|
-
<a name="
|
461
|
+
<a name="M000736"></a><b>readn</b>(n)
|
462
462
|
</div>
|
463
463
|
<div class="description">
|
464
464
|
<p>
|
@@ -466,8 +466,8 @@ read exactly n characters, otherwise raise an exception.
|
|
466
466
|
</p>
|
467
467
|
</div>
|
468
468
|
<div class="sourcecode">
|
469
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
470
|
-
<div id="
|
469
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000736_source')" id="l_M000736_source">show source</a> ]</p>
|
470
|
+
<div id="M000736_source" class="dyn-source">
|
471
471
|
<pre>
|
472
472
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 197</span>
|
473
473
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">readn</span>(<span class="ruby-identifier">n</span>)
|