standup_md 0.2.0 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,167 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module StandupMD::Cli::Helpers - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../../";
11
+ var index_rel_prefix = "../../";
12
+ </script>
13
+
14
+ <script src="../../js/navigation.js" defer></script>
15
+ <script src="../../js/search.js" defer></script>
16
+ <script src="../../js/search_index.js" defer></script>
17
+ <script src="../../js/searcher.js" defer></script>
18
+ <script src="../../js/darkfish.js" defer></script>
19
+
20
+ <link href="../../css/fonts.css" rel="stylesheet">
21
+ <link href="../../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+
25
+
26
+ <body id="top" role="document" class="module">
27
+ <nav role="navigation">
28
+ <div id="project-navigation">
29
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
+ <h2>
31
+ <a href="../../index.html" rel="home">Home</a>
32
+ </h2>
33
+
34
+ <div id="table-of-contents-navigation">
35
+ <a href="../../table_of_contents.html#pages">Pages</a>
36
+ <a href="../../table_of_contents.html#classes">Classes</a>
37
+ <a href="../../table_of_contents.html#methods">Methods</a>
38
+ </div>
39
+ </div>
40
+
41
+ <div id="search-section" role="search" class="project-section initially-hidden">
42
+ <form action="#" method="get" accept-charset="utf-8">
43
+ <div id="search-field-wrapper">
44
+ <input id="search-field" role="combobox" aria-label="Search"
45
+ aria-autocomplete="list" aria-controls="search-results"
46
+ type="text" name="search" placeholder="Search" spellcheck="false"
47
+ title="Type to search, Up and Down to navigate, Enter to load">
48
+ </div>
49
+
50
+ <ul id="search-results" aria-label="Search Results"
51
+ aria-busy="false" aria-expanded="false"
52
+ aria-atomic="false" class="initially-hidden"></ul>
53
+ </form>
54
+ </div>
55
+
56
+ </div>
57
+
58
+
59
+
60
+ <div id="class-metadata">
61
+
62
+
63
+
64
+
65
+ <!-- Method Quickref -->
66
+ <div id="method-list-section" class="nav-section">
67
+ <h3>Methods</h3>
68
+
69
+ <ul class="link-list" role="directory">
70
+
71
+ <li ><a href="#method-i-print">#print</a>
72
+
73
+ </ul>
74
+ </div>
75
+
76
+ </div>
77
+ </nav>
78
+
79
+ <main role="main" aria-labelledby="module-StandupMD::Cli::Helpers">
80
+ <h1 id="module-StandupMD::Cli::Helpers" class="module">
81
+ module StandupMD::Cli::Helpers
82
+ </h1>
83
+
84
+ <section class="description">
85
+
86
+ <p>Module responsible for reading and writing standup files.</p>
87
+
88
+ </section>
89
+
90
+
91
+ <section id="5Buntitled-5D" class="documentation-section">
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
102
+ <header>
103
+ <h3>Public Instance Methods</h3>
104
+ </header>
105
+
106
+
107
+ <div id="method-i-print" class="method-detail ">
108
+
109
+ <div class="method-heading">
110
+ <span class="method-name">print</span><span
111
+ class="method-args">(entry)</span>
112
+
113
+ <span class="method-click-advice">click to toggle source</span>
114
+
115
+ </div>
116
+
117
+
118
+ <div class="method-description">
119
+
120
+ <p>Print an entry to the command line.</p>
121
+
122
+ <p>@param [StandupMD::Entry] entry</p>
123
+
124
+ <p>@return [nil]</p>
125
+
126
+
127
+
128
+
129
+ <div class="method-source-code" id="print-source">
130
+ <pre><span class="ruby-comment"># File lib/standup_md/cli/helpers.rb, line 16</span>
131
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">print</span>(<span class="ruby-identifier">entry</span>)
132
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">nil?</span>
133
+ <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;No record found for #{StandupMD.config.cli.date}&quot;</span>
134
+ <span class="ruby-keyword">return</span>
135
+ <span class="ruby-keyword">end</span>
136
+ <span class="ruby-identifier">puts</span> <span class="ruby-string">&#39;#&#39;</span> <span class="ruby-operator">*</span> <span class="ruby-constant">StandupMD</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">file</span>.<span class="ruby-identifier">header_depth</span> <span class="ruby-operator">+</span> <span class="ruby-string">&#39; &#39;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">date</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-constant">StandupMD</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">file</span>.<span class="ruby-identifier">header_date_format</span>)
137
+ <span class="ruby-constant">StandupMD</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">file</span>.<span class="ruby-identifier">sub_header_order</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">attr</span><span class="ruby-operator">|</span>
138
+ <span class="ruby-identifier">tasks</span> = <span class="ruby-identifier">entry</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">attr</span>)
139
+ <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">tasks</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">tasks</span>.<span class="ruby-identifier">empty?</span>
140
+ <span class="ruby-identifier">puts</span> <span class="ruby-string">&#39;#&#39;</span> <span class="ruby-operator">*</span> <span class="ruby-constant">StandupMD</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">file</span>.<span class="ruby-identifier">sub_header_depth</span> <span class="ruby-operator">+</span> <span class="ruby-string">&#39; &#39;</span> <span class="ruby-operator">+</span> <span class="ruby-constant">StandupMD</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">file</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{attr}_header&quot;</span>).<span class="ruby-identifier">capitalize</span>
141
+ <span class="ruby-identifier">tasks</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">task</span><span class="ruby-operator">|</span> <span class="ruby-identifier">puts</span> <span class="ruby-constant">StandupMD</span>.<span class="ruby-identifier">config</span>.<span class="ruby-identifier">file</span>.<span class="ruby-identifier">bullet_character</span> <span class="ruby-operator">+</span> <span class="ruby-string">&#39; &#39;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">task</span> }
142
+ <span class="ruby-keyword">end</span>
143
+ <span class="ruby-identifier">puts</span>
144
+ <span class="ruby-keyword">end</span></pre>
145
+ </div>
146
+
147
+ </div>
148
+
149
+
150
+
151
+
152
+ </div>
153
+
154
+
155
+ </section>
156
+
157
+ </section>
158
+
159
+ </main>
160
+
161
+
162
+ <footer id="validator-badges" role="contentinfo">
163
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
164
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
165
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
166
+ </footer>
167
+
@@ -0,0 +1,230 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class StandupMD::Config - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../";
11
+ var index_rel_prefix = "../";
12
+ </script>
13
+
14
+ <script src="../js/navigation.js" defer></script>
15
+ <script src="../js/search.js" defer></script>
16
+ <script src="../js/search_index.js" defer></script>
17
+ <script src="../js/searcher.js" defer></script>
18
+ <script src="../js/darkfish.js" defer></script>
19
+
20
+ <link href="../css/fonts.css" rel="stylesheet">
21
+ <link href="../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+
25
+
26
+ <body id="top" role="document" class="class">
27
+ <nav role="navigation">
28
+ <div id="project-navigation">
29
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
+ <h2>
31
+ <a href="../index.html" rel="home">Home</a>
32
+ </h2>
33
+
34
+ <div id="table-of-contents-navigation">
35
+ <a href="../table_of_contents.html#pages">Pages</a>
36
+ <a href="../table_of_contents.html#classes">Classes</a>
37
+ <a href="../table_of_contents.html#methods">Methods</a>
38
+ </div>
39
+ </div>
40
+
41
+ <div id="search-section" role="search" class="project-section initially-hidden">
42
+ <form action="#" method="get" accept-charset="utf-8">
43
+ <div id="search-field-wrapper">
44
+ <input id="search-field" role="combobox" aria-label="Search"
45
+ aria-autocomplete="list" aria-controls="search-results"
46
+ type="text" name="search" placeholder="Search" spellcheck="false"
47
+ title="Type to search, Up and Down to navigate, Enter to load">
48
+ </div>
49
+
50
+ <ul id="search-results" aria-label="Search Results"
51
+ aria-busy="false" aria-expanded="false"
52
+ aria-atomic="false" class="initially-hidden"></ul>
53
+ </form>
54
+ </div>
55
+
56
+ </div>
57
+
58
+
59
+
60
+ <div id="class-metadata">
61
+
62
+ <div id="parent-class-section" class="nav-section">
63
+ <h3>Parent</h3>
64
+
65
+
66
+ <p class="link">Object
67
+
68
+ </div>
69
+
70
+
71
+
72
+ <!-- Method Quickref -->
73
+ <div id="method-list-section" class="nav-section">
74
+ <h3>Methods</h3>
75
+
76
+ <ul class="link-list" role="directory">
77
+
78
+ <li ><a href="#method-c-new">::new</a>
79
+
80
+ </ul>
81
+ </div>
82
+
83
+ </div>
84
+ </nav>
85
+
86
+ <main role="main" aria-labelledby="class-StandupMD::Config">
87
+ <h1 id="class-StandupMD::Config" class="class">
88
+ class StandupMD::Config
89
+ </h1>
90
+
91
+ <section class="description">
92
+
93
+ <p>This class provides a connector from <a href="../StandupMD.html"><code>StandupMD</code></a> to the configuration classes.</p>
94
+
95
+ </section>
96
+
97
+
98
+ <section id="5Buntitled-5D" class="documentation-section">
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+ <section class="attribute-method-details" class="method-section">
107
+ <header>
108
+ <h3>Attributes</h3>
109
+ </header>
110
+
111
+
112
+ <div id="attribute-i-cli" class="method-detail">
113
+ <div class="method-heading attribute-method-heading">
114
+ <span class="method-name">cli</span><span
115
+ class="attribute-access-type">[R]</span>
116
+ </div>
117
+
118
+ <div class="method-description">
119
+
120
+ <p>Reader for <a href="Config/Cli.html"><code>Cli</code></a> config.</p>
121
+
122
+ <p>@return [StandupMD::Config::Cli]</p>
123
+
124
+ </div>
125
+ </div>
126
+
127
+ <div id="attribute-i-entry" class="method-detail">
128
+ <div class="method-heading attribute-method-heading">
129
+ <span class="method-name">entry</span><span
130
+ class="attribute-access-type">[R]</span>
131
+ </div>
132
+
133
+ <div class="method-description">
134
+
135
+ <p>Reader for <a href="Config/Entry.html"><code>Entry</code></a> config.</p>
136
+
137
+ <p>@return [StandupMD::Config::Entry]</p>
138
+
139
+ </div>
140
+ </div>
141
+
142
+ <div id="attribute-i-entry_list" class="method-detail">
143
+ <div class="method-heading attribute-method-heading">
144
+ <span class="method-name">entry_list</span><span
145
+ class="attribute-access-type">[R]</span>
146
+ </div>
147
+
148
+ <div class="method-description">
149
+
150
+ <p>Reader for <a href="Config/EntryList.html"><code>EntryList</code></a> config.</p>
151
+
152
+ <p>@return [StandupMD::Config::EntryList]</p>
153
+
154
+ </div>
155
+ </div>
156
+
157
+ <div id="attribute-i-file" class="method-detail">
158
+ <div class="method-heading attribute-method-heading">
159
+ <span class="method-name">file</span><span
160
+ class="attribute-access-type">[R]</span>
161
+ </div>
162
+
163
+ <div class="method-description">
164
+
165
+ <p>Reader for <a href="Config/File.html"><code>File</code></a> config.</p>
166
+
167
+ <p>@return [StandupMD::Config::File]</p>
168
+
169
+ </div>
170
+ </div>
171
+
172
+ </section>
173
+
174
+
175
+
176
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
177
+ <header>
178
+ <h3>Public Class Methods</h3>
179
+ </header>
180
+
181
+
182
+ <div id="method-c-new" class="method-detail ">
183
+
184
+ <div class="method-heading">
185
+ <span class="method-name">new</span><span
186
+ class="method-args">()</span>
187
+
188
+ <span class="method-click-advice">click to toggle source</span>
189
+
190
+ </div>
191
+
192
+
193
+ <div class="method-description">
194
+
195
+ <p>Builds the links to the configuration classes.</p>
196
+
197
+
198
+
199
+
200
+ <div class="method-source-code" id="new-source">
201
+ <pre><span class="ruby-comment"># File lib/standup_md/config.rb, line 38</span>
202
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>
203
+ <span class="ruby-ivar">@cli</span> = <span class="ruby-constant">StandupMD</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span><span class="ruby-operator">::</span><span class="ruby-constant">Cli</span>.<span class="ruby-identifier">new</span>
204
+ <span class="ruby-ivar">@file</span> = <span class="ruby-constant">StandupMD</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span><span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">new</span>
205
+ <span class="ruby-ivar">@entry</span> = <span class="ruby-constant">StandupMD</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span><span class="ruby-operator">::</span><span class="ruby-constant">Entry</span>.<span class="ruby-identifier">new</span>
206
+ <span class="ruby-ivar">@entry_list</span> = <span class="ruby-constant">StandupMD</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span><span class="ruby-operator">::</span><span class="ruby-constant">EntryList</span>.<span class="ruby-identifier">new</span>
207
+ <span class="ruby-keyword">end</span></pre>
208
+ </div>
209
+
210
+ </div>
211
+
212
+
213
+
214
+
215
+ </div>
216
+
217
+
218
+ </section>
219
+
220
+ </section>
221
+
222
+ </main>
223
+
224
+
225
+ <footer id="validator-badges" role="contentinfo">
226
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
227
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
228
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
229
+ </footer>
230
+
@@ -0,0 +1,364 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class StandupMD::Config::Cli - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../../";
11
+ var index_rel_prefix = "../../";
12
+ </script>
13
+
14
+ <script src="../../js/navigation.js" defer></script>
15
+ <script src="../../js/search.js" defer></script>
16
+ <script src="../../js/search_index.js" defer></script>
17
+ <script src="../../js/searcher.js" defer></script>
18
+ <script src="../../js/darkfish.js" defer></script>
19
+
20
+ <link href="../../css/fonts.css" rel="stylesheet">
21
+ <link href="../../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+
25
+
26
+ <body id="top" role="document" class="class">
27
+ <nav role="navigation">
28
+ <div id="project-navigation">
29
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
+ <h2>
31
+ <a href="../../index.html" rel="home">Home</a>
32
+ </h2>
33
+
34
+ <div id="table-of-contents-navigation">
35
+ <a href="../../table_of_contents.html#pages">Pages</a>
36
+ <a href="../../table_of_contents.html#classes">Classes</a>
37
+ <a href="../../table_of_contents.html#methods">Methods</a>
38
+ </div>
39
+ </div>
40
+
41
+ <div id="search-section" role="search" class="project-section initially-hidden">
42
+ <form action="#" method="get" accept-charset="utf-8">
43
+ <div id="search-field-wrapper">
44
+ <input id="search-field" role="combobox" aria-label="Search"
45
+ aria-autocomplete="list" aria-controls="search-results"
46
+ type="text" name="search" placeholder="Search" spellcheck="false"
47
+ title="Type to search, Up and Down to navigate, Enter to load">
48
+ </div>
49
+
50
+ <ul id="search-results" aria-label="Search Results"
51
+ aria-busy="false" aria-expanded="false"
52
+ aria-atomic="false" class="initially-hidden"></ul>
53
+ </form>
54
+ </div>
55
+
56
+ </div>
57
+
58
+
59
+
60
+ <div id="class-metadata">
61
+
62
+ <div id="parent-class-section" class="nav-section">
63
+ <h3>Parent</h3>
64
+
65
+
66
+ <p class="link">Object
67
+
68
+ </div>
69
+
70
+
71
+
72
+ <!-- Method Quickref -->
73
+ <div id="method-list-section" class="nav-section">
74
+ <h3>Methods</h3>
75
+
76
+ <ul class="link-list" role="directory">
77
+
78
+ <li ><a href="#method-c-new">::new</a>
79
+
80
+ <li ><a href="#method-i-reset">#reset</a>
81
+
82
+ </ul>
83
+ </div>
84
+
85
+ </div>
86
+ </nav>
87
+
88
+ <main role="main" aria-labelledby="class-StandupMD::Config::Cli">
89
+ <h1 id="class-StandupMD::Config::Cli" class="class">
90
+ class StandupMD::Config::Cli
91
+ </h1>
92
+
93
+ <section class="description">
94
+
95
+ <p>The configuration class for <a href="../Cli.html"><code>StandupMD::Cli</code></a></p>
96
+
97
+ </section>
98
+
99
+
100
+ <section id="5Buntitled-5D" class="documentation-section">
101
+
102
+
103
+
104
+
105
+
106
+ <section class="constants-list">
107
+ <header>
108
+ <h3>Constants</h3>
109
+ </header>
110
+ <dl>
111
+
112
+ <dt id="DEFAULTS">DEFAULTS
113
+
114
+ <dd><p>The default options.</p>
115
+
116
+ <p>@return [Hash]</p>
117
+
118
+
119
+ </dl>
120
+ </section>
121
+
122
+
123
+
124
+ <section class="attribute-method-details" class="method-section">
125
+ <header>
126
+ <h3>Attributes</h3>
127
+ </header>
128
+
129
+
130
+ <div id="attribute-i-auto_fill_previous" class="method-detail">
131
+ <div class="method-heading attribute-method-heading">
132
+ <span class="method-name">auto_fill_previous</span><span
133
+ class="attribute-access-type">[RW]</span>
134
+ </div>
135
+
136
+ <div class="method-description">
137
+
138
+ <p>When writing a new entry, should &#39;previous&#39; be pulled from the last entry?</p>
139
+
140
+ <p>@param [Boolean] <a href="Cli.html#attribute-i-auto_fill_previous"><code>auto_fill_previous</code></a></p>
141
+
142
+ <p>@return [Boolean]</p>
143
+
144
+ </div>
145
+ </div>
146
+
147
+ <div id="attribute-i-date" class="method-detail">
148
+ <div class="method-heading attribute-method-heading">
149
+ <span class="method-name">date</span><span
150
+ class="attribute-access-type">[RW]</span>
151
+ </div>
152
+
153
+ <div class="method-description">
154
+
155
+ <p>The date to use to find the entry.</p>
156
+
157
+ <p>@param [Date] date</p>
158
+
159
+ <p>@return [Date]</p>
160
+
161
+ </div>
162
+ </div>
163
+
164
+ <div id="attribute-i-edit" class="method-detail">
165
+ <div class="method-heading attribute-method-heading">
166
+ <span class="method-name">edit</span><span
167
+ class="attribute-access-type">[RW]</span>
168
+ </div>
169
+
170
+ <div class="method-description">
171
+
172
+ <p>Should the cli edit?</p>
173
+
174
+ <p>@param [Boolean] edit</p>
175
+
176
+ <p>@return [Boolean]</p>
177
+
178
+ </div>
179
+ </div>
180
+
181
+ <div id="attribute-i-editor" class="method-detail">
182
+ <div class="method-heading attribute-method-heading">
183
+ <span class="method-name">editor</span><span
184
+ class="attribute-access-type">[RW]</span>
185
+ </div>
186
+
187
+ <div class="method-description">
188
+
189
+ <p>The editor to use when opening standup files. If one is not set, the first of $VISUAL, $EDITOR, or vim will be used, in that order.</p>
190
+
191
+ <p>@param [String] editor</p>
192
+
193
+ <p>@return [String]</p>
194
+
195
+ </div>
196
+ </div>
197
+
198
+ <div id="attribute-i-preference_file" class="method-detail">
199
+ <div class="method-heading attribute-method-heading">
200
+ <span class="method-name">preference_file</span><span
201
+ class="attribute-access-type">[RW]</span>
202
+ </div>
203
+
204
+ <div class="method-description">
205
+
206
+ <p>The preference file for <a href="Cli.html"><code>Cli</code></a>.</p>
207
+
208
+ <p>@param [String] preference</p>
209
+
210
+ <p>@return [String]</p>
211
+
212
+ </div>
213
+ </div>
214
+
215
+ <div id="attribute-i-print" class="method-detail">
216
+ <div class="method-heading attribute-method-heading">
217
+ <span class="method-name">print</span><span
218
+ class="attribute-access-type">[RW]</span>
219
+ </div>
220
+
221
+ <div class="method-description">
222
+
223
+ <p>Should the cli print the entry to the command line?</p>
224
+
225
+ <p>@param [Boolean] print</p>
226
+
227
+ <p>@return [Boolean]</p>
228
+
229
+ </div>
230
+ </div>
231
+
232
+ <div id="attribute-i-verbose" class="method-detail">
233
+ <div class="method-heading attribute-method-heading">
234
+ <span class="method-name">verbose</span><span
235
+ class="attribute-access-type">[RW]</span>
236
+ </div>
237
+
238
+ <div class="method-description">
239
+
240
+ <p>Should the cli print verbose output?</p>
241
+
242
+ <p>@param [Boolean] verbose</p>
243
+
244
+ <p>@return [Boolean]</p>
245
+
246
+ </div>
247
+ </div>
248
+
249
+ <div id="attribute-i-write" class="method-detail">
250
+ <div class="method-heading attribute-method-heading">
251
+ <span class="method-name">write</span><span
252
+ class="attribute-access-type">[RW]</span>
253
+ </div>
254
+
255
+ <div class="method-description">
256
+
257
+ <p>Should the cli automatically write the new entry to the file?</p>
258
+
259
+ <p>@param [Boolean] write</p>
260
+
261
+ <p>@return [Boolean]</p>
262
+
263
+ </div>
264
+ </div>
265
+
266
+ </section>
267
+
268
+
269
+
270
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
271
+ <header>
272
+ <h3>Public Class Methods</h3>
273
+ </header>
274
+
275
+
276
+ <div id="method-c-new" class="method-detail ">
277
+
278
+ <div class="method-heading">
279
+ <span class="method-name">new</span><span
280
+ class="method-args">()</span>
281
+
282
+ <span class="method-click-advice">click to toggle source</span>
283
+
284
+ </div>
285
+
286
+
287
+ <div class="method-description">
288
+
289
+ <p>Initializes the config with default values.</p>
290
+
291
+
292
+
293
+
294
+ <div class="method-source-code" id="new-source">
295
+ <pre><span class="ruby-comment"># File lib/standup_md/config/cli.rb, line 95</span>
296
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>
297
+ <span class="ruby-identifier">reset</span>
298
+ <span class="ruby-keyword">end</span></pre>
299
+ </div>
300
+
301
+ </div>
302
+
303
+
304
+
305
+
306
+ </div>
307
+
308
+
309
+ </section>
310
+
311
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
312
+ <header>
313
+ <h3>Public Instance Methods</h3>
314
+ </header>
315
+
316
+
317
+ <div id="method-i-reset" class="method-detail ">
318
+
319
+ <div class="method-heading">
320
+ <span class="method-name">reset</span><span
321
+ class="method-args">()</span>
322
+
323
+ <span class="method-click-advice">click to toggle source</span>
324
+
325
+ </div>
326
+
327
+
328
+ <div class="method-description">
329
+
330
+ <p>Sets all config values back to their defaults.</p>
331
+
332
+ <p>@return [Hash]</p>
333
+
334
+
335
+
336
+
337
+ <div class="method-source-code" id="reset-source">
338
+ <pre><span class="ruby-comment"># File lib/standup_md/config/cli.rb, line 103</span>
339
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">reset</span>
340
+ <span class="ruby-constant">DEFAULTS</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-identifier">instance_variable_set</span>(<span class="ruby-node">&quot;@#{k}&quot;</span>, <span class="ruby-identifier">v</span>) }
341
+ <span class="ruby-keyword">end</span></pre>
342
+ </div>
343
+
344
+ </div>
345
+
346
+
347
+
348
+
349
+ </div>
350
+
351
+
352
+ </section>
353
+
354
+ </section>
355
+
356
+ </main>
357
+
358
+
359
+ <footer id="validator-badges" role="contentinfo">
360
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
361
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
362
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
363
+ </footer>
364
+