Method: GithubBackup::JSONStore#initialize

Defined in:
lib/github_backup/json_store.rb

#initialize(path) ⇒ JSONStore

Returns a new instance of JSONStore.



6
7
8
9
# File 'lib/github_backup/json_store.rb', line 6

def initialize(path)
  @path = path
  FileUtils.mkdir_p(File.dirname(@path))
end