Class: RapidDiffs::Viewers::Text::InlineViewComponent
- Inherits:
-
ViewerComponent
- Object
- ViewComponent::Base
- ViewerComponent
- RapidDiffs::Viewers::Text::InlineViewComponent
show all
- Defined in:
- app/components/rapid_diffs/viewers/text/inline_view_component.rb
Class Method Summary
collapse
Instance Method Summary
collapse
#initialize
Class Method Details
.viewer_name ⇒ Object
7
8
9
|
# File 'app/components/rapid_diffs/viewers/text/inline_view_component.rb', line 7
def self.viewer_name
'text_inline'
end
|
Instance Method Details
#virtual_rendering_params ⇒ Object
11
12
13
|
# File 'app/components/rapid_diffs/viewers/text/inline_view_component.rb', line 11
def virtual_rendering_params
{ total_rows: total_rows }
end
|