Method: Workspace#initialize
- Defined in:
- lib/notes_cli/models/workspace.rb
#initialize ⇒ Workspace
Returns a new instance of Workspace.
6 7 8 |
# File 'lib/notes_cli/models/workspace.rb', line 6 def initialize FileUtils.touch(NotesCli::CONFIG_PATH) unless File.file?(NotesCli::CONFIG_PATH) end |