Sha256: 8c4839cbdd20072176805ef3abf313712821f211034056b1e88fa8fff394abc6

Contents?: true

Size: 472 Bytes

Versions: 7

Compression:

Stored size: 472 Bytes

Contents

module YARD  #:nodoc: all
  module CodeObjects
    class MethodObject

      # Return the docstring associated with the method
      #
      # @example
      #   method_object.docstring  # => YARD::Docstring instance
      #
      # @return [YARD::Docstring]
      #   the docstring for this method
      #
      # @api public
      def docstring
        super.extend(Yardstick::Method)
      end

    end # class MethodObject
  end # module CodeObjects
end # module YARD

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
yardstick-0.7.0 lib/yardstick/yard_ext.rb
yardstick-0.6.0 lib/yardstick/yard_ext.rb
yardstick-0.5.0 lib/yardstick/yard_ext.rb
yardstick-0.4.0 lib/yardstick/yard_ext.rb
yardstick-0.3.0 lib/yardstick/yard_ext.rb
yardstick-0.2.0 lib/yardstick/yard_ext.rb
yardstick-0.1.0 lib/yardstick/yard_ext.rb