Skip to content

Latest commit

 

History

History
101 lines (37 loc) · 940 Bytes

YAMLConverter.rst

File metadata and controls

101 lines (37 loc) · 940 Bytes

YAMLConverter

Converts hash to/from YAML

Constants

Files

Methods

.convert_type

def convert_type
  Hash
end

.db_type

def db_type
  String
end

.to_db

def to_db(value)
  Psych.dump(value)
end

.to_ruby

def to_ruby(value)
  Psych.load(value)
end