Class: SuperDiff::Core::TieredLinesElider
- Inherits:
-
Object
- Object
- SuperDiff::Core::TieredLinesElider
- Includes:
- Helpers
- Defined in:
- lib/super_diff/core/tiered_lines_elider.rb
Defined Under Namespace
Classes: Box, BuildBoxes, BuildPanes, Elision, Pane
Constant Summary collapse
- SIZE_OF_ELISION =
1
Instance Method Summary collapse
Methods included from Helpers
#jruby?, #object_address_for, #plural_type_for, #ruby_version_matches?, #style, #with_slice_of_array_replaced
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'lib/super_diff/core/tiered_lines_elider.rb', line 13 def call all_lines_are_changed_or_unchanged? ? lines : elided_lines end |