Class: AddCommand
- Inherits:
-
NeverdoneCommand
- Object
- Clamp::Command
- NeverdoneCommand
- AddCommand
- Defined in:
- bin/nd
Instance Method Summary collapse
Methods inherited from NeverdoneCommand
Instance Method Details
#lazy_execute ⇒ Object
118 119 120 121 122 123 124 125 126 |
# File 'bin/nd', line 118 def lazy_execute text = '' if not text t = title.join(' ') if list @notebook.add_note("#{t} l:#{list.gsub(' ', '_')}", text) else @notebook.add_note(t, text) end end |