Sha256: 8ed5ecf3dfac934dc04888381933fd035e774146115dea1617387df9dfce29ea
Contents?: true
Size: 240 Bytes
Versions: 17
Compression:
Stored size: 240 Bytes
Contents
require File.dirname(__FILE__) + '/../harness' # Get and set a simple key stash.set('answer', 42) p stash.get('answer') # Alternate methods stash[:answer] = :fortytwo p stash[:answer] # Composite keys stash[1,2,3,4] = 5 p stash[1,2,3,4]
Version data entries
17 entries across 17 versions & 2 rubygems