Sha256: 14267290167983dc01b9508f66cb57da20f20d946b033f1e5757e2d5bae9e636

Contents?: true

Size: 222 Bytes

Versions: 3

Compression:

Stored size: 222 Bytes

Contents

class Array

  # Store a value at a given index. Store is an alias for #[]=.
  #
  # Example:
  #
  #   a = []
  #   a.store(1, "A")
  #   a[1] #=> "A"
  #
  # Returns the stored object.

  alias_method :store, :[]=

end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 lib/core/facets/array/store.rb
facets-3.1.0 lib/core/facets/array/store.rb
facets-3.0.0 lib/core/facets/array/store.rb