Class: Differin::Renderers::JSON

Inherits:
Base
  • Object
show all
Defined in:
lib/differin/renderers/json.rb

Instance Attribute Summary

Attributes inherited from Base

#diff, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Differin::Renderers::Base

Instance Method Details

#renderObject



7
8
9
# File 'lib/differin/renderers/json.rb', line 7

def render
  diff.result.to_json
end