Sha256: f1b80c03765f0ac2ec2cb8f493b2bb5d424f2bb6614b07ee96900e9bca20b24d

Contents?: true

Size: 798 Bytes

Versions: 6

Compression:

Stored size: 798 Bytes

Contents

# Generated from lib/rbs_activesupport/method_searcher.rb with RBS::Inline

module RbsActivesupport
  class MethodSearcher
    attr_reader rbs_builder: RBS::DefinitionBuilder

    # @rbs rbs_builder: RBS::DefinitionBuilder
    def initialize: (RBS::DefinitionBuilder rbs_builder) -> void

    # @rbs delegate: Delegate
    def method_types_for: (Delegate delegate) -> Array[String]

    private

    # @rbs delegate_to: Array[RBS::MethodType]
    def return_type_names_for: (Array[RBS::MethodType] delegate_to) -> Array[RBS::TypeName]

    # @rbs type: RBS::Types::t
    def type_name_for: (RBS::Types::t type) -> RBS::TypeName?

    # @rbs type_name: RBS::TypeName
    # @rbs method: Symbol
    def lookup_method_types: (RBS::TypeName type_name, Symbol method) -> Array[RBS::MethodType]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rbs_activesupport-1.4.3 sig/rbs_activesupport/method_searcher.rbs
rbs_activesupport-1.4.2 sig/rbs_activesupport/method_searcher.rbs
rbs_activesupport-1.4.1 sig/rbs_activesupport/method_searcher.rbs
rbs_activesupport-1.4.0 sig/rbs_activesupport/method_searcher.rbs
rbs_activesupport-1.3.0 sig/rbs_activesupport/method_searcher.rbs
rbs_activesupport-1.2.1 sig/rbs_activesupport/method_searcher.rbs