class Gistim::Command
Public Class Methods
home()
click to toggle source
# File lib/gistim/command.rb, line 3 def self.home path = if ENV['GISTIM_HOME'] ENV['GISTIM_HOME'] elsif ENV['HOME'] "#{ENV['HOME']}/gistim" else './gistim' end FileUtils.mkpath(path) path end