Sha256: f5e92a57ac1318621cd6976c43b157e2572a13cd3e25c2255f45fbe17c29befd

Contents?: true

Size: 495 Bytes

Versions: 79

Compression:

Stored size: 495 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[bot, bot]?

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

      def ==: (untyped other) -> bool

      alias eql? ==

      def hash: () -> Integer

      include _ToJson
    end
  end
end

Version data entries

79 entries across 79 versions & 2 rubygems

Version Path
rbs-3.8.1 sig/comment.rbs
rbs-3.8.0 sig/comment.rbs
rbs-3.8.0.pre.1 sig/comment.rbs
rbs-3.7.0.pre.1 sig/comment.rbs
rbs-3.7.0.dev.1 sig/comment.rbs
rbs-3.6.1 sig/comment.rbs
rbs-3.6.0 sig/comment.rbs
rbs-3.6.0.pre.3 sig/comment.rbs
rbs-3.6.0.pre.2 sig/comment.rbs
rbs-3.6.0.pre.1 sig/comment.rbs
rbs-3.6.0.dev.1 sig/comment.rbs
rbs-3.5.3 sig/comment.rbs
rbs-3.5.2 sig/comment.rbs
rbs-3.5.1 sig/comment.rbs
rbs-3.5.1.pre.1 sig/comment.rbs
rbs-3.5.0 sig/comment.rbs
rbs-3.5.0.pre.2 sig/comment.rbs
rbs-3.5.0.pre.1 sig/comment.rbs
rbs-3.4.4 sig/comment.rbs
rbs-3.4.3 sig/comment.rbs