Sha256: 1ffc69d07fe175907950de997821b73b433fde6404f108d894386da432b0f61d

Contents?: true

Size: 529 Bytes

Versions: 12

Compression:

Stored size: 529 Bytes

Contents

module RBS
  module AST
    # RBS allows writing documentation of declarations and members.
    #
    #    # This is a doc for class.
    #    class Hello
    #    end
    #
    class Comment
      attr_reader string: String
      attr_reader location: Location?

      def initialize: (string: String, location: Location?) -> void

      def ==: (untyped other) -> bool

      alias eql? ==

      def hash: () -> Integer

      include _ToJson

      def concat: (string: String, location: Location?) -> self
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rbs-1.6.2 sig/comment.rbs
rbs-1.6.1 sig/comment.rbs
rbs-1.6.0 sig/comment.rbs
rbs-1.5.1 sig/comment.rbs
rbs-1.5.0 sig/comment.rbs
rbs-1.4.0 sig/comment.rbs
rbs-1.3.3 sig/comment.rbs
rbs-1.3.2 sig/comment.rbs
rbs-1.3.1 sig/comment.rbs
rbs-1.3.0 sig/comment.rbs
rbs-1.2.1 sig/comment.rbs
rbs-1.2.0 sig/comment.rbs