Module: RBS::AST::Members::Mixin
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
| Included In: | |
| Defined in: | lib/rbs/ast/members.rb | 
Instance Attribute Summary
- #annotations readonly
- #args readonly
- #comment readonly
- #location readonly
- #name readonly
Instance Method Summary
Instance Attribute Details
#annotations (readonly)
[ GitHub ]# File 'lib/rbs/ast/members.rb', line 188
attr_reader :annotations
#args (readonly)
[ GitHub ]# File 'lib/rbs/ast/members.rb', line 187
attr_reader :args
#comment (readonly)
[ GitHub ]# File 'lib/rbs/ast/members.rb', line 190
attr_reader :comment
#location (readonly)
[ GitHub ]# File 'lib/rbs/ast/members.rb', line 189
attr_reader :location
#name (readonly)
[ GitHub ]# File 'lib/rbs/ast/members.rb', line 186
attr_reader :name
Instance Method Details
#==(other)
[ GitHub ]
    #eql?(other)  ⇒ Boolean 
  
# File 'lib/rbs/ast/members.rb', line 204
def eql?(other) self == other end
#hash
[ GitHub ]#initialize(name:, args:, annotations:, location:, comment:)
[ GitHub ]# File 'lib/rbs/ast/members.rb', line 192
def initialize(name:, args:, annotations:, location:, comment:) @name = name @args = args @annotations = annotations @location = location @comment = comment end