123456789_123456789_123456789_123456789_123456789_

Class: RBS::Definition::SingletonAncestors

Relationships & Source Files
Inherits: Object
Defined in: lib/rbs/definition.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(type_name:, ancestors:) ⇒ SingletonAncestors

[ GitHub ]

  
# File 'lib/rbs/definition.rb', line 268

def initialize(type_name:, ancestors:)
  @type_name = type_name
  @ancestors = ancestors
end

Instance Attribute Details

#ancestors (readonly)

[ GitHub ]

  
# File 'lib/rbs/definition.rb', line 266

attr_reader :ancestors

#type_name (readonly)

[ GitHub ]

  
# File 'lib/rbs/definition.rb', line 265

attr_reader :type_name