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
122 123 124 125 126 127 128 129 130 |
# File 'bin/nd', line 122 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 |