Method: Wpxf.databases_path
- Defined in:
- lib/wpxf.rb
.databases_path ⇒ Object
35 36 37 38 39 |
# File 'lib/wpxf.rb', line 35 def self.databases_path path = File.join(home_directory, 'db') FileUtils.mkdir_p(path) unless File.directory?(path) path end |