Class: SuperDiff::Core::TieredLinesElider::Elision

Inherits:
Object
  • Object
show all
Defined in:
lib/super_diff/core/tiered_lines_elider.rb

Instance Method Summary collapse

Instance Method Details

#add_comma?Boolean

Returns:

  • (Boolean)


465
466
467
# File 'lib/super_diff/core/tiered_lines_elider.rb', line 465

def add_comma?
  false
end

#elided?Boolean

Returns:

  • (Boolean)


461
462
463
# File 'lib/super_diff/core/tiered_lines_elider.rb', line 461

def elided?
  true
end

#prefixObject



453
454
455
# File 'lib/super_diff/core/tiered_lines_elider.rb', line 453

def prefix
  ''
end

#typeObject



449
450
451
# File 'lib/super_diff/core/tiered_lines_elider.rb', line 449

def type
  :elision
end

#valueObject



457
458
459
# File 'lib/super_diff/core/tiered_lines_elider.rb', line 457

def value
  '# ...'
end