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

Version Path
binary42-remix-stash-0.9.0 examples/getset.rb
binary42-remix-stash-0.9.1 examples/getset.rb
binary42-remix-stash-0.9.2 examples/getset.rb
binary42-remix-stash-0.9.3 examples/getset.rb
binary42-remix-stash-0.9.4 examples/getset.rb
binary42-remix-stash-0.9.5 examples/getset.rb
binary42-remix-stash-0.9.6 examples/getset.rb
remix-stash-1.1.3 examples/getset.rb
remix-stash-1.1.2 examples/getset.rb
remix-stash-1.1.1 examples/getset.rb
remix-stash-1.1.0 examples/getset.rb
remix-stash-1.0.4 examples/getset.rb
remix-stash-1.0.3 examples/getset.rb
remix-stash-1.0.2 examples/getset.rb
remix-stash-1.0.1 examples/getset.rb
remix-stash-1.0.0 examples/getset.rb
remix-stash-0.9.6 examples/getset.rb