Sha256: 4b3dc0d3566b0d885cae19c15b3c8694f17d5a54d4285dc1567f2218813c9492
Contents?: true
Size: 504 Bytes
Versions: 6
Compression:
Stored size: 504 Bytes
Contents
module VariousKeyValuePairs def key_value_pair_1 key = :posts value = [ {post: {name: 'p1', content: 'post one'}}, {post: {name: 'p2', content: 'post two'}}, {post: {name: 'p3', content: 'post three'}} ] return [key, value] end def key_value_pair_1_result key = :posts value = [ {name: 'p1', content: 'post one'}, {name: 'p2', content: 'post two'}, {name: 'p3', content: 'post three'} ] return [key, value] end end
Version data entries
6 entries across 6 versions & 1 rubygems