Class: Cooklang::Formatters::Json

Inherits:
Hash show all
Defined in:
lib/cooklang/formatters/json.rb

Instance Attribute Summary

Attributes inherited from Cooklang::Formatter

#recipe

Instance Method Summary collapse

Methods inherited from Cooklang::Formatter

#initialize, #to_s

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