Class: CDMDEXER::ToJsonFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/cdmdexer/formatters.rb

Class Method Summary collapse

Class Method Details

.format(values) ⇒ Object



83
84
85
# File 'lib/cdmdexer/formatters.rb', line 83

def self.format(values)
  values.to_json if values.respond_to?(:to_json)
end