Method: NoteCreator#initialize

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

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

Returns a new instance of NoteCreator.



6
7
8
9
10
11
# File 'lib/notes_cli/services/note_creator.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