Class: RBS::TypeAliasRegularity::Diagnostic
- Inherits:
-
Object
- Object
- RBS::TypeAliasRegularity::Diagnostic
- Defined in:
- lib/rbs/type_alias_regularity.rb
Instance Attribute Summary collapse
-
#nonregular_type ⇒ Object
readonly
Returns the value of attribute nonregular_type.
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
Instance Method Summary collapse
-
#initialize(type_name:, nonregular_type:) ⇒ Diagnostic
constructor
A new instance of Diagnostic.
Constructor Details
#initialize(type_name:, nonregular_type:) ⇒ Diagnostic
Returns a new instance of Diagnostic.
6 7 8 9 |
# File 'lib/rbs/type_alias_regularity.rb', line 6 def initialize(type_name:, nonregular_type:) @type_name = type_name @nonregular_type = nonregular_type end |
Instance Attribute Details
#nonregular_type ⇒ Object (readonly)
Returns the value of attribute nonregular_type.
4 5 6 |
# File 'lib/rbs/type_alias_regularity.rb', line 4 def nonregular_type @nonregular_type end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name.
4 5 6 |
# File 'lib/rbs/type_alias_regularity.rb', line 4 def type_name @type_name end |