Class: Cooklang::Formatters::Json
- Inherits:
-
Hash
- Object
- Cooklang::Formatter
- Hash
- Cooklang::Formatters::Json
- Defined in:
- lib/cooklang/formatters/json.rb
Instance Attribute Summary
Attributes inherited from Cooklang::Formatter
Instance Method Summary collapse
Methods inherited from Cooklang::Formatter
Constructor Details
This class inherits a constructor from Cooklang::Formatter
Instance Method Details
#generate(*args) ⇒ Object
8 9 10 |
# File 'lib/cooklang/formatters/json.rb', line 8 def generate(*args) super().to_json(*args) end |