<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	【Ruby】教材のソースコードの中の文字列について へのコメント	</title>
	<atom:link href="https://open-innovation-daigaku.com/unlimitedQA/%e3%80%90ruby%e3%80%91%e6%95%99%e6%9d%90%e3%81%ae%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e4%b8%ad%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/feed/" rel="self" type="application/rss+xml" />
	<link>https://open-innovation-daigaku.com/unlimitedQA/%e3%80%90ruby%e3%80%91%e6%95%99%e6%9d%90%e3%81%ae%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e4%b8%ad%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/</link>
	<description>学び放題エンジニア養成講座QAサイト</description>
	<lastBuildDate>Wed, 12 Apr 2023 06:40:38 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		Staff より		</title>
		<link>https://open-innovation-daigaku.com/unlimitedQA/%e3%80%90ruby%e3%80%91%e6%95%99%e6%9d%90%e3%81%ae%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e4%b8%ad%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#comment-18</link>

		<dc:creator><![CDATA[Staff]]></dc:creator>
		<pubDate>Tue, 04 Apr 2023 09:24:01 +0000</pubDate>
		<guid isPermaLink="false">https://open-innovation-daigaku.com/unlimitedQA/question/%e6%95%99%e6%9d%90%e3%81%ae%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e4%b8%ad%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#comment-18</guid>

					<description><![CDATA[ダブルコーテーションは式展開という文字列を動的に変える仕組みが使えます。（例 #{var} など） 一方、シングルコーテーションでは式展開が使えません。

具体的に言うと #{var} という文字そのものを出力したい場合は式展開されないことが必要なためシングルコーテーションを使います。
以下のサイトが非常に纏まっておりますのでご参照ください。

[&lt;a href=&quot;https://26gram.com/ruby-string#:~:text=%E3%83%80%E3%83%96%E3%83%AB%E3%82%AF%E3%82%A9%E3%83%BC%E3%83%86%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%EF%BC%88%20%22%20%EF%BC%89%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AF%E3%80%81%E3%81%9D%E3%81%AE,%E3%82%84%E6%83%85%E5%A0%B1%E3%82%92%E5%8F%96%E5%BE%97%E3%81%A7%E3%81%8D%E3%82%8B%E3%80%82&quot; rel=&quot;nofollow ugc&quot;&gt;【Ruby入門】文字列を扱ってみよう（覚えておくべき基本知識を網羅）&lt;/a&gt; ]

他変数展開を使用しない文字列に関してはプログラムの文法的にはどちらでも問題ございません。

開発チーム内でルールなどがあればそれにしたがう形になります。]]></description>
			<content:encoded><![CDATA[<p>ダブルコーテーションは式展開という文字列を動的に変える仕組みが使えます。（例 #{var} など） 一方、シングルコーテーションでは式展開が使えません。</p>
<p>具体的に言うと #{var} という文字そのものを出力したい場合は式展開されないことが必要なためシングルコーテーションを使います。<br />
以下のサイトが非常に纏まっておりますのでご参照ください。</p>
<p>[<a href="https://26gram.com/ruby-string#:~:text=%E3%83%80%E3%83%96%E3%83%AB%E3%82%AF%E3%82%A9%E3%83%BC%E3%83%86%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%EF%BC%88%20%22%20%EF%BC%89%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AF%E3%80%81%E3%81%9D%E3%81%AE,%E3%82%84%E6%83%85%E5%A0%B1%E3%82%92%E5%8F%96%E5%BE%97%E3%81%A7%E3%81%8D%E3%82%8B%E3%80%82" rel="nofollow ugc">【Ruby入門】文字列を扱ってみよう（覚えておくべき基本知識を網羅）</a> ]</p>
<p>他変数展開を使用しない文字列に関してはプログラムの文法的にはどちらでも問題ございません。</p>
<p>開発チーム内でルールなどがあればそれにしたがう形になります。</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Disk: Enhanced  を使用したページ キャッシュ
Disk を使用して縮小 

Served from: open-innovation-daigaku.com @ 2026-07-06 11:58:38 by W3 Total Cache
-->