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
@@ -74,13 +74,13 @@
|
|
74
74
|
|
75
75
|
<div class="sectiontitle">Methods</div>
|
76
76
|
<ul>
|
77
|
-
<li><a href="#
|
78
|
-
<li><a href="#
|
79
|
-
<li><a href="#
|
80
|
-
<li><a href="#
|
81
|
-
<li><a href="#
|
82
|
-
<li><a href="#
|
83
|
-
<li><a href="#
|
77
|
+
<li><a href="#M000742">big?</a></li>
|
78
|
+
<li><a href="#M000740">big_endian?</a></li>
|
79
|
+
<li><a href="#M000737">byte_order</a></li>
|
80
|
+
<li><a href="#M000738">byteorder</a></li>
|
81
|
+
<li><a href="#M000741">little?</a></li>
|
82
|
+
<li><a href="#M000739">little_endian?</a></li>
|
83
|
+
<li><a href="#M000743">network?</a></li>
|
84
84
|
</ul>
|
85
85
|
|
86
86
|
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<div class="sectiontitle">Public Instance methods</div>
|
110
110
|
<div class="method">
|
111
111
|
<div class="title">
|
112
|
-
<a name="
|
112
|
+
<a name="M000742"></a><b>big?</b>()
|
113
113
|
</div>
|
114
114
|
<div class="description">
|
115
115
|
<p>
|
@@ -119,16 +119,16 @@ Alias for big_endian?
|
|
119
119
|
</div>
|
120
120
|
<div class="method">
|
121
121
|
<div class="title">
|
122
|
-
<a name="
|
122
|
+
<a name="M000740"></a><b>big_endian?</b>()
|
123
123
|
</div>
|
124
124
|
<div class="aka">
|
125
125
|
This method is also aliased as
|
126
|
-
<a href="ByteOrder.html#
|
127
|
-
<a href="ByteOrder.html#
|
126
|
+
<a href="ByteOrder.html#M000742">big?</a>
|
127
|
+
<a href="ByteOrder.html#M000743">network?</a>
|
128
128
|
</div>
|
129
129
|
<div class="sourcecode">
|
130
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
131
|
-
<div id="
|
130
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000740_source')" id="l_M000740_source">show source</a> ]</p>
|
131
|
+
<div id="M000740_source" class="dyn-source">
|
132
132
|
<pre>
|
133
133
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 59</span>
|
134
134
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">big_endian?</span>
|
@@ -140,7 +140,7 @@ Alias for big_endian?
|
|
140
140
|
</div>
|
141
141
|
<div class="method">
|
142
142
|
<div class="title">
|
143
|
-
<a name="
|
143
|
+
<a name="M000737"></a><b>byte_order</b>()
|
144
144
|
</div>
|
145
145
|
<div class="description">
|
146
146
|
<p>
|
@@ -149,11 +149,11 @@ examines the byte order of the underlying machine
|
|
149
149
|
</div>
|
150
150
|
<div class="aka">
|
151
151
|
This method is also aliased as
|
152
|
-
<a href="ByteOrder.html#
|
152
|
+
<a href="ByteOrder.html#M000738">byteorder</a>
|
153
153
|
</div>
|
154
154
|
<div class="sourcecode">
|
155
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
156
|
-
<div id="
|
155
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000737_source')" id="l_M000737_source">show source</a> ]</p>
|
156
|
+
<div id="M000737_source" class="dyn-source">
|
157
157
|
<pre>
|
158
158
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 45</span>
|
159
159
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte_order</span>
|
@@ -169,17 +169,17 @@ examines the byte order of the underlying machine
|
|
169
169
|
</div>
|
170
170
|
<div class="method">
|
171
171
|
<div class="title">
|
172
|
-
<a name="
|
172
|
+
<a name="M000738"></a><b>byteorder</b>()
|
173
173
|
</div>
|
174
174
|
<div class="description">
|
175
175
|
<p>
|
176
|
-
Alias for <a href="ByteOrder.html#
|
176
|
+
Alias for <a href="ByteOrder.html#M000737">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="M000741"></a><b>little?</b>()
|
183
183
|
</div>
|
184
184
|
<div class="description">
|
185
185
|
<p>
|
@@ -189,15 +189,15 @@ Alias for little_endian?
|
|
189
189
|
</div>
|
190
190
|
<div class="method">
|
191
191
|
<div class="title">
|
192
|
-
<a name="
|
192
|
+
<a name="M000739"></a><b>little_endian?</b>()
|
193
193
|
</div>
|
194
194
|
<div class="aka">
|
195
195
|
This method is also aliased as
|
196
|
-
<a href="ByteOrder.html#
|
196
|
+
<a href="ByteOrder.html#M000741">little?</a>
|
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('M000739_source')" id="l_M000739_source">show source</a> ]</p>
|
200
|
+
<div id="M000739_source" class="dyn-source">
|
201
201
|
<pre>
|
202
202
|
<span class="ruby-comment cmt"># File lib/more/facets/binreadable.rb, line 55</span>
|
203
203
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">little_endian?</span>
|
@@ -209,7 +209,7 @@ Alias for little_endian?
|
|
209
209
|
</div>
|
210
210
|
<div class="method">
|
211
211
|
<div class="title">
|
212
|
-
<a name="
|
212
|
+
<a name="M000743"></a><b>network?</b>()
|
213
213
|
</div>
|
214
214
|
<div class="description">
|
215
215
|
<p>
|
@@ -0,0 +1,201 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Class: Binding</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "show source"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "hide source"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />Binding</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing="0" cellpadding="2">
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../files/lib/more/facets/binding/opvars_rb.html">lib/more/facets/binding/opvars.rb</a>
|
61
|
+
<a href="../files/lib/more/facets/binding/opvars_rb.html">lib/more/facets/binding/opvars.rb</a>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td>Parent:</td>
|
66
|
+
<td>
|
67
|
+
Object
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
</table>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
<!-- banner header -->
|
75
|
+
|
76
|
+
<div id="bodyContent">
|
77
|
+
<div id="content">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
<div class="sectiontitle">Methods</div>
|
83
|
+
<ul>
|
84
|
+
<li><a href="#M000631">[]</a></li>
|
85
|
+
<li><a href="#M000633">[]</a></li>
|
86
|
+
<li><a href="#M000632">[]=</a></li>
|
87
|
+
<li><a href="#M000634">[]=</a></li>
|
88
|
+
</ul>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<div class="sectiontitle">Public Instance methods</div>
|
96
|
+
<div class="method">
|
97
|
+
<div class="title">
|
98
|
+
<a name="M000631"></a><b>[]</b>( x )
|
99
|
+
</div>
|
100
|
+
<div class="description">
|
101
|
+
<p>
|
102
|
+
Returns the value of some variable.
|
103
|
+
</p>
|
104
|
+
<pre>
|
105
|
+
a = 2
|
106
|
+
binding["a"] #=> 2
|
107
|
+
</pre>
|
108
|
+
</div>
|
109
|
+
<div class="sourcecode">
|
110
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000631_source')" id="l_M000631_source">show source</a> ]</p>
|
111
|
+
<div id="M000631_source" class="dyn-source">
|
112
|
+
<pre>
|
113
|
+
<span class="ruby-comment cmt"># File lib/more/facets/binding/opvars.rb, line 10</span>
|
114
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>( <span class="ruby-identifier">x</span> )
|
115
|
+
<span class="ruby-identifier">eval</span>( <span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_s</span> )
|
116
|
+
<span class="ruby-keyword kw">end</span>
|
117
|
+
</pre>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
</div>
|
121
|
+
<div class="method">
|
122
|
+
<div class="title">
|
123
|
+
<a name="M000633"></a><b>[]</b>( x )
|
124
|
+
</div>
|
125
|
+
<div class="description">
|
126
|
+
<p>
|
127
|
+
Returns the value of some variable.
|
128
|
+
</p>
|
129
|
+
<pre>
|
130
|
+
a = 2
|
131
|
+
binding["a"] #=> 2
|
132
|
+
</pre>
|
133
|
+
</div>
|
134
|
+
<div class="sourcecode">
|
135
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000633_source')" id="l_M000633_source">show source</a> ]</p>
|
136
|
+
<div id="M000633_source" class="dyn-source">
|
137
|
+
<pre>
|
138
|
+
<span class="ruby-comment cmt"># File lib/more/facets/binding/opvars.rb, line 10</span>
|
139
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>( <span class="ruby-identifier">x</span> )
|
140
|
+
<span class="ruby-identifier">eval</span>( <span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_s</span> )
|
141
|
+
<span class="ruby-keyword kw">end</span>
|
142
|
+
</pre>
|
143
|
+
</div>
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
<div class="method">
|
147
|
+
<div class="title">
|
148
|
+
<a name="M000632"></a><b>[]=</b>( l, v )
|
149
|
+
</div>
|
150
|
+
<div class="description">
|
151
|
+
<p>
|
152
|
+
Set the value of a local variable.
|
153
|
+
</p>
|
154
|
+
<pre>
|
155
|
+
binding["a"] = 4
|
156
|
+
a #=> 4
|
157
|
+
</pre>
|
158
|
+
</div>
|
159
|
+
<div class="sourcecode">
|
160
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000632_source')" id="l_M000632_source">show source</a> ]</p>
|
161
|
+
<div id="M000632_source" class="dyn-source">
|
162
|
+
<pre>
|
163
|
+
<span class="ruby-comment cmt"># File lib/more/facets/binding/opvars.rb, line 19</span>
|
164
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>( <span class="ruby-identifier">l</span>, <span class="ruby-identifier">v</span> )
|
165
|
+
<span class="ruby-identifier">eval</span>( <span class="ruby-node">"lambda {|v| #{l} = v}"</span>).<span class="ruby-identifier">call</span>( <span class="ruby-identifier">v</span> )
|
166
|
+
<span class="ruby-keyword kw">end</span>
|
167
|
+
</pre>
|
168
|
+
</div>
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
<div class="method">
|
172
|
+
<div class="title">
|
173
|
+
<a name="M000634"></a><b>[]=</b>( l, v )
|
174
|
+
</div>
|
175
|
+
<div class="description">
|
176
|
+
<p>
|
177
|
+
Set the value of a local variable.
|
178
|
+
</p>
|
179
|
+
<pre>
|
180
|
+
binding["a"] = 4
|
181
|
+
a #=> 4
|
182
|
+
</pre>
|
183
|
+
</div>
|
184
|
+
<div class="sourcecode">
|
185
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000634_source')" id="l_M000634_source">show source</a> ]</p>
|
186
|
+
<div id="M000634_source" class="dyn-source">
|
187
|
+
<pre>
|
188
|
+
<span class="ruby-comment cmt"># File lib/more/facets/binding/opvars.rb, line 19</span>
|
189
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>( <span class="ruby-identifier">l</span>, <span class="ruby-identifier">v</span> )
|
190
|
+
<span class="ruby-identifier">eval</span>( <span class="ruby-node">"lambda {|v| #{l} = v}"</span>).<span class="ruby-identifier">call</span>( <span class="ruby-identifier">v</span> )
|
191
|
+
<span class="ruby-keyword kw">end</span>
|
192
|
+
</pre>
|
193
|
+
</div>
|
194
|
+
</div>
|
195
|
+
</div>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
</div>
|
199
|
+
|
200
|
+
</body>
|
201
|
+
</html>
|
@@ -113,7 +113,7 @@ it for more information.
|
|
113
113
|
|
114
114
|
<div class="sectiontitle">Methods</div>
|
115
115
|
<ul>
|
116
|
-
<li><a href="#
|
116
|
+
<li><a href="#M000745">included</a></li>
|
117
117
|
</ul>
|
118
118
|
|
119
119
|
|
@@ -124,11 +124,11 @@ it for more information.
|
|
124
124
|
<div class="sectiontitle">Public Class methods</div>
|
125
125
|
<div class="method">
|
126
126
|
<div class="title">
|
127
|
-
<a name="
|
127
|
+
<a name="M000745"></a><b>included</b>(base)
|
128
128
|
</div>
|
129
129
|
<div class="sourcecode">
|
130
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
131
|
-
<div id="
|
130
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000745_source')" id="l_M000745_source">show source</a> ]</p>
|
131
|
+
<div id="M000745_source" class="dyn-source">
|
132
132
|
<pre>
|
133
133
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 144</span>
|
134
134
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">base</span>)
|
@@ -149,14 +149,14 @@ unique to Ruby.
|
|
149
149
|
|
150
150
|
<div class="sectiontitle">Methods</div>
|
151
151
|
<ul>
|
152
|
-
<li><a href="#
|
153
|
-
<li><a href="#
|
154
|
-
<li><a href="#
|
155
|
-
<li><a href="#
|
156
|
-
<li><a href="#
|
157
|
-
<li><a href="#
|
158
|
-
<li><a href="#
|
159
|
-
<li><a href="#
|
152
|
+
<li><a href="#M000035"><<</a></li>
|
153
|
+
<li><a href="#M000030">build!</a></li>
|
154
|
+
<li><a href="#M000036">inspect</a></li>
|
155
|
+
<li><a href="#M000031">method_missing</a></li>
|
156
|
+
<li><a href="#M000029">new</a></li>
|
157
|
+
<li><a href="#M000032">to_buffer</a></li>
|
158
|
+
<li><a href="#M000033">to_s</a></li>
|
159
|
+
<li><a href="#M000034">to_str</a></li>
|
160
160
|
</ul>
|
161
161
|
|
162
162
|
|
@@ -183,11 +183,11 @@ There may be other methods that need to be in this exception list.
|
|
183
183
|
<div class="sectiontitle">Public Class methods</div>
|
184
184
|
<div class="method">
|
185
185
|
<div class="title">
|
186
|
-
<a name="
|
186
|
+
<a name="M000029"></a><b>new</b>(dslModule, constructor, output_buffer=nil)
|
187
187
|
</div>
|
188
188
|
<div class="sourcecode">
|
189
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
190
|
-
<div id="
|
189
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p>
|
190
|
+
<div id="M000029_source" class="dyn-source">
|
191
191
|
<pre>
|
192
192
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 234</span>
|
193
193
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">dslModule</span>, <span class="ruby-identifier">constructor</span>, <span class="ruby-identifier">output_buffer</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -207,7 +207,7 @@ There may be other methods that need to be in this exception list.
|
|
207
207
|
<div class="sectiontitle">Public Instance methods</div>
|
208
208
|
<div class="method">
|
209
209
|
<div class="title">
|
210
|
-
<a name="
|
210
|
+
<a name="M000035"></a><b><<</b>(s)
|
211
211
|
</div>
|
212
212
|
<div class="description">
|
213
213
|
<p>
|
@@ -215,8 +215,8 @@ Add directly to buffer.
|
|
215
215
|
</p>
|
216
216
|
</div>
|
217
217
|
<div class="sourcecode">
|
218
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
219
|
-
<div id="
|
218
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p>
|
219
|
+
<div id="M000035_source" class="dyn-source">
|
220
220
|
<pre>
|
221
221
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 289</span>
|
222
222
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">s</span>)
|
@@ -228,11 +228,11 @@ Add directly to buffer.
|
|
228
228
|
</div>
|
229
229
|
<div class="method">
|
230
230
|
<div class="title">
|
231
|
-
<a name="
|
231
|
+
<a name="M000030"></a><b>build!</b>(s, *a, &b)
|
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('M000030_source')" id="l_M000030_source">show source</a> ]</p>
|
235
|
+
<div id="M000030_source" class="dyn-source">
|
236
236
|
<pre>
|
237
237
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 247</span>
|
238
238
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build!</span>(<span class="ruby-identifier">s</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -263,7 +263,7 @@ Add directly to buffer.
|
|
263
263
|
</div>
|
264
264
|
<div class="method">
|
265
265
|
<div class="title">
|
266
|
-
<a name="
|
266
|
+
<a name="M000036"></a><b>inspect</b>()
|
267
267
|
</div>
|
268
268
|
<div class="description">
|
269
269
|
<p>
|
@@ -271,8 +271,8 @@ Could improve.
|
|
271
271
|
</p>
|
272
272
|
</div>
|
273
273
|
<div class="sourcecode">
|
274
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
275
|
-
<div id="
|
274
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p>
|
275
|
+
<div id="M000036_source" class="dyn-source">
|
276
276
|
<pre>
|
277
277
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 300</span>
|
278
278
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
@@ -286,11 +286,11 @@ Could improve.
|
|
286
286
|
</div>
|
287
287
|
<div class="method">
|
288
288
|
<div class="title">
|
289
|
-
<a name="
|
289
|
+
<a name="M000031"></a><b>method_missing</b>(s, *a, &b)
|
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('M000031_source')" id="l_M000031_source">show source</a> ]</p>
|
293
|
+
<div id="M000031_source" class="dyn-source">
|
294
294
|
<pre>
|
295
295
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 272</span>
|
296
296
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">s</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
@@ -302,7 +302,7 @@ Could improve.
|
|
302
302
|
</div>
|
303
303
|
<div class="method">
|
304
304
|
<div class="title">
|
305
|
-
<a name="
|
305
|
+
<a name="M000032"></a><b>to_buffer</b>()
|
306
306
|
</div>
|
307
307
|
<div class="description">
|
308
308
|
<p>
|
@@ -310,8 +310,8 @@ Return buffer
|
|
310
310
|
</p>
|
311
311
|
</div>
|
312
312
|
<div class="sourcecode">
|
313
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
314
|
-
<div id="
|
313
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p>
|
314
|
+
<div id="M000032_source" class="dyn-source">
|
315
315
|
<pre>
|
316
316
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 278</span>
|
317
317
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_buffer</span>()
|
@@ -323,7 +323,7 @@ Return buffer
|
|
323
323
|
</div>
|
324
324
|
<div class="method">
|
325
325
|
<div class="title">
|
326
|
-
<a name="
|
326
|
+
<a name="M000033"></a><b>to_s</b>()
|
327
327
|
</div>
|
328
328
|
<div class="description">
|
329
329
|
<p>
|
@@ -331,8 +331,8 @@ Return buffer as string.
|
|
331
331
|
</p>
|
332
332
|
</div>
|
333
333
|
<div class="sourcecode">
|
334
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
335
|
-
<div id="
|
334
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p>
|
335
|
+
<div id="M000033_source" class="dyn-source">
|
336
336
|
<pre>
|
337
337
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 284</span>
|
338
338
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>() <span class="ruby-ivar">@buffer</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">end</span>
|
@@ -342,11 +342,11 @@ Return buffer as string.
|
|
342
342
|
</div>
|
343
343
|
<div class="method">
|
344
344
|
<div class="title">
|
345
|
-
<a name="
|
345
|
+
<a name="M000034"></a><b>to_str</b>()
|
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('M000034_source')" id="l_M000034_source">show source</a> ]</p>
|
349
|
+
<div id="M000034_source" class="dyn-source">
|
350
350
|
<pre>
|
351
351
|
<span class="ruby-comment cmt"># File lib/more/facets/buildable.rb, line 285</span>
|
352
352
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_str</span>() <span class="ruby-ivar">@buffer</span>.<span class="ruby-identifier">to_str</span> <span class="ruby-keyword kw">end</span>
|