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 364

attr_reader :location

Instance Method Details

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

[ GitHub ]

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

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

#eql?(other)

Alias for #==.

[ GitHub ]

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

alias eql? ==

#hash

[ GitHub ]

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

def hash
  self.class.hash
end

#initialize(location:)

[ GitHub ]

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

def initialize(location:)
  @location = location
end