<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Grace Do</title>
    <description>The latest articles on DEV Community by Grace Do (@gracedo).</description>
    <link>https://dev.to/gracedo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1364155%2F903a58a0-d1ef-4bae-a1be-fb7c0bbf77c2.png</url>
      <title>DEV Community: Grace Do</title>
      <link>https://dev.to/gracedo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gracedo"/>
    <language>en</language>
    <item>
      <title>Shovel operation in Ruby</title>
      <dc:creator>Grace Do</dc:creator>
      <pubDate>Fri, 06 Sep 2024 16:49:56 +0000</pubDate>
      <link>https://dev.to/gracedo/shovel-operation-in-ruby-52j</link>
      <guid>https://dev.to/gracedo/shovel-operation-in-ruby-52j</guid>
      <description>&lt;p&gt;An alternative way for string concatenation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;str1 = "This is a new string"
str2 = ". This is a new sentence."
result = str1 &amp;lt;&amp;lt; str2
puts result
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;This is a new string. This is a new sentence.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>String interpolation</title>
      <dc:creator>Grace Do</dc:creator>
      <pubDate>Fri, 17 May 2024 13:48:09 +0000</pubDate>
      <link>https://dev.to/gracedo/string-interpolation-2073</link>
      <guid>https://dev.to/gracedo/string-interpolation-2073</guid>
      <description>&lt;p&gt;In JavaScript, string interpolation must be enclosed in the backticks:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`The count is ${num}`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In Ruby, string interpolation is written as a normal string, with single or double quotes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"The count is #{num}"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Ruby .. and ...</title>
      <dc:creator>Grace Do</dc:creator>
      <pubDate>Tue, 30 Apr 2024 16:49:41 +0000</pubDate>
      <link>https://dev.to/gracedo/ruby-and--4bo8</link>
      <guid>https://dev.to/gracedo/ruby-and--4bo8</guid>
      <description>&lt;p&gt;num1..num2: from num1 to num2, including num2&lt;br&gt;
num1...num2: from num1 to num2-1, not including num2&lt;/p&gt;

</description>
    </item>
    <item>
      <title>TIL</title>
      <dc:creator>Grace Do</dc:creator>
      <pubDate>Thu, 18 Apr 2024 16:23:41 +0000</pubDate>
      <link>https://dev.to/gracedo/til-50df</link>
      <guid>https://dev.to/gracedo/til-50df</guid>
      <description>&lt;p&gt;Just learned about linktr.ee and why it became popular with the use of social media.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Yesterday I learned</title>
      <dc:creator>Grace Do</dc:creator>
      <pubDate>Tue, 19 Mar 2024 15:56:10 +0000</pubDate>
      <link>https://dev.to/gracedo/yesterday-i-learned-5hk7</link>
      <guid>https://dev.to/gracedo/yesterday-i-learned-5hk7</guid>
      <description>&lt;p&gt;How to use Codespaces environment to directly code and commit to Github without installing an IDE on my local machine (also saved me the trouble of changing the git branch from 'master' to 'main').&lt;/p&gt;

</description>
      <category>github</category>
    </item>
  </channel>
</rss>
