Sha256: f0e4afb4fe3050d0852bf57bcd91e43f1b92999d075d07450dc0de36d2ad3849

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

module TestApp
  module AmbiguousRaise
    SomeError = Class.new(StandardError)

    # @return [Integer]
    def self.method1
      method2
    end

    # @return [Integer]
    def self.method2
      method3
    rescue SomeError
      2
    end

    # @return [Integer]
    def self.method3
      method4

      3
    end

    # @return [Integer]
    def self.method4
      raise SomeError

      4
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yardcheck-0.0.3 test_app/lib/test_app/ambiguous_raise.rb
yardcheck-0.0.2 test_app/lib/test_app/ambiguous_raise.rb