Class: CDMBL::ToJsonFormatter
- Inherits:
-
Object
- Object
- CDMBL::ToJsonFormatter
- Defined in:
- lib/cdmbl/formatters.rb
Class Method Summary collapse
Class Method Details
.format(values) ⇒ Object
89 90 91 |
# File 'lib/cdmbl/formatters.rb', line 89 def self.format(values) values.to_json if values.respond_to?(:to_json) end |