Sha256: 7a31705a545e3947721a6242bd3a0086d56a7dd5b1d88c09210e03cd8265460e

Contents?: true

Size: 547 Bytes

Versions: 25

Compression:

Stored size: 547 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

      def to_json: (*untyped) -> String

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rbs-1.1.1 sig/comment.rbs
rbs-1.1.0 sig/comment.rbs
rbs-1.0.6 sig/comment.rbs
rbs-1.0.5 sig/comment.rbs
rbs-1.0.4 sig/comment.rbs
rbs-1.0.3 sig/comment.rbs
rbs-1.0.2 sig/comment.rbs
rbs-1.0.1 sig/comment.rbs
rbs-1.0.0 sig/comment.rbs
rbs-1.0.0.pre2 sig/comment.rbs
rbs-1.0.0.pre sig/comment.rbs
rbs-0.20.1 sig/comment.rbs
rbs-0.20.0 sig/comment.rbs
rbs-0.19.0 sig/comment.rbs
rbs-0.18.1 sig/comment.rbs
rbs-0.18.0 sig/comment.rbs
rbs-0.17.0 sig/comment.rbs
rbs-0.16.0 sig/comment.rbs
rbs-0.15.0 sig/comment.rbs
rbs-0.14.0 sig/comment.rbs