Sha256: 05b5ebd24fb3343987c4a317d42834ad7e08eea6b4371fbcf8840599314e5b1d
Contents?: true
Size: 496 Bytes
Versions: 19
Compression:
Stored size: 496 Bytes
Contents
module Nucleon module Translator class Yaml < Plugin::Translator #----------------------------------------------------------------------------- # Translator operations def parse(yaml_text) return super do |properties| if yaml_text && ! yaml_text.empty? properties = Util::Data.parse_yaml(yaml_text) end properties end end #--- def generate(properties) return super do Util::Data.to_yaml(properties) end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems