Class: CheckCommand
- Inherits:
-
NeverdoneCommand
- Object
- Clamp::Command
- NeverdoneCommand
- CheckCommand
- Defined in:
- bin/nd
Instance Method Summary collapse
Methods inherited from NeverdoneCommand
Instance Method Details
#lazy_execute ⇒ Object
137 138 139 140 141 142 143 144 145 146 |
# File 'bin/nd', line 137 def lazy_execute count = 0 @notebook.find_notes("-intitle:s:done").reverse.each do |n| count += 1 if count == number.to_i n.title = n.title + ' s:done' n.update end end end |