Sha256: 4c712a541eae8194760bb06b2a2f0e0ae41207c8274c95b7656a5d1dd994cddb

Contents?: true

Size: 372 Bytes

Versions: 11

Compression:

Stored size: 372 Bytes

Contents

module Calabash
  module Cucumber
    # A module for managing the ~/.calabash directory.
    module DotDir
      require "run_loop"

      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
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
calabash-cucumber-0.19.2 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.19.1 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.19.0 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.19.0.pre3 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.19.0.pre2 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.19.0.pre1 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.18.2 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.18.1 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.18.0 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.17.1 lib/calabash-cucumber/dot_dir.rb
calabash-cucumber-0.17.0 lib/calabash-cucumber/dot_dir.rb