Class: Arrest::ArrayConv

Inherits:
IdentConv show all
Defined in:
lib/arrest/attributes/converter.rb

Class Method Summary collapse

Methods inherited from IdentConv

convert

Methods inherited from Converter

convert, target

Class Method Details

.mk_json(value) ⇒ Object



61
62
63
64
65
66
# File 'lib/arrest/attributes/converter.rb', line 61

def self.mk_json value
  if value == nil || value == ""
    return nil
  end
  value
end