Sha256: 1dd0268f14c0d6cede55369030b3cbe6d215a148de4539f75f2b9718411f631b

Contents?: true

Size: 919 Bytes

Versions: 10

Compression:

Stored size: 919 Bytes

Contents

module Foo
  # The problem here is that the @param tag is not given the name of the
  # parameter it documents.
  #
  # @param [Encoding]
  # @return [String]
  def method_with_wrong_param_tag(e)

  end

  # The problem here is that the @param tag does not describe the parameter
  #
  # @param [Encoding] e
  # @return [String]
  def method_with_empty_param_tag_text(e)
  end

  # The problem here is that ...
  #
  # @param *names [Array]
  # @return [String]
  def method_with_splat_parameter(*names)
  end

  # The problem here is that ...
  #
  # @param names [Array]
  # @return [String]
  def method_with_splat_parameter2(*names)
  end
end

module YardError
  if defined? ::Deprecate
    Deprecate = ::Deprecate
  elsif defined? Gem::Deprecate
    Deprecate = Gem::Deprecate
  else
    class Deprecate; end
  end

  unless Deprecate.respond_to?(:skip_during)
    def Deprecate.skip_during; yield; end
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
inch-0.3.2 test/fixtures/simple/lib/broken.rb
inch-0.3.2.rc2 test/fixtures/simple/lib/broken.rb
inch-0.3.2.rc1 test/fixtures/simple/lib/broken.rb
inch-0.3.1 test/fixtures/simple/lib/broken.rb
inch-0.3.1.rc6 test/fixtures/simple/lib/broken.rb
inch-0.3.1.rc5 test/fixtures/simple/lib/broken.rb
inch-0.3.1.rc4 test/fixtures/simple/lib/broken.rb
inch-0.3.1.rc3 test/fixtures/simple/lib/broken.rb
inch-0.3.1.rc2 test/fixtures/simple/lib/broken.rb
inch-0.3.1.rc1 test/fixtures/simple/lib/broken.rb