gem.sh gem.sh
Home Gems Types Docs Community
  • Modules

    • module Erb
    • module Erb::Generators
    • module Haml
    • module Haml::Generators
    • module Locale
    • module Locale::Generators
    • module Preview
    • module Preview::Generators
    • module PreviewHelper
    • module Rails
    • module Rails::Generators
    • module Rspec
    • module Rspec::Generators
    • module Slim
    • module Slim::Generators
    • module Stimulus
    • module Stimulus::Generators
    • module Tailwindcss
    • module Tailwindcss::Generators
    • module TestUnit
    • module TestUnit::Generators
    • module ViewComponent
    • module ViewComponent::AbstractGenerator
    • module ViewComponent::CaptureCompatibility
    • module ViewComponent::CaptureCompatibility::InstanceMethods
    • module ViewComponent::CompileCache
    • module ViewComponent::InlineTemplate
    • module ViewComponent::Instrumentation
    • module ViewComponent::PreviewActions
    • module ViewComponent::RenderComponentHelper
    • module ViewComponent::RenderComponentToStringHelper
    • module ViewComponent::RenderMonkeyPatch
    • module ViewComponent::RenderToStringMonkeyPatch
    • module ViewComponent::RenderingComponentHelper
    • module ViewComponent::RenderingMonkeyPatch
    • module ViewComponent::Slotable
    • module ViewComponent::SystemTestHelpers
    • module ViewComponent::TestHelpers
    • module ViewComponent::Translatable
    • module ViewComponent::VERSION
    • module ViewComponent::WithContentHelper
    • module YARD
  • Classes

    • class Erb::Generators::ComponentGenerator
    • class Haml::Generators::ComponentGenerator
    • class Locale::Generators::ComponentGenerator
    • class Preview::Generators::ComponentGenerator
    • class Rails::Generators::ComponentGenerator
    • class Rspec::Generators::ComponentGenerator
    • class Slim::Generators::ComponentGenerator
    • class Stimulus::Generators::ComponentGenerator
    • class Tailwindcss::Generators::ComponentGenerator
    • class TestUnit::Generators::ComponentGenerator
    • class ViewComponent::AlreadyDefinedPolymorphicSlotSetterError
    • class ViewComponent::Base
    • class ViewComponent::BaseError
    • class ViewComponent::Collection
    • class ViewComponent::Compiler
    • class ViewComponent::ComponentError
    • class ViewComponent::Config
    • class ViewComponent::ContentAlreadySetForPolymorphicSlotError
    • class ViewComponent::ContentSlotNameError
    • class ViewComponent::ControllerCalledBeforeRenderError
    • class ViewComponent::DocsBuilderComponent
    • class ViewComponent::DocsBuilderComponent::ErrorKlassDoc
    • class ViewComponent::DocsBuilderComponent::MethodDoc
    • class ViewComponent::DocsBuilderComponent::Section
    • class ViewComponent::DuplicateContentError
    • class ViewComponent::DuplicateSlotContentError
    • class ViewComponent::EmptyOrInvalidInitializerError
    • class ViewComponent::Engine
    • class ViewComponent::HelpersCalledBeforeRenderError
    • class ViewComponent::InvalidCollectionArgumentError
    • class ViewComponent::InvalidSlotDefinitionError
    • class ViewComponent::MissingCollectionArgumentError
    • class ViewComponent::MissingPreviewTemplateError
    • class ViewComponent::MultipleInlineTemplatesError
    • class ViewComponent::MultipleMatchingTemplatesForPreviewError
    • class ViewComponent::NilWithContentError
    • class ViewComponent::NoMatchingTemplatesForPreviewError
    • class ViewComponent::Preview
    • class ViewComponent::RedefinedSlotError
    • class ViewComponent::ReservedParameterError
    • class ViewComponent::ReservedPluralSlotNameError
    • class ViewComponent::ReservedSingularSlotNameError
    • class ViewComponent::Slot
    • class ViewComponent::SlotPredicateNameError
    • class ViewComponent::SystemTestCase
    • class ViewComponent::SystemTestControllerNefariousPathError
    • class ViewComponent::SystemTestControllerOnlyAllowedInTestError
    • class ViewComponent::TemplateError
    • class ViewComponent::TestCase
    • class ViewComponent::Translatable::I18nBackend
    • class ViewComponent::TranslateCalledBeforeRenderError
    • class ViewComponentsController
    • class ViewComponentsSystemTestController
    • class YARD::MattrAccessorHandler
    Overview
    H
    Home
    R
    Reference
    T
    Types
    C
    Changelogs
  • Documentation
    • README
    • Changelog
  • More
    • Versions
    • Source
    • Playground
    • Stats
    • Metadata
    • Wiki
    • Announcements
    Community
    • Articles
    • Tutorials
    • Videos
    • Community
  1. Gems
  2. view_component
  3. 3.1.0

Generated RBS files


Experimental RBS support (using type sampling data from the type_fusion project).

RBS file (complete) RBS file (only methods with samples) Download RBS file (complete) Download RBS file (only methods with samples)

Typing Progress


We have received 28 type samples for the view_component-3.1.0 gem and matched them to 9 out of the 241 methods (3.7 %).

Methods With Samples


cache

2 samples

ViewComponent::CompileCache

compiled?

2 samples

ViewComponent::CompileCache

templates

2 samples

ViewComponent::Compiler

register

1 sample

ViewComponent::CompileCache

call_method_name

1 sample

ViewComponent::Compiler

has_inline_template?

1 sample

ViewComponent::Compiler

inline_calls

1 sample

ViewComponent::Compiler

should_compile_superclass?

1 sample

ViewComponent::Compiler

template_errors

1 sample

ViewComponent::Compiler

variants

1 sample

ViewComponent::Compiler

Top-Level Modules

  • Erb
  • Haml
  • Locale
  • Preview
  • PreviewHelper
  • Rails
  • Rspec
  • Slim
  • Stimulus
  • Tailwindcss
  • TestUnit
  • ViewComponent
  • YARD

Top-Level Classes

  • ViewComponentsController
  • ViewComponentsSystemTestController
Home
Gems
Docs
Contribute
Monitoring
Twitter GitHub Mastodon

© 2025 gem.sh - Beautiful documentation for any Ruby gem