summaryrefslogtreecommitdiff
path: root/sample/aset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/aset.rb')
-rw-r--r--sample/aset.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/sample/aset.rb b/sample/aset.rb
new file mode 100644
index 0000000..cfec649
--- /dev/null
+++ b/sample/aset.rb
@@ -0,0 +1,3 @@
+ary = [0, 0, 4, 5]
+ary[1, 0] = [7]
+print(ary, "\n")