Sha256: 338ae2304fb9863508d866f2b0b3d876c8f2a39569fd64c0088682b38030706c

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

module PGit
  class CurrentProject
    class Validator
      def initialize(matching_projects)
        if matching_projects.length == 0
          message = "None of the project paths matches the working directory"
          raise PGit::Error::User, message
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pgit-1.0.0 lib/pgit/current_project/validator.rb