Class: TodoFind::JSONFormatter
- Inherits:
-
Object
- Object
- TodoFind::JSONFormatter
- Defined in:
- lib/todofind/formatters/json_formatter.rb
Overview
Public: A JSON search formatter.
Instance Method Summary collapse
Instance Method Details
#render(data) ⇒ Object
6 7 8 |
# File 'lib/todofind/formatters/json_formatter.rb', line 6 def render(data) data.to_json end |