doing 2.1.2pre → 2.1.6pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +19 -15
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardopts +1 -1
- data/CHANGELOG.md +62 -14
- data/Gemfile.lock +25 -1
- data/README.md +5 -1
- data/Rakefile +2 -0
- data/bin/doing +429 -142
- data/docs/_config.yml +1 -0
- data/{doc → docs/doc}/Array.html +63 -1
- data/docs/doc/BooleanTermParser/Clause.html +293 -0
- data/docs/doc/BooleanTermParser/Operator.html +172 -0
- data/docs/doc/BooleanTermParser/Query.html +417 -0
- data/docs/doc/BooleanTermParser/QueryParser.html +135 -0
- data/docs/doc/BooleanTermParser/QueryTransformer.html +124 -0
- data/docs/doc/BooleanTermParser.html +115 -0
- data/docs/doc/Doing/CLIFormat.html +131 -0
- data/{doc → docs/doc}/Doing/Color.html +2 -2
- data/{doc → docs/doc}/Doing/Completion.html +1 -1
- data/{doc → docs/doc}/Doing/Configuration.html +163 -69
- data/{doc → docs/doc}/Doing/Content.html +0 -0
- data/{doc → docs/doc}/Doing/Errors/DoingNoTraceError.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/DoingRuntimeError.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/DoingStandardError.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/EmptyInput.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/NoResults.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/PluginException.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/UserCancelled.html +1 -1
- data/{doc → docs/doc}/Doing/Errors/WrongCommand.html +1 -1
- data/{doc → docs/doc}/Doing/Errors.html +1 -1
- data/{doc → docs/doc}/Doing/Hooks.html +1 -1
- data/{doc → docs/doc}/Doing/Item.html +135 -89
- data/{doc → docs/doc}/Doing/Items.html +36 -2
- data/{doc → docs/doc}/Doing/LogAdapter.html +70 -1
- data/{doc → docs/doc}/Doing/Note.html +5 -134
- data/{doc → docs/doc}/Doing/Pager.html +1 -1
- data/{doc → docs/doc}/Doing/Plugins.html +431 -35
- data/{doc → docs/doc}/Doing/Prompt.html +70 -18
- data/{doc → docs/doc}/Doing/Section.html +1 -1
- data/docs/doc/Doing/TemplateString.html +713 -0
- data/docs/doc/Doing/Util/Backup.html +686 -0
- data/{doc → docs/doc}/Doing/Util.html +16 -4
- data/{doc → docs/doc}/Doing/WWID.html +133 -73
- data/{doc → docs/doc}/Doing/WWIDFile.html +0 -0
- data/{doc → docs/doc}/Doing.html +4 -4
- data/{doc → docs/doc}/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/{doc → docs/doc}/GLI/Commands.html +1 -1
- data/{doc → docs/doc}/GLI.html +1 -1
- data/{doc → docs/doc}/Hash.html +1 -1
- data/docs/doc/PhraseParser/Operator.html +172 -0
- data/docs/doc/PhraseParser/PhraseClause.html +303 -0
- data/docs/doc/PhraseParser/Query.html +495 -0
- data/docs/doc/PhraseParser/QueryParser.html +136 -0
- data/docs/doc/PhraseParser/QueryTransformer.html +124 -0
- data/docs/doc/PhraseParser/TermClause.html +293 -0
- data/docs/doc/PhraseParser.html +115 -0
- data/{doc → docs/doc}/Status.html +1 -1
- data/{doc → docs/doc}/String.html +319 -13
- data/{doc → docs/doc}/Symbol.html +35 -1
- data/{doc → docs/doc}/Time.html +70 -2
- data/{doc → docs/doc}/_index.html +132 -4
- data/docs/doc/class_list.html +51 -0
- data/{doc → docs/doc}/css/common.css +0 -0
- data/{doc → docs/doc}/css/full_list.css +0 -0
- data/{doc → docs/doc}/css/style.css +0 -0
- data/{doc → docs/doc}/file.README.html +6 -2
- data/{doc → docs/doc}/file_list.html +0 -0
- data/{doc → docs/doc}/frames.html +0 -0
- data/{doc → docs/doc}/index.html +6 -2
- data/{doc → docs/doc}/js/app.js +0 -0
- data/{doc → docs/doc}/js/full_list.js +0 -0
- data/{doc → docs/doc}/js/jquery.js +0 -0
- data/{doc → docs/doc}/method_list.html +684 -196
- data/{doc → docs/doc}/top-level-namespace.html +2 -2
- data/docs/index.md +60 -0
- data/doing.gemspec +3 -0
- data/doing.rdoc +222 -74
- data/example_plugin.rb +3 -1
- data/lib/completion/_doing.zsh +53 -41
- data/lib/completion/doing.bash +17 -6
- data/lib/completion/doing.fish +321 -2
- data/lib/doing/array.rb +9 -0
- data/lib/doing/boolean_term_parser.rb +86 -0
- data/lib/doing/completion/fish_completion.rb +46 -3
- data/lib/doing/completion/zsh_completion.rb +1 -1
- data/lib/doing/configuration.rb +48 -21
- data/lib/doing/item.rb +105 -10
- data/lib/doing/items.rb +6 -0
- data/lib/doing/log_adapter.rb +28 -0
- data/lib/doing/note.rb +31 -30
- data/lib/doing/phrase_parser.rb +124 -0
- data/lib/doing/plugin_manager.rb +84 -21
- data/lib/doing/plugins/export/dayone_export.rb +209 -0
- data/lib/doing/plugins/export/html_export.rb +2 -2
- data/lib/doing/plugins/export/json_export.rb +1 -0
- data/lib/doing/plugins/export/markdown_export.rb +1 -1
- data/lib/doing/plugins/export/template_export.rb +94 -86
- data/lib/doing/prompt.rb +26 -15
- data/lib/doing/string.rb +114 -29
- data/lib/doing/string_chronify.rb +5 -1
- data/lib/doing/symbol.rb +4 -0
- data/lib/doing/template_string.rb +197 -0
- data/lib/doing/time.rb +32 -0
- data/lib/doing/util.rb +6 -7
- data/lib/doing/util_backup.rb +287 -0
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +105 -41
- data/lib/doing.rb +9 -0
- data/lib/examples/plugins/say_export.rb +1 -1
- data/lib/examples/plugins/wiki_export/wiki_export.rb +3 -3
- data/lib/templates/doing-dayone-entry.erb +6 -0
- data/lib/templates/doing-dayone.erb +5 -0
- metadata +136 -51
- data/doc/class_list.html +0 -51
@@ -100,7 +100,7 @@
|
|
100
100
|
<dl>
|
101
101
|
<dt>Defined in:</dt>
|
102
102
|
<dd>lib/doing/string.rb<span class="defines">,<br />
|
103
|
-
lib/doing/string_chronify.rb</span>
|
103
|
+
lib/doing/string_chronify.rb,<br /> lib/doing/template_string.rb</span>
|
104
104
|
</dd>
|
105
105
|
</dl>
|
106
106
|
|
@@ -116,9 +116,13 @@
|
|
116
116
|
<div class="tags">
|
117
117
|
|
118
118
|
|
119
|
+
</div><div id="subclasses">
|
120
|
+
<h2>Direct Known Subclasses</h2>
|
121
|
+
<p class="children"><span class='object_link'><a href="Doing/TemplateString.html" title="Doing::TemplateString (class)">Doing::TemplateString</a></span></p>
|
119
122
|
</div>
|
120
123
|
|
121
124
|
|
125
|
+
|
122
126
|
<h2>Constant Summary</h2>
|
123
127
|
|
124
128
|
<h3 class="inherited">Constants included
|
@@ -140,6 +144,28 @@
|
|
140
144
|
<li class="public ">
|
141
145
|
<span class="summary_signature">
|
142
146
|
|
147
|
+
<a href="#add_at-instance_method" title="#add_at (instance method)">#<strong>add_at</strong> ⇒ Object </a>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
</span>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
162
|
+
|
163
|
+
</li>
|
164
|
+
|
165
|
+
|
166
|
+
<li class="public ">
|
167
|
+
<span class="summary_signature">
|
168
|
+
|
143
169
|
<a href="#add_tags-instance_method" title="#add_tags (instance method)">#<strong>add_tags</strong>(tags, remove: false) ⇒ Object </a>
|
144
170
|
|
145
171
|
|
@@ -366,7 +392,7 @@
|
|
366
392
|
<li class="public ">
|
367
393
|
<span class="summary_signature">
|
368
394
|
|
369
|
-
<a href="#highlight_tags-instance_method" title="#highlight_tags (instance method)">#<strong>highlight_tags</strong>(color = 'yellow'
|
395
|
+
<a href="#highlight_tags-instance_method" title="#highlight_tags (instance method)">#<strong>highlight_tags</strong>(color = 'yellow', last_color: nil) ⇒ String </a>
|
370
396
|
|
371
397
|
|
372
398
|
|
@@ -389,7 +415,7 @@
|
|
389
415
|
<li class="public ">
|
390
416
|
<span class="summary_signature">
|
391
417
|
|
392
|
-
<a href="#highlight_tags!-instance_method" title="#highlight_tags! (instance method)">#<strong>highlight_tags!</strong>(color = 'yellow'
|
418
|
+
<a href="#highlight_tags!-instance_method" title="#highlight_tags! (instance method)">#<strong>highlight_tags!</strong>(color = 'yellow', last_color: nil) ⇒ Object </a>
|
393
419
|
|
394
420
|
|
395
421
|
|
@@ -609,6 +635,51 @@
|
|
609
635
|
<span class="summary_desc"><div class='inline'><p>Convert a case sensitivity string to a symbol.</p>
|
610
636
|
</div></span>
|
611
637
|
|
638
|
+
</li>
|
639
|
+
|
640
|
+
|
641
|
+
<li class="public ">
|
642
|
+
<span class="summary_signature">
|
643
|
+
|
644
|
+
<a href="#normalize_matching-instance_method" title="#normalize_matching (instance method)">#<strong>normalize_matching</strong>(default = :pattern) ⇒ Object </a>
|
645
|
+
|
646
|
+
|
647
|
+
|
648
|
+
</span>
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
659
|
+
|
660
|
+
</li>
|
661
|
+
|
662
|
+
|
663
|
+
<li class="public ">
|
664
|
+
<span class="summary_signature">
|
665
|
+
|
666
|
+
<a href="#normalize_matching!-instance_method" title="#normalize_matching! (instance method)">#<strong>normalize_matching!</strong>(default = :pattern) ⇒ Object </a>
|
667
|
+
|
668
|
+
|
669
|
+
|
670
|
+
</span>
|
671
|
+
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
|
676
|
+
|
677
|
+
|
678
|
+
|
679
|
+
|
680
|
+
<span class="summary_desc"><div class='inline'><p>Convert a matching configuration string to a symbol.</p>
|
681
|
+
</div></span>
|
682
|
+
|
612
683
|
</li>
|
613
684
|
|
614
685
|
|
@@ -696,6 +767,28 @@
|
|
696
767
|
|
697
768
|
|
698
769
|
|
770
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
771
|
+
|
772
|
+
</li>
|
773
|
+
|
774
|
+
|
775
|
+
<li class="public ">
|
776
|
+
<span class="summary_signature">
|
777
|
+
|
778
|
+
<a href="#pluralize-instance_method" title="#pluralize (instance method)">#<strong>pluralize</strong>(number) ⇒ Object </a>
|
779
|
+
|
780
|
+
|
781
|
+
|
782
|
+
</span>
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
|
787
|
+
|
788
|
+
|
789
|
+
|
790
|
+
|
791
|
+
|
699
792
|
<span class="summary_desc"><div class='inline'></div></span>
|
700
793
|
|
701
794
|
</li>
|
@@ -764,6 +857,28 @@
|
|
764
857
|
|
765
858
|
|
766
859
|
|
860
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
861
|
+
|
862
|
+
</li>
|
863
|
+
|
864
|
+
|
865
|
+
<li class="public ">
|
866
|
+
<span class="summary_signature">
|
867
|
+
|
868
|
+
<a href="#simple_wrap-instance_method" title="#simple_wrap (instance method)">#<strong>simple_wrap</strong>(width) ⇒ Object </a>
|
869
|
+
|
870
|
+
|
871
|
+
|
872
|
+
</span>
|
873
|
+
|
874
|
+
|
875
|
+
|
876
|
+
|
877
|
+
|
878
|
+
|
879
|
+
|
880
|
+
|
881
|
+
|
767
882
|
<span class="summary_desc"><div class='inline'></div></span>
|
768
883
|
|
769
884
|
</li>
|
@@ -818,7 +933,7 @@
|
|
818
933
|
<li class="public ">
|
819
934
|
<span class="summary_signature">
|
820
935
|
|
821
|
-
<a href="#to_rx-instance_method" title="#to_rx (instance method)">#<strong>to_rx</strong>(distance:
|
936
|
+
<a href="#to_rx-instance_method" title="#to_rx (instance method)">#<strong>to_rx</strong>(distance: nil, case_type: nil) ⇒ Regexp </a>
|
822
937
|
|
823
938
|
|
824
939
|
|
@@ -1021,7 +1136,52 @@
|
|
1021
1136
|
<li class="public ">
|
1022
1137
|
<span class="summary_signature">
|
1023
1138
|
|
1024
|
-
<a href="#
|
1139
|
+
<a href="#validate_color-instance_method" title="#validate_color (instance method)">#<strong>validate_color</strong> ⇒ String </a>
|
1140
|
+
|
1141
|
+
|
1142
|
+
|
1143
|
+
</span>
|
1144
|
+
|
1145
|
+
|
1146
|
+
|
1147
|
+
|
1148
|
+
|
1149
|
+
|
1150
|
+
<span class="private note title">private</span>
|
1151
|
+
|
1152
|
+
|
1153
|
+
<span class="summary_desc"><div class='inline'><p>Extract the longest valid color from a string.</p>
|
1154
|
+
</div></span>
|
1155
|
+
|
1156
|
+
</li>
|
1157
|
+
|
1158
|
+
|
1159
|
+
<li class="public ">
|
1160
|
+
<span class="summary_signature">
|
1161
|
+
|
1162
|
+
<a href="#wildcard_to_rx-instance_method" title="#wildcard_to_rx (instance method)">#<strong>wildcard_to_rx</strong> ⇒ Object </a>
|
1163
|
+
|
1164
|
+
|
1165
|
+
|
1166
|
+
</span>
|
1167
|
+
|
1168
|
+
|
1169
|
+
|
1170
|
+
|
1171
|
+
|
1172
|
+
|
1173
|
+
|
1174
|
+
|
1175
|
+
|
1176
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
1177
|
+
|
1178
|
+
</li>
|
1179
|
+
|
1180
|
+
|
1181
|
+
<li class="public ">
|
1182
|
+
<span class="summary_signature">
|
1183
|
+
|
1184
|
+
<a href="#wrap-instance_method" title="#wrap (instance method)">#<strong>wrap</strong>(len, pad: 0, indent: ' ', offset: 0, prefix: '', color: '', after: '', reset: '', pad_first: false) ⇒ Object </a>
|
1025
1185
|
|
1026
1186
|
|
1027
1187
|
|
@@ -1062,7 +1222,19 @@
|
|
1062
1222
|
|
1063
1223
|
|
1064
1224
|
<div class="method_details first">
|
1065
|
-
<h3 class="signature first" id="
|
1225
|
+
<h3 class="signature first" id="add_at-instance_method">
|
1226
|
+
|
1227
|
+
#<strong>add_at</strong> ⇒ <tt>Object</tt>
|
1228
|
+
|
1229
|
+
|
1230
|
+
|
1231
|
+
|
1232
|
+
|
1233
|
+
</h3>
|
1234
|
+
</div>
|
1235
|
+
|
1236
|
+
<div class="method_details ">
|
1237
|
+
<h3 class="signature " id="add_tags-instance_method">
|
1066
1238
|
|
1067
1239
|
#<strong>add_tags</strong>(tags, remove: false) ⇒ <tt>Object</tt>
|
1068
1240
|
|
@@ -1390,7 +1562,7 @@ added to a Time object</p>
|
|
1390
1562
|
<div class="method_details ">
|
1391
1563
|
<h3 class="signature " id="highlight_tags-instance_method">
|
1392
1564
|
|
1393
|
-
#<strong>highlight_tags</strong>(color = 'yellow'
|
1565
|
+
#<strong>highlight_tags</strong>(color = 'yellow', last_color: nil) ⇒ <tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>
|
1394
1566
|
|
1395
1567
|
|
1396
1568
|
|
@@ -1450,7 +1622,7 @@ added to a Time object</p>
|
|
1450
1622
|
<div class="method_details ">
|
1451
1623
|
<h3 class="signature " id="highlight_tags!-instance_method">
|
1452
1624
|
|
1453
|
-
#<strong>highlight_tags!</strong>(color = 'yellow'
|
1625
|
+
#<strong>highlight_tags!</strong>(color = 'yellow', last_color: nil) ⇒ <tt>Object</tt>
|
1454
1626
|
|
1455
1627
|
|
1456
1628
|
|
@@ -1765,6 +1937,57 @@ may not render the same style.</p>
|
|
1765
1937
|
|
1766
1938
|
</ul>
|
1767
1939
|
|
1940
|
+
</div>
|
1941
|
+
</div>
|
1942
|
+
|
1943
|
+
<div class="method_details ">
|
1944
|
+
<h3 class="signature " id="normalize_matching-instance_method">
|
1945
|
+
|
1946
|
+
#<strong>normalize_matching</strong>(default = :pattern) ⇒ <tt>Object</tt>
|
1947
|
+
|
1948
|
+
|
1949
|
+
|
1950
|
+
|
1951
|
+
|
1952
|
+
</h3>
|
1953
|
+
</div>
|
1954
|
+
|
1955
|
+
<div class="method_details ">
|
1956
|
+
<h3 class="signature " id="normalize_matching!-instance_method">
|
1957
|
+
|
1958
|
+
#<strong>normalize_matching!</strong>(default = :pattern) ⇒ <tt>Object</tt>
|
1959
|
+
|
1960
|
+
|
1961
|
+
|
1962
|
+
|
1963
|
+
|
1964
|
+
</h3><div class="docstring">
|
1965
|
+
<div class="discussion">
|
1966
|
+
<p>Convert a matching configuration string to a symbol</p>
|
1967
|
+
|
1968
|
+
|
1969
|
+
</div>
|
1970
|
+
</div>
|
1971
|
+
<div class="tags">
|
1972
|
+
|
1973
|
+
<p class="tag_title">Returns:</p>
|
1974
|
+
<ul class="return">
|
1975
|
+
|
1976
|
+
<li>
|
1977
|
+
|
1978
|
+
|
1979
|
+
<span class='type'></span>
|
1980
|
+
|
1981
|
+
|
1982
|
+
|
1983
|
+
|
1984
|
+
<div class='inline'><p>Symbol :fuzzy, :pattern, :exact</p>
|
1985
|
+
</div>
|
1986
|
+
|
1987
|
+
</li>
|
1988
|
+
|
1989
|
+
</ul>
|
1990
|
+
|
1768
1991
|
</div>
|
1769
1992
|
</div>
|
1770
1993
|
|
@@ -1840,6 +2063,18 @@ may not render the same style.</p>
|
|
1840
2063
|
|
1841
2064
|
|
1842
2065
|
|
2066
|
+
</h3>
|
2067
|
+
</div>
|
2068
|
+
|
2069
|
+
<div class="method_details ">
|
2070
|
+
<h3 class="signature " id="pluralize-instance_method">
|
2071
|
+
|
2072
|
+
#<strong>pluralize</strong>(number) ⇒ <tt>Object</tt>
|
2073
|
+
|
2074
|
+
|
2075
|
+
|
2076
|
+
|
2077
|
+
|
1843
2078
|
</h3>
|
1844
2079
|
</div>
|
1845
2080
|
|
@@ -1896,6 +2131,18 @@ may not render the same style.</p>
|
|
1896
2131
|
|
1897
2132
|
|
1898
2133
|
|
2134
|
+
</h3>
|
2135
|
+
</div>
|
2136
|
+
|
2137
|
+
<div class="method_details ">
|
2138
|
+
<h3 class="signature " id="simple_wrap-instance_method">
|
2139
|
+
|
2140
|
+
#<strong>simple_wrap</strong>(width) ⇒ <tt>Object</tt>
|
2141
|
+
|
2142
|
+
|
2143
|
+
|
2144
|
+
|
2145
|
+
|
1899
2146
|
</h3>
|
1900
2147
|
</div>
|
1901
2148
|
|
@@ -2091,7 +2338,7 @@ may not render the same style.</p>
|
|
2091
2338
|
<div class="method_details ">
|
2092
2339
|
<h3 class="signature " id="to_rx-instance_method">
|
2093
2340
|
|
2094
|
-
#<strong>to_rx</strong>(distance:
|
2341
|
+
#<strong>to_rx</strong>(distance: nil, case_type: nil) ⇒ <tt>Regexp</tt>
|
2095
2342
|
|
2096
2343
|
|
2097
2344
|
|
@@ -2129,7 +2376,7 @@ haystack, spaces indicate unlimited distance.</p>
|
|
2129
2376
|
<span class='type'>(<tt>Integer</tt>)</span>
|
2130
2377
|
|
2131
2378
|
|
2132
|
-
<em class="default">(defaults to: <tt>
|
2379
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
2133
2380
|
|
2134
2381
|
|
2135
2382
|
—
|
@@ -2147,7 +2394,7 @@ between characters</p>
|
|
2147
2394
|
<span class='type'></span>
|
2148
2395
|
|
2149
2396
|
|
2150
|
-
<em class="default">(defaults to: <tt
|
2397
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
2151
2398
|
|
2152
2399
|
|
2153
2400
|
—
|
@@ -2401,13 +2648,72 @@ between characters</p>
|
|
2401
2648
|
|
2402
2649
|
|
2403
2650
|
|
2651
|
+
</h3>
|
2652
|
+
</div>
|
2653
|
+
|
2654
|
+
<div class="method_details ">
|
2655
|
+
<h3 class="signature " id="validate_color-instance_method">
|
2656
|
+
|
2657
|
+
#<strong>validate_color</strong> ⇒ <tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>
|
2658
|
+
|
2659
|
+
|
2660
|
+
|
2661
|
+
|
2662
|
+
|
2663
|
+
</h3><div class="docstring">
|
2664
|
+
<div class="discussion">
|
2665
|
+
<p class="note private">
|
2666
|
+
<strong>This method is part of a private API.</strong>
|
2667
|
+
You should avoid using this method if possible, as it may be removed or be changed in the future.
|
2668
|
+
</p>
|
2669
|
+
<p>Extract the longest valid color from a string.</p>
|
2670
|
+
|
2671
|
+
<p>Allows %colors to bleed into other text and still
|
2672
|
+
be recognized, e.g. %greensomething still finds
|
2673
|
+
%green.</p>
|
2674
|
+
|
2675
|
+
|
2676
|
+
</div>
|
2677
|
+
</div>
|
2678
|
+
<div class="tags">
|
2679
|
+
|
2680
|
+
<p class="tag_title">Returns:</p>
|
2681
|
+
<ul class="return">
|
2682
|
+
|
2683
|
+
<li>
|
2684
|
+
|
2685
|
+
|
2686
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="String (class)">String</a></span></tt>)</span>
|
2687
|
+
|
2688
|
+
|
2689
|
+
|
2690
|
+
—
|
2691
|
+
<div class='inline'><p>a valid color name</p>
|
2692
|
+
</div>
|
2693
|
+
|
2694
|
+
</li>
|
2695
|
+
|
2696
|
+
</ul>
|
2697
|
+
|
2698
|
+
</div>
|
2699
|
+
</div>
|
2700
|
+
|
2701
|
+
<div class="method_details ">
|
2702
|
+
<h3 class="signature " id="wildcard_to_rx-instance_method">
|
2703
|
+
|
2704
|
+
#<strong>wildcard_to_rx</strong> ⇒ <tt>Object</tt>
|
2705
|
+
|
2706
|
+
|
2707
|
+
|
2708
|
+
|
2709
|
+
|
2404
2710
|
</h3>
|
2405
2711
|
</div>
|
2406
2712
|
|
2407
2713
|
<div class="method_details ">
|
2408
2714
|
<h3 class="signature " id="wrap-instance_method">
|
2409
2715
|
|
2410
|
-
#<strong>wrap</strong>(len, pad: 0, indent: ' ', offset: 0, prefix: '', color: '', after: '', reset: ''
|
2716
|
+
#<strong>wrap</strong>(len, pad: 0, indent: ' ', offset: 0, prefix: '', color: '', after: '', reset: '', pad_first: false) ⇒ <tt>Object</tt>
|
2411
2717
|
|
2412
2718
|
|
2413
2719
|
|
@@ -2484,7 +2790,7 @@ between characters</p>
|
|
2484
2790
|
</div>
|
2485
2791
|
|
2486
2792
|
<div id="footer">
|
2487
|
-
Generated on
|
2793
|
+
Generated on Mon Dec 20 15:39:46 2021 by
|
2488
2794
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2489
2795
|
0.9.26 (ruby-3.0.1).
|
2490
2796
|
</div>
|
@@ -163,6 +163,28 @@
|
|
163
163
|
|
164
164
|
|
165
165
|
|
166
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
167
|
+
|
168
|
+
</li>
|
169
|
+
|
170
|
+
|
171
|
+
<li class="public ">
|
172
|
+
<span class="summary_signature">
|
173
|
+
|
174
|
+
<a href="#normalize_matching-instance_method" title="#normalize_matching (instance method)">#<strong>normalize_matching</strong>(default = :pattern) ⇒ Object </a>
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
</span>
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
166
188
|
<span class="summary_desc"><div class='inline'></div></span>
|
167
189
|
|
168
190
|
</li>
|
@@ -220,6 +242,18 @@
|
|
220
242
|
|
221
243
|
|
222
244
|
|
245
|
+
</h3>
|
246
|
+
</div>
|
247
|
+
|
248
|
+
<div class="method_details ">
|
249
|
+
<h3 class="signature " id="normalize_matching-instance_method">
|
250
|
+
|
251
|
+
#<strong>normalize_matching</strong>(default = :pattern) ⇒ <tt>Object</tt>
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
223
257
|
</h3>
|
224
258
|
</div>
|
225
259
|
|
@@ -240,7 +274,7 @@
|
|
240
274
|
</div>
|
241
275
|
|
242
276
|
<div id="footer">
|
243
|
-
Generated on
|
277
|
+
Generated on Mon Dec 20 15:39:46 2021 by
|
244
278
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
245
279
|
0.9.26 (ruby-3.0.1).
|
246
280
|
</div>
|
data/{doc → docs/doc}/Time.html
RENAMED
@@ -127,6 +127,28 @@
|
|
127
127
|
<li class="public ">
|
128
128
|
<span class="summary_signature">
|
129
129
|
|
130
|
+
<a href="#humanize-instance_method" title="#humanize (instance method)">#<strong>humanize</strong>(seconds) ⇒ Object </a>
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
</span>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
145
|
+
|
146
|
+
</li>
|
147
|
+
|
148
|
+
|
149
|
+
<li class="public ">
|
150
|
+
<span class="summary_signature">
|
151
|
+
|
130
152
|
<a href="#relative_date-instance_method" title="#relative_date (instance method)">#<strong>relative_date</strong> ⇒ Object </a>
|
131
153
|
|
132
154
|
|
@@ -141,6 +163,28 @@
|
|
141
163
|
|
142
164
|
|
143
165
|
|
166
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
167
|
+
|
168
|
+
</li>
|
169
|
+
|
170
|
+
|
171
|
+
<li class="public ">
|
172
|
+
<span class="summary_signature">
|
173
|
+
|
174
|
+
<a href="#time_ago-instance_method" title="#time_ago (instance method)">#<strong>time_ago</strong> ⇒ Object </a>
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
</span>
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
144
188
|
<span class="summary_desc"><div class='inline'></div></span>
|
145
189
|
|
146
190
|
</li>
|
@@ -156,7 +200,19 @@
|
|
156
200
|
|
157
201
|
|
158
202
|
<div class="method_details first">
|
159
|
-
<h3 class="signature first" id="
|
203
|
+
<h3 class="signature first" id="humanize-instance_method">
|
204
|
+
|
205
|
+
#<strong>humanize</strong>(seconds) ⇒ <tt>Object</tt>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
</h3>
|
212
|
+
</div>
|
213
|
+
|
214
|
+
<div class="method_details ">
|
215
|
+
<h3 class="signature " id="relative_date-instance_method">
|
160
216
|
|
161
217
|
#<strong>relative_date</strong> ⇒ <tt>Object</tt>
|
162
218
|
|
@@ -164,6 +220,18 @@
|
|
164
220
|
|
165
221
|
|
166
222
|
|
223
|
+
</h3>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<div class="method_details ">
|
227
|
+
<h3 class="signature " id="time_ago-instance_method">
|
228
|
+
|
229
|
+
#<strong>time_ago</strong> ⇒ <tt>Object</tt>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
167
235
|
</h3>
|
168
236
|
</div>
|
169
237
|
|
@@ -172,7 +240,7 @@
|
|
172
240
|
</div>
|
173
241
|
|
174
242
|
<div id="footer">
|
175
|
-
Generated on
|
243
|
+
Generated on Mon Dec 20 15:39:46 2021 by
|
176
244
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
177
245
|
0.9.26 (ruby-3.0.1).
|
178
246
|
</div>
|