sig/orthoses/content/environment.rbs in orthoses-1.9.0 vs sig/orthoses/content/environment.rbs in orthoses-1.10.0
- old
+ new
@@ -8,16 +8,17 @@
@constant_filter: constant_filter?
@mixin_filter: mixin_filter?
@attribute_filter: attribute_filter?
def self.load_from_paths: (untyped paths) -> untyped
def initialize: (?method_definition_filter: method_definition_filter?, ?alias_filter: alias_filter?, ?constant_filter: constant_filter?, ?mixin_filter: mixin_filter?, ?attribute_filter: attribute_filter?) -> void
- def <<: (RBS::AST::Declarations::t decl) -> RBS::Environment
+ def <<: (RBS::AST::Declarations::t decl) -> self
def write_to: (store: Orthoses::store) -> void
def each: () { (Orthoses::Content) -> void } -> void
# Avoid `RBS::GenericParameterMismatchError` from like rbs_prototype_rb
# class Array # <= RBS::GenericParameterMismatchError
# end
private def avoid_generic_parameter_mismatch_error: () -> untyped
+ private def detect_mixin_and_build_content: (untyped decls) -> untyped
private def decls_to_lines: (untyped decls) -> untyped
type method_definition_filter = ^(RBS::AST::Members::MethodDefinition) -> boolish
type alias_filter = ^(RBS::AST::Members::Alias) -> boolish
type constant_filter = ^(RBS::AST::Declarations::Constant) -> boolish
type mixin_filter = ^(RBS::AST::Members::Mixin) -> boolish