Sha256: badea52c4839005f4cb845a5f3f6e1bccd65c0b2e7d01555b4e6408a36f641bd

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents



module StructTrans
  module_function

  def trans_hash struct, schema
    transform(:hash, struct, schema)
  end

  def construct_hash
    {}
  end

  def write_hash hash, key, value
    hash[key] = value
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
struct_trans-0.5.0 lib/struct_trans/hash.rb