123456789_123456789_123456789_123456789_123456789_

Class: RBS::TypeAliasRegularity::Diagnostic

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

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(type_name:, nonregular_type:) ⇒ Diagnostic

[ GitHub ]

  
# File 'lib/rbs/type_alias_regularity.rb', line 8

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

Instance Attribute Details

#nonregular_type (readonly)

[ GitHub ]

  
# File 'lib/rbs/type_alias_regularity.rb', line 6

attr_reader :type_name, :nonregular_type

#type_name (readonly)

[ GitHub ]

  
# File 'lib/rbs/type_alias_regularity.rb', line 6

attr_reader :type_name, :nonregular_type