Class: InspectedBy::DiffDecorator
- Defined in:
- lib/inspected_by/core.rb
Instance Method Summary collapse
Methods inherited from Decorator
decorate, decorates, #initialize, method_missing, #method_missing
Constructor Details
This class inherits a constructor from InspectedBy::Decorator
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class InspectedBy::Decorator
Instance Method Details
#lines ⇒ Object
36 37 38 39 |
# File 'lib/inspected_by/core.rb', line 36 def lines lines = diff.diff.split("\n").drop(2) LineDecorator.decorate(lines) end |