Method: NoteDeleter#initialize

Defined in:
lib/notes_cli/services/note_deleter.rb

#initialize(notebook, title, notebook_path, workspace_path) ⇒ NoteDeleter

Returns a new instance of NoteDeleter.



6
7
8
9
10
11
# File 'lib/notes_cli/services/note_deleter.rb', line 6

def initialize(notebook, title, notebook_path, workspace_path)
  @notebook = notebook
  @title = title.join('_')
  @notebook_path = notebook_path
  @workspace_path = workspace_path
end