123456789_123456789_123456789_123456789_123456789_

Module: RBS::AST::Members::LocationOnly

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/rbs/ast/members.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#location (readonly)

[ GitHub ]

  
# File 'lib/rbs/ast/members.rb', line 315

attr_reader :location

Instance Method Details

#==(other) Also known as: #eql?

[ GitHub ]

  
# File 'lib/rbs/ast/members.rb', line 321

def ==(other)
  other.is_a?(self.class)
end

#eql?(other)

Alias for #==.

[ GitHub ]

  
# File 'lib/rbs/ast/members.rb', line 325

alias eql? ==

#hash

[ GitHub ]

  
# File 'lib/rbs/ast/members.rb', line 327

def hash
  self.class.hash
end

#initialize(location:)

[ GitHub ]

  
# File 'lib/rbs/ast/members.rb', line 317

def initialize(location:)
  @location = location
end