Sha256: 0774e480290b3d956cbf54ec11fa16241e9b18a2273e8283e5e5c23ae4195ee8

Contents?: true

Size: 319 Bytes

Versions: 7

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module RakeGithub
  module Exceptions
    class NoPullRequest < StandardError
      attr_reader :branch_name

      def initialize(branch_name)
        @branch_name = branch_name

        super(format('No pull request associated with branch %s', branch_name))
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rake_github-0.16.0.pre.2 lib/rake_github/exceptions/no_pull_request.rb
rake_github-0.16.0.pre.1 lib/rake_github/exceptions/no_pull_request.rb
rake_github-0.15.0 lib/rake_github/exceptions/no_pull_request.rb
rake_github-0.14.0.pre.2 lib/rake_github/exceptions/no_pull_request.rb
rake_github-0.14.0.pre.1 lib/rake_github/exceptions/no_pull_request.rb
rake_github-0.13.0 lib/rake_github/exceptions/no_pull_request.rb
rake_github-0.12.0.pre.6 lib/rake_github/exceptions/no_pull_request.rb