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
@@ -102,10 +102,10 @@ Or
|
|
102
102
|
|
103
103
|
<div class="sectiontitle">Methods</div>
|
104
104
|
<ul>
|
105
|
-
<li><a href="#
|
106
|
-
<li><a href="#
|
107
|
-
<li><a href="#
|
108
|
-
<li><a href="#
|
105
|
+
<li><a href="#M000219">end</a></li>
|
106
|
+
<li><a href="#M000218">method_missing</a></li>
|
107
|
+
<li><a href="#M000217">new</a></li>
|
108
|
+
<li><a href="#M000220">~</a></li>
|
109
109
|
</ul>
|
110
110
|
|
111
111
|
|
@@ -116,11 +116,11 @@ Or
|
|
116
116
|
<div class="sectiontitle">Public Class methods</div>
|
117
117
|
<div class="method">
|
118
118
|
<div class="title">
|
119
|
-
<a name="
|
119
|
+
<a name="M000217"></a><b>new</b>(value)
|
120
120
|
</div>
|
121
121
|
<div class="sourcecode">
|
122
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
123
|
-
<div id="
|
122
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000217_source')" id="l_M000217_source">show source</a> ]</p>
|
123
|
+
<div id="M000217_source" class="dyn-source">
|
124
124
|
<pre>
|
125
125
|
<span class="ruby-comment cmt"># File lib/more/facets/chain.rb, line 21</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">value</span>)
|
@@ -133,7 +133,7 @@ Or
|
|
133
133
|
<div class="sectiontitle">Public Instance methods</div>
|
134
134
|
<div class="method">
|
135
135
|
<div class="title">
|
136
|
-
<a name="
|
136
|
+
<a name="M000219"></a><b>end</b>()
|
137
137
|
</div>
|
138
138
|
<div class="description">
|
139
139
|
<p>
|
@@ -143,12 +143,12 @@ def value?
|
|
143
143
|
@value
|
144
144
|
</pre>
|
145
145
|
<p>
|
146
|
-
<a href="Chain.html#
|
146
|
+
<a href="Chain.html#M000219">end</a>
|
147
147
|
</p>
|
148
148
|
</div>
|
149
149
|
<div class="sourcecode">
|
150
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
151
|
-
<div id="
|
150
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000219_source')" id="l_M000219_source">show source</a> ]</p>
|
151
|
+
<div id="M000219_source" class="dyn-source">
|
152
152
|
<pre>
|
153
153
|
<span class="ruby-comment cmt"># File lib/more/facets/chain.rb, line 43</span>
|
154
154
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">end</span>
|
@@ -160,11 +160,11 @@ def value?
|
|
160
160
|
</div>
|
161
161
|
<div class="method">
|
162
162
|
<div class="title">
|
163
|
-
<a name="
|
163
|
+
<a name="M000218"></a><b>method_missing</b>(s,*a, &b)
|
164
164
|
</div>
|
165
165
|
<div class="sourcecode">
|
166
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
167
|
-
<div id="
|
166
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000218_source')" id="l_M000218_source">show source</a> ]</p>
|
167
|
+
<div id="M000218_source" class="dyn-source">
|
168
168
|
<pre>
|
169
169
|
<span class="ruby-comment cmt"># File lib/more/facets/chain.rb, line 25</span>
|
170
170
|
<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>)
|
@@ -186,11 +186,11 @@ def value?
|
|
186
186
|
</div>
|
187
187
|
<div class="method">
|
188
188
|
<div class="title">
|
189
|
-
<a name="
|
189
|
+
<a name="M000220"></a><b>~</b>()
|
190
190
|
</div>
|
191
191
|
<div class="sourcecode">
|
192
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
193
|
-
<div id="
|
192
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000220_source')" id="l_M000220_source">show source</a> ]</p>
|
193
|
+
<div id="M000220_source" class="dyn-source">
|
194
194
|
<pre>
|
195
195
|
<span class="ruby-comment cmt"># File lib/more/facets/chain.rb, line 47</span>
|
196
196
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">~@</span>
|
@@ -80,7 +80,7 @@ with deep cloneablity via the standard dup and clone methods.
|
|
80
80
|
|
81
81
|
<div class="sectiontitle">Methods</div>
|
82
82
|
<ul>
|
83
|
-
<li><a href="#
|
83
|
+
<li><a href="#M000746">initialize_copy</a></li>
|
84
84
|
</ul>
|
85
85
|
|
86
86
|
|
@@ -91,11 +91,11 @@ with deep cloneablity via the standard dup and clone methods.
|
|
91
91
|
<div class="sectiontitle">Public Instance methods</div>
|
92
92
|
<div class="method">
|
93
93
|
<div class="title">
|
94
|
-
<a name="
|
94
|
+
<a name="M000746"></a><b>initialize_copy</b>(sibling)
|
95
95
|
</div>
|
96
96
|
<div class="sourcecode">
|
97
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
98
|
-
<div id="
|
97
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000746_source')" id="l_M000746_source">show source</a> ]</p>
|
98
|
+
<div id="M000746_source" class="dyn-source">
|
99
99
|
<pre>
|
100
100
|
<span class="ruby-comment cmt"># File lib/more/facets/cloneable.rb, line 40</span>
|
101
101
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize_copy</span>(<span class="ruby-identifier">sibling</span>)
|
@@ -80,10 +80,10 @@ generally useful in the context of creating console output.
|
|
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="#
|
83
|
+
<li><a href="#M000945">ask</a></li>
|
84
|
+
<li><a href="#M000946">password</a></li>
|
85
|
+
<li><a href="#M000948">print_justified</a></li>
|
86
|
+
<li><a href="#M000947">screen_width</a></li>
|
87
87
|
</ul>
|
88
88
|
|
89
89
|
|
@@ -94,7 +94,7 @@ generally useful in the context of creating console output.
|
|
94
94
|
<div class="sectiontitle">Public Instance methods</div>
|
95
95
|
<div class="method">
|
96
96
|
<div class="title">
|
97
|
-
<a name="
|
97
|
+
<a name="M000945"></a><b>ask</b>(question, answers=nil)
|
98
98
|
</div>
|
99
99
|
<div class="description">
|
100
100
|
<p>
|
@@ -102,8 +102,8 @@ Convenient method to get simple console reply.
|
|
102
102
|
</p>
|
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('M000945_source')" id="l_M000945_source">show source</a> ]</p>
|
106
|
+
<div id="M000945_source" class="dyn-source">
|
107
107
|
<pre>
|
108
108
|
<span class="ruby-comment cmt"># File lib/more/facets/consoleutils.rb, line 29</span>
|
109
109
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ask</span>(<span class="ruby-identifier">question</span>, <span class="ruby-identifier">answers</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -118,17 +118,17 @@ Convenient method to get simple console reply.
|
|
118
118
|
</div>
|
119
119
|
<div class="method">
|
120
120
|
<div class="title">
|
121
|
-
<a name="
|
121
|
+
<a name="M000946"></a><b>password</b>(msg=nil)
|
122
122
|
</div>
|
123
123
|
<div class="description">
|
124
124
|
<p>
|
125
|
-
Ask for a <a href="ConsoleUtils.html#
|
125
|
+
Ask for a <a href="ConsoleUtils.html#M000946">password</a>. (FIXME: only
|
126
126
|
for unix so far)
|
127
127
|
</p>
|
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('M000946_source')" id="l_M000946_source">show source</a> ]</p>
|
131
|
+
<div id="M000946_source" class="dyn-source">
|
132
132
|
<pre>
|
133
133
|
<span class="ruby-comment cmt"># File lib/more/facets/consoleutils.rb, line 46</span>
|
134
134
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">password</span>(<span class="ruby-identifier">msg</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -152,7 +152,7 @@ for unix so far)
|
|
152
152
|
</div>
|
153
153
|
<div class="method">
|
154
154
|
<div class="title">
|
155
|
-
<a name="
|
155
|
+
<a name="M000948"></a><b>print_justified</b>(left, right, options={})
|
156
156
|
</div>
|
157
157
|
<div class="description">
|
158
158
|
<p>
|
@@ -164,8 +164,8 @@ a ratio option can be given which defaults to 0.8 (eg. 80/20)
|
|
164
164
|
</p>
|
165
165
|
</div>
|
166
166
|
<div class="sourcecode">
|
167
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
168
|
-
<div id="
|
167
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000948_source')" id="l_M000948_source">show source</a> ]</p>
|
168
|
+
<div id="M000948_source" class="dyn-source">
|
169
169
|
<pre>
|
170
170
|
<span class="ruby-comment cmt"># File lib/more/facets/consoleutils.rb, line 88</span>
|
171
171
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">print_justified</span>(<span class="ruby-identifier">left</span>, <span class="ruby-identifier">right</span>, <span class="ruby-identifier">options</span>={})
|
@@ -197,7 +197,7 @@ a ratio option can be given which defaults to 0.8 (eg. 80/20)
|
|
197
197
|
</div>
|
198
198
|
<div class="method">
|
199
199
|
<div class="title">
|
200
|
-
<a name="
|
200
|
+
<a name="M000947"></a><b>screen_width</b>(out=STDERR)
|
201
201
|
</div>
|
202
202
|
<div class="description">
|
203
203
|
<p>
|
@@ -205,12 +205,12 @@ Console screen width (taken from progress bar)
|
|
205
205
|
</p>
|
206
206
|
<p>
|
207
207
|
TODO: Don‘t know how portable <a
|
208
|
-
href="ConsoleUtils.html#
|
208
|
+
href="ConsoleUtils.html#M000947">screen_width</a> is.
|
209
209
|
</p>
|
210
210
|
</div>
|
211
211
|
<div class="sourcecode">
|
212
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
213
|
-
<div id="
|
212
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000947_source')" id="l_M000947_source">show source</a> ]</p>
|
213
|
+
<div id="M000947_source" class="dyn-source">
|
214
214
|
<pre>
|
215
215
|
<span class="ruby-comment cmt"># File lib/more/facets/consoleutils.rb, line 66</span>
|
216
216
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">screen_width</span>(<span class="ruby-identifier">out</span>=<span class="ruby-constant">STDERR</span>)
|
@@ -129,13 +129,13 @@ class/module where you mix in this module.
|
|
129
129
|
|
130
130
|
<div class="sectiontitle">Methods</div>
|
131
131
|
<ul>
|
132
|
-
<li><a href="#
|
133
|
-
<li><a href="#
|
134
|
-
<li><a href="#
|
135
|
-
<li><a href="#
|
136
|
-
<li><a href="#
|
137
|
-
<li><a href="#
|
138
|
-
<li><a href="#
|
132
|
+
<li><a href="#M000424">[]</a></li>
|
133
|
+
<li><a href="#M000425">[]=</a></li>
|
134
|
+
<li><a href="#M000423">continue</a></li>
|
135
|
+
<li><a href="#M000419">new</a></li>
|
136
|
+
<li><a href="#M000422">resume</a></li>
|
137
|
+
<li><a href="#M000420">run</a></li>
|
138
|
+
<li><a href="#M000421">stop</a></li>
|
139
139
|
</ul>
|
140
140
|
|
141
141
|
|
@@ -156,11 +156,11 @@ class/module where you mix in this module.
|
|
156
156
|
<div class="sectiontitle">Public Class methods</div>
|
157
157
|
<div class="method">
|
158
158
|
<div class="title">
|
159
|
-
<a name="
|
159
|
+
<a name="M000419"></a><b>new</b>(data = {}) {|self| ...}
|
160
160
|
</div>
|
161
161
|
<div class="sourcecode">
|
162
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
163
|
-
<div id="
|
162
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000419_source')" id="l_M000419_source">show source</a> ]</p>
|
163
|
+
<div id="M000419_source" class="dyn-source">
|
164
164
|
<pre>
|
165
165
|
<span class="ruby-comment cmt"># File lib/more/facets/coroutine.rb, line 115</span>
|
166
166
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">data</span> = {})
|
@@ -178,11 +178,11 @@ class/module where you mix in this module.
|
|
178
178
|
<div class="sectiontitle">Public Instance methods</div>
|
179
179
|
<div class="method">
|
180
180
|
<div class="title">
|
181
|
-
<a name="
|
181
|
+
<a name="M000424"></a><b>[]</b>(name)
|
182
182
|
</div>
|
183
183
|
<div class="sourcecode">
|
184
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
185
|
-
<div id="
|
184
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000424_source')" id="l_M000424_source">show source</a> ]</p>
|
185
|
+
<div id="M000424_source" class="dyn-source">
|
186
186
|
<pre>
|
187
187
|
<span class="ruby-comment cmt"># File lib/more/facets/coroutine.rb, line 147</span>
|
188
188
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">name</span>)
|
@@ -194,11 +194,11 @@ class/module where you mix in this module.
|
|
194
194
|
</div>
|
195
195
|
<div class="method">
|
196
196
|
<div class="title">
|
197
|
-
<a name="
|
197
|
+
<a name="M000425"></a><b>[]=</b>(name, value)
|
198
198
|
</div>
|
199
199
|
<div class="sourcecode">
|
200
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
201
|
-
<div id="
|
200
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000425_source')" id="l_M000425_source">show source</a> ]</p>
|
201
|
+
<div id="M000425_source" class="dyn-source">
|
202
202
|
<pre>
|
203
203
|
<span class="ruby-comment cmt"># File lib/more/facets/coroutine.rb, line 151</span>
|
204
204
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
|
@@ -210,11 +210,11 @@ class/module where you mix in this module.
|
|
210
210
|
</div>
|
211
211
|
<div class="method">
|
212
212
|
<div class="title">
|
213
|
-
<a name="
|
213
|
+
<a name="M000422"></a><b>resume</b>(other)
|
214
214
|
</div>
|
215
215
|
<div class="sourcecode">
|
216
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
217
|
-
<div id="
|
216
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000422_source')" id="l_M000422_source">show source</a> ]</p>
|
217
|
+
<div id="M000422_source" class="dyn-source">
|
218
218
|
<pre>
|
219
219
|
<span class="ruby-comment cmt"># File lib/more/facets/coroutine.rb, line 136</span>
|
220
220
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resume</span>(<span class="ruby-identifier">other</span>)
|
@@ -228,11 +228,11 @@ class/module where you mix in this module.
|
|
228
228
|
</div>
|
229
229
|
<div class="method">
|
230
230
|
<div class="title">
|
231
|
-
<a name="
|
231
|
+
<a name="M000420"></a><b>run</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('M000420_source')" id="l_M000420_source">show source</a> ]</p>
|
235
|
+
<div id="M000420_source" class="dyn-source">
|
236
236
|
<pre>
|
237
237
|
<span class="ruby-comment cmt"># File lib/more/facets/coroutine.rb, line 126</span>
|
238
238
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>
|
@@ -246,11 +246,11 @@ class/module where you mix in this module.
|
|
246
246
|
</div>
|
247
247
|
<div class="method">
|
248
248
|
<div class="title">
|
249
|
-
<a name="
|
249
|
+
<a name="M000421"></a><b>stop</b>()
|
250
250
|
</div>
|
251
251
|
<div class="sourcecode">
|
252
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
253
|
-
<div id="
|
252
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000421_source')" id="l_M000421_source">show source</a> ]</p>
|
253
|
+
<div id="M000421_source" class="dyn-source">
|
254
254
|
<pre>
|
255
255
|
<span class="ruby-comment cmt"># File lib/more/facets/coroutine.rb, line 132</span>
|
256
256
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>
|
@@ -263,11 +263,11 @@ class/module where you mix in this module.
|
|
263
263
|
<div class="sectiontitle">Protected Instance methods</div>
|
264
264
|
<div class="method">
|
265
265
|
<div class="title">
|
266
|
-
<a name="
|
266
|
+
<a name="M000423"></a><b>continue</b>(from = nil)
|
267
267
|
</div>
|
268
268
|
<div class="sourcecode">
|
269
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
270
|
-
<div id="
|
269
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000423_source')" id="l_M000423_source">show source</a> ]</p>
|
270
|
+
<div id="M000423_source" class="dyn-source">
|
271
271
|
<pre>
|
272
272
|
<span class="ruby-comment cmt"># File lib/more/facets/coroutine.rb, line 142</span>
|
273
273
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">continue</span>(<span class="ruby-identifier">from</span> = <span class="ruby-keyword kw">nil</span>)
|
@@ -71,7 +71,7 @@
|
|
71
71
|
|
72
72
|
<div class="description"><h1><a href="Crypt.html">Crypt</a></h1>
|
73
73
|
<p>
|
74
|
-
A pure ruby version of <a href="Crypt.html#
|
74
|
+
A pure ruby version of <a href="Crypt.html#M000917">crypt</a>(3), a salted
|
75
75
|
one-way hashing of a password.
|
76
76
|
</p>
|
77
77
|
</div>
|
@@ -80,9 +80,9 @@ one-way hashing of a password.
|
|
80
80
|
|
81
81
|
<div class="sectiontitle">Methods</div>
|
82
82
|
<ul>
|
83
|
-
<li><a href="#
|
84
|
-
<li><a href="#
|
85
|
-
<li><a href="#
|
83
|
+
<li><a href="#M000918">check</a></li>
|
84
|
+
<li><a href="#M000917">crypt</a></li>
|
85
|
+
<li><a href="#M000919">generate_salt</a></li>
|
86
86
|
</ul>
|
87
87
|
|
88
88
|
|
@@ -101,17 +101,17 @@ one-way hashing of a password.
|
|
101
101
|
<div class="sectiontitle">Public Class methods</div>
|
102
102
|
<div class="method">
|
103
103
|
<div class="title">
|
104
|
-
<a name="
|
104
|
+
<a name="M000918"></a><b>check</b>(password, hash, algo = :md5)
|
105
105
|
</div>
|
106
106
|
<div class="description">
|
107
107
|
<p>
|
108
|
-
<a href="Crypt.html#
|
108
|
+
<a href="Crypt.html#M000918">check</a> the validity of a password against
|
109
109
|
an hashed string
|
110
110
|
</p>
|
111
111
|
</div>
|
112
112
|
<div class="sourcecode">
|
113
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
114
|
-
<div id="
|
113
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000918_source')" id="l_M000918_source">show source</a> ]</p>
|
114
|
+
<div id="M000918_source" class="dyn-source">
|
115
115
|
<pre>
|
116
116
|
<span class="ruby-comment cmt"># File lib/more/facets/crypt.rb, line 153</span>
|
117
117
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">check</span>(<span class="ruby-identifier">password</span>, <span class="ruby-identifier">hash</span>, <span class="ruby-identifier">algo</span> = <span class="ruby-identifier">:md5</span>)
|
@@ -125,11 +125,11 @@ an hashed string
|
|
125
125
|
</div>
|
126
126
|
<div class="method">
|
127
127
|
<div class="title">
|
128
|
-
<a name="
|
128
|
+
<a name="M000917"></a><b>crypt</b>(password, algo = :md5, salt = nil, magic='$1$')
|
129
129
|
</div>
|
130
130
|
<div class="description">
|
131
131
|
<p>
|
132
|
-
A pure ruby version of <a href="Crypt.html#
|
132
|
+
A pure ruby version of <a href="Crypt.html#M000917">crypt</a>(3), a salted
|
133
133
|
one-way hashing of a password.
|
134
134
|
</p>
|
135
135
|
<p>
|
@@ -138,7 +138,7 @@ rmd160.
|
|
138
138
|
</p>
|
139
139
|
<p>
|
140
140
|
Only the md5 hashing algorithm is standard and compatible with <a
|
141
|
-
href="Crypt.html#
|
141
|
+
href="Crypt.html#M000917">crypt</a>(3), the others are not standard.
|
142
142
|
</p>
|
143
143
|
<p>
|
144
144
|
Automatically generate a 8-bytes salt if nil.
|
@@ -149,8 +149,8 @@ salt.size + 23.
|
|
149
149
|
</p>
|
150
150
|
</div>
|
151
151
|
<div class="sourcecode">
|
152
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
153
|
-
<div id="
|
152
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000917_source')" id="l_M000917_source">show source</a> ]</p>
|
153
|
+
<div id="M000917_source" class="dyn-source">
|
154
154
|
<pre>
|
155
155
|
<span class="ruby-comment cmt"># File lib/more/facets/crypt.rb, line 58</span>
|
156
156
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">crypt</span>(<span class="ruby-identifier">password</span>, <span class="ruby-identifier">algo</span> = <span class="ruby-identifier">:md5</span>, <span class="ruby-identifier">salt</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">magic</span>=<span class="ruby-value str">'$1$'</span>)
|
@@ -250,7 +250,7 @@ salt.size + 23.
|
|
250
250
|
</div>
|
251
251
|
<div class="method">
|
252
252
|
<div class="title">
|
253
|
-
<a name="
|
253
|
+
<a name="M000919"></a><b>generate_salt</b>(size)
|
254
254
|
</div>
|
255
255
|
<div class="description">
|
256
256
|
<p>
|
@@ -258,8 +258,8 @@ generate a <tt>size</tt> length random salt
|
|
258
258
|
</p>
|
259
259
|
</div>
|
260
260
|
<div class="sourcecode">
|
261
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
262
|
-
<div id="
|
261
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000919_source')" id="l_M000919_source">show source</a> ]</p>
|
262
|
+
<div id="M000919_source" class="dyn-source">
|
263
263
|
<pre>
|
264
264
|
<span class="ruby-comment cmt"># File lib/more/facets/crypt.rb, line 162</span>
|
265
265
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">generate_salt</span>(<span class="ruby-identifier">size</span>)
|
@@ -87,17 +87,17 @@ most importantly remove urls.
|
|
87
87
|
|
88
88
|
<div class="sectiontitle">Methods</div>
|
89
89
|
<ul>
|
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="#
|
90
|
+
<li><a href="#M000019">accept_host</a></li>
|
91
|
+
<li><a href="#M000027">clean_properties</a></li>
|
92
|
+
<li><a href="#M000028">clean_value</a></li>
|
93
|
+
<li><a href="#M000020">filter</a></li>
|
94
|
+
<li><a href="#M000018">new</a></li>
|
95
|
+
<li><a href="#M000026">parse</a></li>
|
96
|
+
<li><a href="#M000024">remove_blanklines</a></li>
|
97
|
+
<li><a href="#M000021">remove_comments</a></li>
|
98
|
+
<li><a href="#M000025">remove_nullvalues</a></li>
|
99
|
+
<li><a href="#M000022">remove_urls</a></li>
|
100
|
+
<li><a href="#M000023">remove_whitespace</a></li>
|
101
101
|
</ul>
|
102
102
|
|
103
103
|
|
@@ -157,7 +157,7 @@ urls which will be allowed. (NOT YET USED)
|
|
157
157
|
</td>
|
158
158
|
<td class='attr-name'>rewrite</td>
|
159
159
|
<td class='attr-desc'>
|
160
|
-
Complete <a href="CssFilter.html#
|
160
|
+
Complete <a href="CssFilter.html#M000026">parse</a> and rewrite of CSS
|
161
161
|
document. This does a complete "cleaning" but note that is not
|
162
162
|
yet a perfect parser.
|
163
163
|
|
@@ -218,11 +218,11 @@ substitue urls (NOT YET USED)
|
|
218
218
|
<div class="sectiontitle">Public Class methods</div>
|
219
219
|
<div class="method">
|
220
220
|
<div class="title">
|
221
|
-
<a name="
|
221
|
+
<a name="M000018"></a><b>new</b>(options=nil)
|
222
222
|
</div>
|
223
223
|
<div class="sourcecode">
|
224
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
225
|
-
<div id="
|
224
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p>
|
225
|
+
<div id="M000018_source" class="dyn-source">
|
226
226
|
<pre>
|
227
227
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 78</span>
|
228
228
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -245,11 +245,11 @@ substitue urls (NOT YET USED)
|
|
245
245
|
<div class="sectiontitle">Public Instance methods</div>
|
246
246
|
<div class="method">
|
247
247
|
<div class="title">
|
248
|
-
<a name="
|
248
|
+
<a name="M000019"></a><b>accept_host</b>(host)
|
249
249
|
</div>
|
250
250
|
<div class="sourcecode">
|
251
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
252
|
-
<div id="
|
251
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p>
|
252
|
+
<div id="M000019_source" class="dyn-source">
|
253
253
|
<pre>
|
254
254
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 94</span>
|
255
255
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">accept_host</span>(<span class="ruby-identifier">host</span>)
|
@@ -261,7 +261,7 @@ substitue urls (NOT YET USED)
|
|
261
261
|
</div>
|
262
262
|
<div class="method">
|
263
263
|
<div class="title">
|
264
|
-
<a name="
|
264
|
+
<a name="M000027"></a><b>clean_properties</b>(atts)
|
265
265
|
</div>
|
266
266
|
<div class="description">
|
267
267
|
<p>
|
@@ -274,8 +274,8 @@ TODO: So far this does absolutely nothing!
|
|
274
274
|
</p>
|
275
275
|
</div>
|
276
276
|
<div class="sourcecode">
|
277
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
278
|
-
<div id="
|
277
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p>
|
278
|
+
<div id="M000027_source" class="dyn-source">
|
279
279
|
<pre>
|
280
280
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 178</span>
|
281
281
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clean_properties</span>(<span class="ruby-identifier">atts</span>)
|
@@ -287,11 +287,11 @@ TODO: So far this does absolutely nothing!
|
|
287
287
|
</div>
|
288
288
|
<div class="method">
|
289
289
|
<div class="title">
|
290
|
-
<a name="
|
290
|
+
<a name="M000028"></a><b>clean_value</b>(val)
|
291
291
|
</div>
|
292
292
|
<div class="sourcecode">
|
293
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
294
|
-
<div id="
|
293
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p>
|
294
|
+
<div id="M000028_source" class="dyn-source">
|
295
295
|
<pre>
|
296
296
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 184</span>
|
297
297
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clean_value</span>(<span class="ruby-identifier">val</span>)
|
@@ -312,11 +312,11 @@ TODO: So far this does absolutely nothing!
|
|
312
312
|
</div>
|
313
313
|
<div class="method">
|
314
314
|
<div class="title">
|
315
|
-
<a name="
|
315
|
+
<a name="M000020"></a><b>filter</b>(css)
|
316
316
|
</div>
|
317
317
|
<div class="sourcecode">
|
318
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
319
|
-
<div id="
|
318
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p>
|
319
|
+
<div id="M000020_source" class="dyn-source">
|
320
320
|
<pre>
|
321
321
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 100</span>
|
322
322
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">filter</span>(<span class="ruby-identifier">css</span>)
|
@@ -337,7 +337,7 @@ TODO: So far this does absolutely nothing!
|
|
337
337
|
</div>
|
338
338
|
<div class="method">
|
339
339
|
<div class="title">
|
340
|
-
<a name="
|
340
|
+
<a name="M000026"></a><b>parse</b>(css)
|
341
341
|
</div>
|
342
342
|
<div class="description">
|
343
343
|
<p>
|
@@ -349,8 +349,8 @@ TODO: Not complete, does not work with "@xxx foo;" for example.
|
|
349
349
|
</p>
|
350
350
|
</div>
|
351
351
|
<div class="sourcecode">
|
352
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
353
|
-
<div id="
|
352
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p>
|
353
|
+
<div id="M000026_source" class="dyn-source">
|
354
354
|
<pre>
|
355
355
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 158</span>
|
356
356
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">css</span>)
|
@@ -372,11 +372,11 @@ TODO: Not complete, does not work with "@xxx foo;" for example.
|
|
372
372
|
</div>
|
373
373
|
<div class="method">
|
374
374
|
<div class="title">
|
375
|
-
<a name="
|
375
|
+
<a name="M000024"></a><b>remove_blanklines</b>(data)
|
376
376
|
</div>
|
377
377
|
<div class="sourcecode">
|
378
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
379
|
-
<div id="
|
378
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p>
|
379
|
+
<div id="M000024_source" class="dyn-source">
|
380
380
|
<pre>
|
381
381
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 143</span>
|
382
382
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_blanklines</span>(<span class="ruby-identifier">data</span>)
|
@@ -388,11 +388,11 @@ TODO: Not complete, does not work with "@xxx foo;" for example.
|
|
388
388
|
</div>
|
389
389
|
<div class="method">
|
390
390
|
<div class="title">
|
391
|
-
<a name="
|
391
|
+
<a name="M000021"></a><b>remove_comments</b>(data)
|
392
392
|
</div>
|
393
393
|
<div class="sourcecode">
|
394
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
395
|
-
<div id="
|
394
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p>
|
395
|
+
<div id="M000021_source" class="dyn-source">
|
396
396
|
<pre>
|
397
397
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 115</span>
|
398
398
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_comments</span>(<span class="ruby-identifier">data</span>)
|
@@ -404,11 +404,11 @@ TODO: Not complete, does not work with "@xxx foo;" for example.
|
|
404
404
|
</div>
|
405
405
|
<div class="method">
|
406
406
|
<div class="title">
|
407
|
-
<a name="
|
407
|
+
<a name="M000025"></a><b>remove_nullvalues</b>(data)
|
408
408
|
</div>
|
409
409
|
<div class="sourcecode">
|
410
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
411
|
-
<div id="
|
410
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p>
|
411
|
+
<div id="M000025_source" class="dyn-source">
|
412
412
|
<pre>
|
413
413
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 149</span>
|
414
414
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_nullvalues</span>(<span class="ruby-identifier">data</span>);
|
@@ -420,7 +420,7 @@ TODO: Not complete, does not work with "@xxx foo;" for example.
|
|
420
420
|
</div>
|
421
421
|
<div class="method">
|
422
422
|
<div class="title">
|
423
|
-
<a name="
|
423
|
+
<a name="M000022"></a><b>remove_urls</b>(data)
|
424
424
|
</div>
|
425
425
|
<div class="description">
|
426
426
|
<p>
|
@@ -428,8 +428,8 @@ TODO: allowed_urls
|
|
428
428
|
</p>
|
429
429
|
</div>
|
430
430
|
<div class="sourcecode">
|
431
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
432
|
-
<div id="
|
431
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p>
|
432
|
+
<div id="M000022_source" class="dyn-source">
|
433
433
|
<pre>
|
434
434
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 121</span>
|
435
435
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_urls</span>(<span class="ruby-identifier">data</span>)
|
@@ -450,11 +450,11 @@ TODO: allowed_urls
|
|
450
450
|
</div>
|
451
451
|
<div class="method">
|
452
452
|
<div class="title">
|
453
|
-
<a name="
|
453
|
+
<a name="M000023"></a><b>remove_whitespace</b>(data)
|
454
454
|
</div>
|
455
455
|
<div class="sourcecode">
|
456
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
457
|
-
<div id="
|
456
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p>
|
457
|
+
<div id="M000023_source" class="dyn-source">
|
458
458
|
<pre>
|
459
459
|
<span class="ruby-comment cmt"># File lib/more/facets/cssfilter.rb, line 136</span>
|
460
460
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_whitespace</span>(<span class="ruby-identifier">data</span>)
|