class ActionView::Template::Renderable
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/action_view/template/renderable.rbs class ActionView::Template::Renderable def format: () -> nil def identifier: () -> String def initialize: (UI::CodeBlock renderable) -> void def render: (#<Class:0x0000000122b3d530> context, *Array[Hash, ] args) -> ActionView::OutputBuffer end
:nodoc:
def format
Experimental RBS support (using type sampling data from the type_fusion
project).
def format: () -> nil
This signature was generated using 2 samples from 1 application.
def format @renderable.format end
def identifier
Experimental RBS support (using type sampling data from the type_fusion
project).
def identifier: () -> String
This signature was generated using 1 sample from 1 application.
def identifier @renderable.class.name end
def initialize(renderable)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (UI::CodeBlock renderable) -> void
This signature was generated using 1 sample from 1 application.
def initialize(renderable) @renderable = renderable end
def render(context, *args)
Experimental RBS support (using type sampling data from the type_fusion
project).
def render: (#<Class:0x0000000122b3d530> context, * args) -> ActionView::OutputBuffer
This signature was generated using 1 sample from 1 application.
def render(context, *args) @renderable.render_in(context) end