Sha256: e9798d7ab1a22adfe72fbabfff67f23a713c6580cdfc4425c093161ba8eb7256
Contents?: true
Size: 537 Bytes
Versions: 13
Compression:
Stored size: 537 Bytes
Contents
# -*- coding: utf-8 -*- module Woothee::Util def update_map(target, source) source.keys.each do |key| next if key == Woothee::KEY_LABEL or key == Woothee::KEY_TYPE if source[key].length > 0 target[key] = source[key] end end end def update_category(target, category) target[Woothee::ATTRIBUTE_CATEGORY] = category end def update_version(target, version) target[Woothee::ATTRIBUTE_VERSION] = version end def update_os(target, os) target[Woothee::ATTRIBUTE_OS] = os end end
Version data entries
13 entries across 13 versions & 1 rubygems