<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>Web開発における知見共有系ページ</blog_title>
  <blog_url>https://job-info.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Rubyで多次元配列を扱う方法 多次元配列の作成 要素のアクセス 要素の更新 多次元配列のイテレーション その他の操作 Rubyで多次元配列を扱う方法 Rubyで多次元配列を扱うには、配列の中にさらに配列を入れることで表現できます。 以下は基本的な操作方法の例です。 多次元配列の作成 # 2x3の多次元配列 array = [ [1, 2, 3], [4, 5, 6] ] 要素のアクセス 配列のインデックスを使用して要素にアクセスします。 多次元配列の場合、各次元に対してインデックスを指定します。 puts array[0][1] # 出力: 2 puts array[1][2] # 出力: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2024%2F08%2F24%2F165356&quot; title=&quot;Rubyで多次元配列を扱う方法 - Web開発における知見共有系ページ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-08-24 16:53:56</published>
  <title>Rubyで多次元配列を扱う方法</title>
  <type>rich</type>
  <url>https://job-info.hateblo.jp/entry/2024/08/24/165356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
