Class: RBS::TypeAliasRegularity::Diagnostic
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rbs/type_alias_regularity.rb |
Class Method Summary
- .new(type_name:, nonregular_type:) ⇒ Diagnostic constructor
Instance Attribute Summary
- #nonregular_type readonly
- #type_name readonly
Constructor Details
.new(type_name:, nonregular_type:) ⇒ Diagnostic
# 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