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
@@ -85,13 +85,13 @@ terminology to Numeric.
|
|
85
85
|
|
86
86
|
<div class="sectiontitle">Methods</div>
|
87
87
|
<ul>
|
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="#
|
88
|
+
<li><a href="#M000296">after</a></li>
|
89
|
+
<li><a href="#M000291">ago</a></li>
|
90
|
+
<li><a href="#M000293">before</a></li>
|
91
|
+
<li><a href="#M000295">from_now</a></li>
|
92
|
+
<li><a href="#M000290">new</a></li>
|
93
|
+
<li><a href="#M000294">since</a></li>
|
94
|
+
<li><a href="#M000292">until</a></li>
|
95
95
|
</ul>
|
96
96
|
|
97
97
|
|
@@ -115,11 +115,11 @@ terminology to Numeric.
|
|
115
115
|
<div class="sectiontitle">Public Class methods</div>
|
116
116
|
<div class="method">
|
117
117
|
<div class="title">
|
118
|
-
<a name="
|
118
|
+
<a name="M000290"></a><b>new</b>(n)
|
119
119
|
</div>
|
120
120
|
<div class="sourcecode">
|
121
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
122
|
-
<div id="
|
121
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000290_source')" id="l_M000290_source">show source</a> ]</p>
|
122
|
+
<div id="M000290_source" class="dyn-source">
|
123
123
|
<pre>
|
124
124
|
<span class="ruby-comment cmt"># File lib/more/facets/times.rb, line 399</span>
|
125
125
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">n</span>)
|
@@ -132,26 +132,26 @@ terminology to Numeric.
|
|
132
132
|
<div class="sectiontitle">Public Instance methods</div>
|
133
133
|
<div class="method">
|
134
134
|
<div class="title">
|
135
|
-
<a name="
|
135
|
+
<a name="M000296"></a><b>after</b>(time = ::Time.now)
|
136
136
|
</div>
|
137
137
|
<div class="description">
|
138
138
|
<p>
|
139
|
-
Alias for <a href="Weekdays.html#
|
139
|
+
Alias for <a href="Weekdays.html#M000294">since</a>
|
140
140
|
</p>
|
141
141
|
</div>
|
142
142
|
</div>
|
143
143
|
<div class="method">
|
144
144
|
<div class="title">
|
145
|
-
<a name="
|
145
|
+
<a name="M000291"></a><b>ago</b>(time = ::Time.now)
|
146
146
|
</div>
|
147
147
|
<div class="aka">
|
148
148
|
This method is also aliased as
|
149
|
-
<a href="Weekdays.html#
|
150
|
-
<a href="Weekdays.html#
|
149
|
+
<a href="Weekdays.html#M000292">until</a>
|
150
|
+
<a href="Weekdays.html#M000293">before</a>
|
151
151
|
</div>
|
152
152
|
<div class="sourcecode">
|
153
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
154
|
-
<div id="
|
153
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000291_source')" id="l_M000291_source">show source</a> ]</p>
|
154
|
+
<div id="M000291_source" class="dyn-source">
|
155
155
|
<pre>
|
156
156
|
<span class="ruby-comment cmt"># File lib/more/facets/times.rb, line 403</span>
|
157
157
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ago</span>(<span class="ruby-identifier">time</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>)
|
@@ -163,36 +163,36 @@ Alias for <a href="Weekdays.html#M000285">since</a>
|
|
163
163
|
</div>
|
164
164
|
<div class="method">
|
165
165
|
<div class="title">
|
166
|
-
<a name="
|
166
|
+
<a name="M000293"></a><b>before</b>(time = ::Time.now)
|
167
167
|
</div>
|
168
168
|
<div class="description">
|
169
169
|
<p>
|
170
|
-
Alias for <a href="Weekdays.html#
|
170
|
+
Alias for <a href="Weekdays.html#M000291">ago</a>
|
171
171
|
</p>
|
172
172
|
</div>
|
173
173
|
</div>
|
174
174
|
<div class="method">
|
175
175
|
<div class="title">
|
176
|
-
<a name="
|
176
|
+
<a name="M000295"></a><b>from_now</b>(time = ::Time.now)
|
177
177
|
</div>
|
178
178
|
<div class="description">
|
179
179
|
<p>
|
180
|
-
Alias for <a href="Weekdays.html#
|
180
|
+
Alias for <a href="Weekdays.html#M000294">since</a>
|
181
181
|
</p>
|
182
182
|
</div>
|
183
183
|
</div>
|
184
184
|
<div class="method">
|
185
185
|
<div class="title">
|
186
|
-
<a name="
|
186
|
+
<a name="M000294"></a><b>since</b>(time = ::Time.now)
|
187
187
|
</div>
|
188
188
|
<div class="aka">
|
189
189
|
This method is also aliased as
|
190
|
-
<a href="Weekdays.html#
|
191
|
-
<a href="Weekdays.html#
|
190
|
+
<a href="Weekdays.html#M000295">from_now</a>
|
191
|
+
<a href="Weekdays.html#M000296">after</a>
|
192
192
|
</div>
|
193
193
|
<div class="sourcecode">
|
194
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
195
|
-
<div id="
|
194
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000294_source')" id="l_M000294_source">show source</a> ]</p>
|
195
|
+
<div id="M000294_source" class="dyn-source">
|
196
196
|
<pre>
|
197
197
|
<span class="ruby-comment cmt"># File lib/more/facets/times.rb, line 409</span>
|
198
198
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">since</span>(<span class="ruby-identifier">time</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>)
|
@@ -204,11 +204,11 @@ Alias for <a href="Weekdays.html#M000285">since</a>
|
|
204
204
|
</div>
|
205
205
|
<div class="method">
|
206
206
|
<div class="title">
|
207
|
-
<a name="
|
207
|
+
<a name="M000292"></a><b>until</b>(time = ::Time.now)
|
208
208
|
</div>
|
209
209
|
<div class="description">
|
210
210
|
<p>
|
211
|
-
Alias for <a href="Weekdays.html#
|
211
|
+
Alias for <a href="Weekdays.html#M000291">ago</a>
|
212
212
|
</p>
|
213
213
|
</div>
|
214
214
|
</div>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<a href="XOXO.html">XOXO</a> is a Ruby <a href="XOXO.html">XOXO</a> parser
|
75
75
|
and generator. <a href="It.html">It</a> provides a Ruby API similar to
|
76
76
|
Marshal and YAML (though more specific) to <a
|
77
|
-
href="XOXO.html#
|
77
|
+
href="XOXO.html#M000784">load</a> and <a href="XOXO.html#M000785">dump</a>
|
78
78
|
<a href="http://microformats.org/wiki/xoxo">XOXO</a>, an simple, open
|
79
79
|
outline format written in standard XHTML and suitable for embedding in
|
80
80
|
(X)HTML, Atom, RSS, and arbitrary XML.
|
@@ -85,8 +85,8 @@ outline format written in standard XHTML and suitable for embedding in
|
|
85
85
|
|
86
86
|
<div class="sectiontitle">Methods</div>
|
87
87
|
<ul>
|
88
|
-
<li><a href="#
|
89
|
-
<li><a href="#
|
88
|
+
<li><a href="#M000785">dump</a></li>
|
89
|
+
<li><a href="#M000784">load</a></li>
|
90
90
|
</ul>
|
91
91
|
|
92
92
|
|
@@ -97,7 +97,7 @@ outline format written in standard XHTML and suitable for embedding in
|
|
97
97
|
<div class="sectiontitle">Public Class methods</div>
|
98
98
|
<div class="method">
|
99
99
|
<div class="title">
|
100
|
-
<a name="
|
100
|
+
<a name="M000785"></a><b>dump</b>(struct, options={})
|
101
101
|
</div>
|
102
102
|
<div class="description">
|
103
103
|
<p>
|
@@ -133,8 +133,8 @@ wrapped <a href="XOXO.html">XOXO</a> document.
|
|
133
133
|
</table>
|
134
134
|
</div>
|
135
135
|
<div class="sourcecode">
|
136
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
137
|
-
<div id="
|
136
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000785_source')" id="l_M000785_source">show source</a> ]</p>
|
137
|
+
<div id="M000785_source" class="dyn-source">
|
138
138
|
<pre>
|
139
139
|
<span class="ruby-comment cmt"># File lib/more/facets/xoxo.rb, line 71</span>
|
140
140
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dump</span>(<span class="ruby-identifier">struct</span>, <span class="ruby-identifier">options</span>={})
|
@@ -159,7 +159,7 @@ wrapped <a href="XOXO.html">XOXO</a> document.
|
|
159
159
|
</div>
|
160
160
|
<div class="method">
|
161
161
|
<div class="title">
|
162
|
-
<a name="
|
162
|
+
<a name="M000784"></a><b>load</b>(xoxo)
|
163
163
|
</div>
|
164
164
|
<div class="description">
|
165
165
|
<p>
|
@@ -168,8 +168,8 @@ IO or StringIO or <em>xoxo</em>.
|
|
168
168
|
</p>
|
169
169
|
</div>
|
170
170
|
<div class="sourcecode">
|
171
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
172
|
-
<div id="
|
171
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000784_source')" id="l_M000784_source">show source</a> ]</p>
|
172
|
+
<div id="M000784_source" class="dyn-source">
|
173
173
|
<pre>
|
174
174
|
<span class="ruby-comment cmt"># File lib/more/facets/xoxo.rb, line 48</span>
|
175
175
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">xoxo</span>)
|
@@ -79,20 +79,20 @@ Function module for compression methods.
|
|
79
79
|
|
80
80
|
<div class="sectiontitle">Methods</div>
|
81
81
|
<ul>
|
82
|
-
<li><a href="#
|
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="#
|
82
|
+
<li><a href="#M000964">compress</a></li>
|
83
|
+
<li><a href="#M000971">tar_bzip</a></li>
|
84
|
+
<li><a href="#M000970">tar_bzip2</a></li>
|
85
|
+
<li><a href="#M000965">tar_gzip</a></li>
|
86
|
+
<li><a href="#M000972">tar_j</a></li>
|
87
|
+
<li><a href="#M000966">tar_z</a></li>
|
88
|
+
<li><a href="#M000967">tgz</a></li>
|
89
|
+
<li><a href="#M000974">untar_bzip</a></li>
|
90
|
+
<li><a href="#M000973">untar_bzip2</a></li>
|
91
|
+
<li><a href="#M000968">untar_gzip</a></li>
|
92
|
+
<li><a href="#M000975">untar_j</a></li>
|
93
|
+
<li><a href="#M000969">untar_z</a></li>
|
94
|
+
<li><a href="#M000977">unzip</a></li>
|
95
|
+
<li><a href="#M000976">zip</a></li>
|
96
96
|
</ul>
|
97
97
|
|
98
98
|
|
@@ -116,7 +116,7 @@ Module <a href="ZipUtils/Verbose.html" class="link">ZipUtils::Verbose</a><br />
|
|
116
116
|
<div class="sectiontitle">Public Instance methods</div>
|
117
117
|
<div class="method">
|
118
118
|
<div class="title">
|
119
|
-
<a name="
|
119
|
+
<a name="M000964"></a><b>compress</b>(format_extension, folder, file=nil, options={})
|
120
120
|
</div>
|
121
121
|
<div class="description">
|
122
122
|
<p>
|
@@ -126,20 +126,20 @@ Compress based on given extension. Supported extensions are:
|
|
126
126
|
<li>tar.gz
|
127
127
|
|
128
128
|
</li>
|
129
|
-
<li><a href="ZipUtils.html#
|
129
|
+
<li><a href="ZipUtils.html#M000967">tgz</a>
|
130
130
|
|
131
131
|
</li>
|
132
132
|
<li>tar.bz2
|
133
133
|
|
134
134
|
</li>
|
135
|
-
<li><a href="ZipUtils.html#
|
135
|
+
<li><a href="ZipUtils.html#M000976">zip</a>
|
136
136
|
|
137
137
|
</li>
|
138
138
|
</ul>
|
139
139
|
</div>
|
140
140
|
<div class="sourcecode">
|
141
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
142
|
-
<div id="
|
141
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000964_source')" id="l_M000964_source">show source</a> ]</p>
|
142
|
+
<div id="M000964_source" class="dyn-source">
|
143
143
|
<pre>
|
144
144
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 56</span>
|
145
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compress</span>(<span class="ruby-identifier">format_extension</span>, <span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -156,17 +156,17 @@ Compress based on given extension. Supported extensions are:
|
|
156
156
|
</div>
|
157
157
|
<div class="method">
|
158
158
|
<div class="title">
|
159
|
-
<a name="
|
159
|
+
<a name="M000971"></a><b>tar_bzip</b>(folder, file=nil, options={})
|
160
160
|
</div>
|
161
161
|
<div class="description">
|
162
162
|
<p>
|
163
|
-
Alias for <a href="ZipUtils.html#
|
163
|
+
Alias for <a href="ZipUtils.html#M000970">tar_bzip2</a>
|
164
164
|
</p>
|
165
165
|
</div>
|
166
166
|
</div>
|
167
167
|
<div class="method">
|
168
168
|
<div class="title">
|
169
|
-
<a name="
|
169
|
+
<a name="M000970"></a><b>tar_bzip2</b>(folder, file=nil, options={})
|
170
170
|
</div>
|
171
171
|
<div class="description">
|
172
172
|
<p>
|
@@ -175,12 +175,12 @@ Tar Bzip2
|
|
175
175
|
</div>
|
176
176
|
<div class="aka">
|
177
177
|
This method is also aliased as
|
178
|
-
<a href="ZipUtils.html#
|
179
|
-
<a href="ZipUtils.html#
|
178
|
+
<a href="ZipUtils.html#M000971">tar_bzip</a>
|
179
|
+
<a href="ZipUtils.html#M000972">tar_j</a>
|
180
180
|
</div>
|
181
181
|
<div class="sourcecode">
|
182
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
183
|
-
<div id="
|
182
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000970_source')" id="l_M000970_source">show source</a> ]</p>
|
183
|
+
<div id="M000970_source" class="dyn-source">
|
184
184
|
<pre>
|
185
185
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 103</span>
|
186
186
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_bzip2</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -203,7 +203,7 @@ Tar Bzip2
|
|
203
203
|
</div>
|
204
204
|
<div class="method">
|
205
205
|
<div class="title">
|
206
|
-
<a name="
|
206
|
+
<a name="M000965"></a><b>tar_gzip</b>(folder, file=nil, options={})
|
207
207
|
</div>
|
208
208
|
<div class="description">
|
209
209
|
<p>
|
@@ -212,11 +212,11 @@ Tar Gzip
|
|
212
212
|
</div>
|
213
213
|
<div class="aka">
|
214
214
|
This method is also aliased as
|
215
|
-
<a href="ZipUtils.html#
|
215
|
+
<a href="ZipUtils.html#M000966">tar_z</a>
|
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('M000965_source')" id="l_M000965_source">show source</a> ]</p>
|
219
|
+
<div id="M000965_source" class="dyn-source">
|
220
220
|
<pre>
|
221
221
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 67</span>
|
222
222
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_gzip</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -241,31 +241,31 @@ Tar Gzip
|
|
241
241
|
</div>
|
242
242
|
<div class="method">
|
243
243
|
<div class="title">
|
244
|
-
<a name="
|
244
|
+
<a name="M000972"></a><b>tar_j</b>(folder, file=nil, options={})
|
245
245
|
</div>
|
246
246
|
<div class="description">
|
247
247
|
<p>
|
248
|
-
Alias for <a href="ZipUtils.html#
|
248
|
+
Alias for <a href="ZipUtils.html#M000970">tar_bzip2</a>
|
249
249
|
</p>
|
250
250
|
</div>
|
251
251
|
</div>
|
252
252
|
<div class="method">
|
253
253
|
<div class="title">
|
254
|
-
<a name="
|
254
|
+
<a name="M000966"></a><b>tar_z</b>(folder, file=nil, options={})
|
255
255
|
</div>
|
256
256
|
<div class="description">
|
257
257
|
<p>
|
258
|
-
Alias for <a href="ZipUtils.html#
|
258
|
+
Alias for <a href="ZipUtils.html#M000965">tar_gzip</a>
|
259
259
|
</p>
|
260
260
|
</div>
|
261
261
|
</div>
|
262
262
|
<div class="method">
|
263
263
|
<div class="title">
|
264
|
-
<a name="
|
264
|
+
<a name="M000967"></a><b>tgz</b>(folder, file=nil, options={})
|
265
265
|
</div>
|
266
266
|
<div class="sourcecode">
|
267
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
268
|
-
<div id="
|
267
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000967_source')" id="l_M000967_source">show source</a> ]</p>
|
268
|
+
<div id="M000967_source" class="dyn-source">
|
269
269
|
<pre>
|
270
270
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 87</span>
|
271
271
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tgz</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -278,17 +278,17 @@ Alias for <a href="ZipUtils.html#M000961">tar_gzip</a>
|
|
278
278
|
</div>
|
279
279
|
<div class="method">
|
280
280
|
<div class="title">
|
281
|
-
<a name="
|
281
|
+
<a name="M000974"></a><b>untar_bzip</b>(file, options={})
|
282
282
|
</div>
|
283
283
|
<div class="description">
|
284
284
|
<p>
|
285
|
-
Alias for <a href="ZipUtils.html#
|
285
|
+
Alias for <a href="ZipUtils.html#M000973">untar_bzip2</a>
|
286
286
|
</p>
|
287
287
|
</div>
|
288
288
|
</div>
|
289
289
|
<div class="method">
|
290
290
|
<div class="title">
|
291
|
-
<a name="
|
291
|
+
<a name="M000973"></a><b>untar_bzip2</b>(file, options={})
|
292
292
|
</div>
|
293
293
|
<div class="description">
|
294
294
|
<p>
|
@@ -297,12 +297,12 @@ Untar Bzip2
|
|
297
297
|
</div>
|
298
298
|
<div class="aka">
|
299
299
|
This method is also aliased as
|
300
|
-
<a href="ZipUtils.html#
|
301
|
-
<a href="ZipUtils.html#
|
300
|
+
<a href="ZipUtils.html#M000974">untar_bzip</a>
|
301
|
+
<a href="ZipUtils.html#M000975">untar_j</a>
|
302
302
|
</div>
|
303
303
|
<div class="sourcecode">
|
304
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
305
|
-
<div id="
|
304
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000973_source')" id="l_M000973_source">show source</a> ]</p>
|
305
|
+
<div id="M000973_source" class="dyn-source">
|
306
306
|
<pre>
|
307
307
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 122</span>
|
308
308
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untar_bzip2</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -322,7 +322,7 @@ Untar Bzip2
|
|
322
322
|
</div>
|
323
323
|
<div class="method">
|
324
324
|
<div class="title">
|
325
|
-
<a name="
|
325
|
+
<a name="M000968"></a><b>untar_gzip</b>(file, options={})
|
326
326
|
</div>
|
327
327
|
<div class="description">
|
328
328
|
<p>
|
@@ -331,11 +331,11 @@ Untar Gzip
|
|
331
331
|
</div>
|
332
332
|
<div class="aka">
|
333
333
|
This method is also aliased as
|
334
|
-
<a href="ZipUtils.html#
|
334
|
+
<a href="ZipUtils.html#M000969">untar_z</a>
|
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('M000968_source')" id="l_M000968_source">show source</a> ]</p>
|
338
|
+
<div id="M000968_source" class="dyn-source">
|
339
339
|
<pre>
|
340
340
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 94</span>
|
341
341
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untar_gzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -349,27 +349,27 @@ Untar Gzip
|
|
349
349
|
</div>
|
350
350
|
<div class="method">
|
351
351
|
<div class="title">
|
352
|
-
<a name="
|
352
|
+
<a name="M000975"></a><b>untar_j</b>(file, options={})
|
353
353
|
</div>
|
354
354
|
<div class="description">
|
355
355
|
<p>
|
356
|
-
Alias for <a href="ZipUtils.html#
|
356
|
+
Alias for <a href="ZipUtils.html#M000973">untar_bzip2</a>
|
357
357
|
</p>
|
358
358
|
</div>
|
359
359
|
</div>
|
360
360
|
<div class="method">
|
361
361
|
<div class="title">
|
362
|
-
<a name="
|
362
|
+
<a name="M000969"></a><b>untar_z</b>(file, options={})
|
363
363
|
</div>
|
364
364
|
<div class="description">
|
365
365
|
<p>
|
366
|
-
Alias for <a href="ZipUtils.html#
|
366
|
+
Alias for <a href="ZipUtils.html#M000968">untar_gzip</a>
|
367
367
|
</p>
|
368
368
|
</div>
|
369
369
|
</div>
|
370
370
|
<div class="method">
|
371
371
|
<div class="title">
|
372
|
-
<a name="
|
372
|
+
<a name="M000977"></a><b>unzip</b>(file, options={})
|
373
373
|
</div>
|
374
374
|
<div class="description">
|
375
375
|
<p>
|
@@ -377,8 +377,8 @@ Unzip
|
|
377
377
|
</p>
|
378
378
|
</div>
|
379
379
|
<div class="sourcecode">
|
380
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
381
|
-
<div id="
|
380
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000977_source')" id="l_M000977_source">show source</a> ]</p>
|
381
|
+
<div id="M000977_source" class="dyn-source">
|
382
382
|
<pre>
|
383
383
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 156</span>
|
384
384
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -398,7 +398,7 @@ Unzip
|
|
398
398
|
</div>
|
399
399
|
<div class="method">
|
400
400
|
<div class="title">
|
401
|
-
<a name="
|
401
|
+
<a name="M000976"></a><b>zip</b>(folder, file=nil, options={})
|
402
402
|
</div>
|
403
403
|
<div class="description">
|
404
404
|
<p>
|
@@ -406,8 +406,8 @@ Zip
|
|
406
406
|
</p>
|
407
407
|
</div>
|
408
408
|
<div class="sourcecode">
|
409
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
410
|
-
<div id="
|
409
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000976_source')" id="l_M000976_source">show source</a> ]</p>
|
410
|
+
<div id="M000976_source" class="dyn-source">
|
411
411
|
<pre>
|
412
412
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 138</span>
|
413
413
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">zip</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|