4 5 6
# File 'lib/yoke/bash.rb', line 4 def custom_path File.join(Dir.home) end
8 9 10 11 12 13 14
# File 'lib/yoke/bash.rb', line 8 def setup unless File.exists?(custom_path) File.open(custom_path, 'a') do |file| file.puts "source ~/#{Yoke::Base::FILENAME}" end end end