Sha256: 49ad8d5f7aa4abcff7fe5c718dddfdeeb31508d0a61538d8a33c8a7e1362a0c3
Contents?: true
Size: 321 Bytes
Versions: 1
Compression:
Stored size: 321 Bytes
Contents
# frozen_string_literal: true require "fileutils" module Hearken module Paths attr_reader :base_path, :index_path def create_paths @base_path = ".hearken".from_home @index_path = ".hearken/music".from_home end def in_base_dir(&block) Dir.chdir(base_path, &block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hearken-0.1.3 | lib/hearken/paths.rb |