Sha256: e6464efd82550553c85b48d233c528d428600ee2b6ec37b2082b9eab65d3183a
Contents?: true
Size: 637 Bytes
Versions: 15
Compression:
Stored size: 637 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 def update_os_version(target, version) target[Woothee::ATTRIBUTE_OS_VERSION] = version end end
Version data entries
15 entries across 15 versions & 1 rubygems