sig/steep/interface/builder.rbs in steep-1.5.1 vs sig/steep/interface/builder.rbs in steep-1.5.2

- old
+ new

@@ -69,9 +69,21 @@ @subst: Substitution # Substitution for immediate type expressions def subst: () -> Substitution + + # Returns `self_type`, or `nil` when it is `Types::Self` + # + def self_type?: () -> AST::Types::t? + + # Returns `class_type`, or `nil` when it is `Types::Class` + # + def class_type?: () -> AST::Types::t? + + # Returns `instanc_type`, or `nil` when it is `Types::Instance` + # + def instance_type?: () -> AST::Types::t? end attr_reader factory: AST::Types::Factory type cache_key = [