Class: SuperDiff::TieredLinesElider::Elision

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

Instance Method Summary collapse

Instance Method Details

#add_comma?Boolean

Returns:

  • (Boolean)


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

def add_comma?
  false
end

#elided?Boolean

Returns:

  • (Boolean)


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

def elided?
  true
end

#prefixObject



445
446
447
# File 'lib/super_diff/tiered_lines_elider.rb', line 445

def prefix
  ""
end

#typeObject



441
442
443
# File 'lib/super_diff/tiered_lines_elider.rb', line 441

def type
  :elision
end

#valueObject



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

def value
  "# ..."
end