Class: SuperDiff::TieredLinesElider

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/super_diff/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

#callObject



10
11
12
# File 'lib/super_diff/tiered_lines_elider.rb', line 10

def call
  all_lines_are_changed_or_unchanged? ? lines : elided_lines
end