<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thr3a</author_name>
  <author_url>https://blog.hatena.ne.jp/thr3a/</author_url>
  <blog_title>動かざることバグの如し</blog_title>
  <blog_url>https://blog.turai.work/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>ぶっちゃけまとめ def display mat mat.each do |row| puts row.join(' ') end puts end matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] display matrix display matrix.reverse.transpose #=&gt; 右回転 display matrix.transpose.reverse #=&gt; 左回転 display matrix.reverse.map(&amp;:reverse) #=&gt; 180度回転 実行結果 1 2 3 4 5 6 7 8 9 7 4 1 8 5 2 9…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20160424%2F1461504012&quot; title=&quot;Rubyで行列の回転を行いたい - 動かざることバグの如し&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>2016-04-24 22:20:12</published>
  <title>Rubyで行列の回転を行いたい</title>
  <type>rich</type>
  <url>https://blog.turai.work/entry/20160424/1461504012</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
