Sha256: 3a4962272f3d2a4027a136510f03ba2d39eb3fb4fb351d7fbc35762cf71ddb3c

Contents?: true

Size: 284 Bytes

Versions: 7

Compression:

Stored size: 284 Bytes

Contents

# frozen_string_literal: true

module Skunk
  module Command
    # Implements the needed methods for a successful compare output
    class Output
      def self.create_directory(directory)
        FileUtils.mkdir_p(directory) unless File.exist?(directory)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
skunk-0.5.3 lib/skunk/commands/output.rb
skunk-0.5.2 lib/skunk/cli/commands/output.rb
skunk-0.5.1 lib/skunk/cli/commands/output.rb
skunk-0.5.0 lib/skunk/cli/commands/output.rb
skunk-0.4.2 lib/skunk/cli/commands/output.rb
skunk-0.4.1 lib/skunk/cli/commands/output.rb
skunk-0.4.0 lib/skunk/cli/commands/output.rb