module Calabash::Cucumber::DotDir
A module for managing the ~/.calabash directory.
Public Class Methods
directory()
click to toggle source
@!visibility private
# File lib/calabash-cucumber/dot_dir.rb, line 8 def self.directory home = RunLoop::Environment.user_home_directory dir = File.join(home, ".calabash") if !File.exist?(dir) FileUtils.mkdir_p(dir) end dir end