Sha256: e0a59368e9d6ffff657ebf94d6721be5347eb1b545736e8ee435213a39b34d4c
Contents?: true
Size: 298 Bytes
Versions: 30
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true class ReeMapper::StringKeyHashOutput < ReeMapper::StrategyOutput contract(Hash) def build_object Hash.new end contract(Object, ReeMapper::Field, Any => nil) def assign_value(object, field, value) object[field.name_as_str] = value nil end end
Version data entries
30 entries across 30 versions & 1 rubygems