class ViewComponent::Compiler
def inline_calls
Experimental RBS support (using type sampling data from the type_fusion
project).
def inline_calls: () -> untyped
This signature was generated using 1 sample from 1 application.
def inline_calls @inline_calls ||= begin # Fetch only ViewComponent ancestor classes to limit the scope of # finding inline calls view_component_ancestors = ( component_class.ancestors.take_while { |ancestor| ancestor != ViewComponent::Base } - component_class.included_modules ) view_component_ancestors.flat_map { |ancestor| ancestor.instance_methods(false).grep(/^call/) }.uniq end end