Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
lib
/
ruby
/
gems
/
3.0.0
/
gems
/
rbs-1.0.4
/
lib
/
rbs
/
ast
/
File Content:
annotation.rb
module RBS module AST class Annotation attr_reader :string attr_reader :location def initialize(string:, location:) @string = string @location = location end def ==(other) other.is_a?(Annotation) && other.string == string end alias eql? == def hash self.class.hash ^ string.hash end def to_json(*a) { string: string, location: location }.to_json(*a) end end end end
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
annotation.rb
489 bytes
0644
comment.rb
689 bytes
0644
declarations.rb
10812 bytes
0644
members.rb
8838 bytes
0644
N4ST4R_ID | Naxtarrr