Sha256: 5e3fc709bc1171c42890ad09c7a30e98910ca3401cb1d431061dd53161ec29cb

Contents?: true

Size: 155 Bytes

Versions: 17

Compression:

Stored size: 155 Bytes

Contents

require File.dirname(__FILE__) + '/../harness'

a = 0

stash(:x).scope {a}

stash(:x)[1] = 2

p stash(:x)[1]

a += 1

p stash(:x)[1]

a = 0

p stash(:x)[1]

Version data entries

17 entries across 17 versions & 2 rubygems

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