<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>ROR by Nguyen Huu Long</title>
      <link>https://padlet.com/longmentor/41b61m4irbtbofx9</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2023-02-11 02:57:34 UTC</pubDate>
      <lastBuildDate>2023-02-11 11:07:53 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>From Japan</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477106292</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:11:16 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477106292</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477106698</link>
         <description><![CDATA[<pre><strong><em>3.times do
  print 'Welcome '
end</em></strong></pre><div><br></div><pre><strong><em>5.times { print "Odelay! " }</em></strong></pre><div><br></div><pre><strong><em>5.times { |time|
  puts time
}
-----
0
1
2
3
4</em></strong></pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:12:46 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477106698</guid>
      </item>
      <item>
         <title>.reverse</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477110865</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:25:05 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477110865</guid>
      </item>
      <item>
         <title>.length</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477110904</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:25:12 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477110904</guid>
      </item>
      <item>
         <title>.to_s -&gt; tostring</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477111306</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:26:37 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477111306</guid>
      </item>
      <item>
         <title>.to_i</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477111451</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:27:04 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477111451</guid>
      </item>
      <item>
         <title>.to_a</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477111483</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:27:12 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477111483</guid>
      </item>
      <item>
         <title>.max</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477111879</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:28:33 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477111879</guid>
      </item>
      <item>
         <title>.sort!</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477112971</link>
         <description><![CDATA[<div>they alter the variable for good use !</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:32:07 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477112971</guid>
      </item>
      <item>
         <title>.gsub like .replace  </title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477114358</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:36:49 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477114358</guid>
      </item>
      <item>
         <title>poem.reverse to reverse all</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477114724</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:37:56 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477114724</guid>
      </item>
      <item>
         <title>poem.lines.reverse</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477114743</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:38:00 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477114743</guid>
      </item>
      <item>
         <title>puts poem.lines.reverse.join</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477114938</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:38:45 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477114938</guid>
      </item>
      <item>
         <title>book={}</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477116907</link>
         <description><![CDATA[<div>books["The deep end"]&nbsp; = :abysmal<br>puts books<br>"The deep end"=&gt;"abysmal"<br>puts books.length&nbsp;<br>3<br>puts books["The deep end"]<br>abysmal<br>books.keys show all key<br>books.values show all value<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:45:33 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477116907</guid>
      </item>
      <item>
         <title>Harsh Khắc nghiệt</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477120628</link>
         <description><![CDATA[<div>ratings = Hash.new {0}<br><br>books.values.each { |rate|<br>&nbsp; ratings[rate] += 1<br>}<br>puts books.values<br>puts ratings<br><br>------------<br>splendid<br>abysmal<br>mediocre<br>mediocre<br>{"splendid"=&gt;1, "abysmal"=&gt;1, "mediocre"=&gt;2}</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 03:58:07 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477120628</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477128994</link>
         <description><![CDATA[<div>def count_plays(year)<br>&nbsp; s = get_shakey<br><br>&nbsp; s["William Shakespeare"]<br>&nbsp; &nbsp; .select { |k, v|<br>&nbsp; &nbsp; &nbsp; v["finished"] == year<br>&nbsp; &nbsp; }.each { |key, val|<br>&nbsp; &nbsp; &nbsp; puts val["title"]<br>&nbsp; &nbsp; }.count<br>end<br><br>puts count_plays(1591)</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 04:30:00 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477128994</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477129336</link>
         <description><![CDATA[<div>def print_plays(year_from, year_to)<br>&nbsp; get_shakey["William Shakespeare"]<br>&nbsp; &nbsp; .select { |k, v|<br>&nbsp; &nbsp; &nbsp; year_from &lt;= v["finished"] &amp;&amp;<br>&nbsp; &nbsp; &nbsp; year_to &nbsp; &gt;= v["finished"]<br>&nbsp; &nbsp; }.each { |k, v|<br>&nbsp; &nbsp; &nbsp; puts "#{v["title"].ljust(30)} #{v["finished"]}"<br>&nbsp; &nbsp; }<br>end<br>print_plays(1600, 1605)</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 04:31:29 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477129336</guid>
      </item>
      <item>
         <title>https://try.ruby-lang.org/</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477129376</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://try.ruby-lang.org/" />
         <pubDate>2023-02-11 04:31:40 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477129376</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477129944</link>
         <description><![CDATA[<pre>5     &lt;= 10     # =&gt; true
'abc' == 'def'  # =&gt; false
true            # =&gt; true
123456          # =&gt; true
0               # =&gt; true
nil             # =&gt; false
'xyz'.empty?    # =&gt; false
'a' &gt; 5         # =&gt; error:
                # comparison of String with
                # Numeric failed</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 04:34:18 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477129944</guid>
      </item>
      <item>
         <title>= # ==</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477130457</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 04:36:01 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477130457</guid>
      </item>
      <item>
         <title>if else</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477130912</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 04:37:18 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477130912</guid>
      </item>
      <item>
         <title>if elseif else</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477130946</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 04:37:26 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477130946</guid>
      </item>
      <item>
         <title>attr_reader</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477137058</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 05:02:06 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477137058</guid>
      </item>
      <item>
         <title>attr_writer</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477137111</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 05:02:21 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477137111</guid>
      </item>
      <item>
         <title>attr_accessor</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477137178</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 05:02:36 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477137178</guid>
      </item>
      <item>
         <title>@content = content[0..39]</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477162912</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 07:00:18 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477162912</guid>
      </item>
      <item>
         <title>@variable Object variable</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477165366</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 07:11:03 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477165366</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477171886</link>
         <description><![CDATA[<pre>class Blurb
  attr_accessor :content, :time, :mood

  def initialize(mood, content="")
    @time    = Time.now
    @content = content[0..39]
    @mood    = mood
  end

  def moodify
    if    @mood == :sad
      return ":-("
    elsif @mood == :happy
      return ":-)"
    # Add other moods here
    end

    # The default mood
    ":-|"
  end
end

class Blurbalizer
  def initialize(title)
    @title  = title
    @blurbs = []
  end

  def add_a_blurb(mood, content)
    @blurbs &lt;&lt; Blurb.new(mood, content)
  end

  def show_timeline
    puts "Blurbalizer: #{@title} has #{@blurbs.count} Blurbs"

    @blurbs.sort_by { |t|
      t.time
    }.reverse.each { |t|
      puts "#{t.content.ljust(40)} #{t.mood} #{t.time}"
    }
  end
end
myapp = Blurbalizer.new "The Big Blurb"
myapp.add_a_blurb(:happy,"okokok")
myapp.add_a_blurb(:sad,"not okokok")

myapp.show_timeline
<br></pre><div><br></div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 07:37:37 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477171886</guid>
      </item>
      <item>
         <title>Matz</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477175239</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 07:53:15 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477175239</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477175994</link>
         <description><![CDATA[<pre># I am a single line comment.
<br>=begin
<br>I am a multi line comment. I can take as many lines as needed.
<br>=end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 07:56:14 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477175994</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477176240</link>
         <description><![CDATA[<pre># Integer 
valuex = 1

# Float 
valuey = 1.2</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 07:56:52 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477176240</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477176605</link>
         <description><![CDATA[<pre>puts "codecademy".upcase# CODECADEMY
<br>puts "Codecademy".downcase# codecademy</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 07:58:13 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477176605</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477176851</link>
         <description><![CDATA[<pre>age = 30
<br>print "Hi, my name is Cody, and I am #{age} years old"# "Hi, my name is Cody, and I am 30 years old"</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 07:59:09 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477176851</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477177190</link>
         <description><![CDATA[<pre>print "Type your name and press Enter: "name = gets.chomp
<br>puts "My name is #{name}!"</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:00:33 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477177190</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477179414</link>
         <description><![CDATA[<pre>print "Enter a number"

number = gets.to_i
unless number &gt; 10  
puts "number is less than 10."
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:08:05 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477179414</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477180246</link>
         <description><![CDATA[<pre>data = [3, 6, 9, 12]

data.each do |num|  
puts "The number is: #{num}"
end</pre><div><br></div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:10:50 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477180246</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477180832</link>
         <description><![CDATA[<pre>for i in 1..10  
next if i % 2 == 0  
puts i
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:12:22 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477180832</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477181145</link>
         <description><![CDATA[<pre>i = 1

while i &lt;= 3 do  
puts "Message number #{i}"  
i = i + 1
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:13:26 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477181145</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477182396</link>
         <description><![CDATA[<pre># Inclusive
(3..5).each do |i|  
puts i
end# Output:
# 3
# 4
# 5

# Exclusive
(3...5).each do |i|  
puts i
end
# Output
# 3
# 4</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:16:44 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477182396</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477183053</link>
         <description><![CDATA[<pre>num = 1

loop do  
puts "We are in the loop!"  
num += 1  
break if num &gt; 3
end
puts "We have exited the loop!"</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:19:06 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477183053</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477183590</link>
         <description><![CDATA[<pre>i = 1

until i == 4 do  
puts "Message number #{i}"  
i = i + 1
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:20:23 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477183590</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477184670</link>
         <description><![CDATA[<pre>for i in 1..3 do  
puts "Message number #{i}"
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:23:42 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477184670</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477189028</link>
         <description><![CDATA[<pre>salary = {  "starting" =&gt; 40000}
<br>salary["mid-level"] = 60000</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:37:16 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477189028</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477189437</link>
         <description><![CDATA[<pre>multi_array = [[0,1,2,3],[4.5, true, "hi"]]

# Accessing the array at index 1
puts multi_array[1] # =&gt; [4.5, true, "hi"]

# Accessing the element at index 0 within the array at index 1
puts multi_array[1][0] # =&gt; 4.5</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:38:37 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477189437</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477192595</link>
         <description><![CDATA[<pre>puts "Keanu" &lt;=&gt; "Adrianna" 
# The first letters of each word are compared in ASCII order and since "K" comes after "A", 1 is printed.

puts 1 &lt;=&gt; 2 # -1

puts 3 &lt;=&gt; 3 # 0

#&lt;=&gt; can also be used inside of a block and to sort values in descending order:
my_array = [3, 0, 8, 7, 1, 6, 5, 9,4]
my_array.sort! { |first_num, second_num| second_num &lt;=&gt; first_num }
print my_array
#Output =&gt; [9, 8, 7, 6, 5, 4, 3, 1, 0]</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:49:51 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477192595</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477193777</link>
         <description><![CDATA[<pre>def extra_curriculars(*clubs)  
clubs.each { |club| puts "After school, I'm involved with #{club}" }
end

extra_curriculars("chess club", "gymnastics", "anime club", "library services")
<br></pre><div><br></div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:54:02 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477193777</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477194995</link>
         <description><![CDATA[<pre>my_bologna = {  
:first_name =&gt; "Oscar",  
:second_name =&gt; "Meyer",  
:slices =&gt; 12}
<br>puts my_bologna[:second_name] # =&gt; Meyer</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:57:38 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477194995</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477195511</link>
         <description><![CDATA[<pre>olympic_trials = {  Sally: 9.58,  John: 9.69,  Bob: 14.91}
<br>olympic_trials.select { |name, time| time &lt;  10.05 }</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 08:59:28 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477195511</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477195924</link>
         <description><![CDATA[<div><br></div><pre><pre>eren_jaeger = {  
age: 15,  
enemy: "titans",  
branch: "Survey Corps"
}
eren_jaeger.each_key { |key| puts key }
eren_jaeger.each_value { |value| puts value }</pre></pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:00:46 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477195924</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477196901</link>
         <description><![CDATA[<pre>tv_show = "Bob's Burgers"
<br>case tv_show  when "Archer"    
puts "I don't like the voice of Archer."  
when "Bob's Burgers"    
puts "I love the voice of Bob Belcher."  
else    
puts "I don't know who voices this cartoon."
<br>end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:03:52 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477196901</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477198400</link>
         <description><![CDATA[<pre>puts "A".respond_to?(:push)
# =&gt; false
puts "A".respond_to?(:next)
# =&gt; true</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:09:18 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477198400</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477201977</link>
         <description><![CDATA[<pre>a = true
<br>b = false
<br>c = true
<br>puts a || b
<br>#Output =&gt; true
<br>puts b || a
<br>#Output =&gt; true
<br>puts a &amp;&amp; c
<br>#Output =&gt; true 
<br>puts a &amp;&amp; b
<br>#Output =&gt; false</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:20:26 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477201977</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477202134</link>
         <description><![CDATA[<pre>a = true
b = false
c = true

puts a || b
#Output =&gt; true
puts b || a
#Output =&gt; true
puts a &amp;&amp; c
#Output =&gt; true 
puts a &amp;&amp; b
#Output =&gt; false</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:20:42 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477202134</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477202511</link>
         <description><![CDATA[<pre><br>"B".upto("F") { |letter| print letter, " " }# =&gt; B C D E F<br><br>5.downto(0) { |num| print num, " " }# =&gt; 5 4 3 2 1 0</pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:22:02 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477202511</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477203333</link>
         <description><![CDATA[<pre>boyfriend = nil #OR FALSE
<br>boyfriend ||= "Jimmy Jr."
<br>boyfriend ||= "Josh"
<br>puts boyfriend# =&gt; "Jimmy Jr."</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:23:45 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477203333</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477204716</link>
         <description><![CDATA[<pre><br>array = [1, 2, 3]array &lt;&lt; 4print array#Output =&gt; [1, 2, 3, 4]<br><br>puts "Hello," &lt;&lt; " welcome to Codecademy."#Output =&gt; Hello, welcome to Codecademy.</pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:24:43 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477204716</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477205527</link>
         <description><![CDATA[<pre>puts "This number is even!" if num % 2 == 0</pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:26:21 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477205527</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477206309</link>
         <description><![CDATA[<pre><br>proc_test = Proc.new { puts "I am the proc method!" }lambda_test = lambda { puts "I am the lambda method!"}<br><br>proc_test.call # =&gt; I am the proc method!lambda_test.call # =&gt; I am the lambda method!</pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:29:01 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477206309</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477207693</link>
         <description><![CDATA[<pre>def proc_demo_method  
proc_demo = Proc.new { return "Only I print!" }  
proc_demo.call  "But what about me?" 
# Never reachedend
<br>puts proc_demo_method 
<br># Output # Only I print!</pre><div><br></div><pre>def lambda_demo_method  
lambda_demo = lambda { return "Will I print?" }  lambda_demo.call  "Sorry - it's me that's printed."
<br>end
<br>puts lambda_demo_method
<br># Output
<br># Sorry - it's me that's printed.</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:32:49 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477207693</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477207774</link>
         <description><![CDATA[<pre>def proc_demo_method  
proc_demo = Proc.new { return "Only I print!" }  
proc_demo.call  "But what about me?" 
# Never reachedend

puts proc_demo_method 
# Output # Only I print!</pre><div><br></div><pre>def lambda_demo_method  
lambda_demo = lambda { return "Will I print?" }  lambda_demo.call  "Sorry - it's me that's printed."
end

puts lambda_demo_method
# Output
# Sorry - it's me that's printed.</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:33:05 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477207774</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477208120</link>
         <description><![CDATA[<pre>first_arr = [3, 4, 5]
second_arr = first_arr.collect { |num| num * 5 }

print second_arr 
#Output =&gt; [15, 20, 25]</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:33:52 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477208120</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477208402</link>
         <description><![CDATA[<pre>def yield_test  
puts "I'm inside the method."  
yield
puts "I'm also inside the method."end

yield_test { puts "&gt;&gt;&gt; I'm butting into the method!" }
#Output
# I'm inside the method.
# &gt;&gt;&gt; I'm butting into the method.
# I'm also inside the method.</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:34:30 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477208402</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477209779</link>
         <description><![CDATA[<pre>square = Proc.new { |x| x ** 2 }

puts [2, 4, 6].collect!(&amp;square)
# =&gt; [4, 16, 36]</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:38:25 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477209779</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477213455</link>
         <description><![CDATA[<pre>class Trip  
def initialize(duration, price)    
@duration = duration    
@price = price  endend<br></pre><div><br></div><pre>class Cruise &lt; Trip  
def initialize(duration, price)    
super  
end
<br>end
<br>spain_backpacking = Trip.new(14, 800.00)carnival = Cruise.new(7, 2400.00)</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:47:26 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477213455</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477213592</link>
         <description><![CDATA[<pre>class Trip  
def initialize(duration, price)    
@duration = duration    
@price = price  endend</pre><div><br></div><pre>class Cruise &lt; Trip  
   def initialize(duration, price)    
   super  
   end
end

spain_backpacking = Trip.new(14, 800.00)carnival = Cruise.new(7, 2400.00)</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:47:48 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477213592</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477216061</link>
         <description><![CDATA[<pre>puts Math::PI# =&gt; 3.141592653589793</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:54:31 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477216061</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477218478</link>
         <description><![CDATA[<pre>require 'date'
<br>puts Date.today# =&gt; 2020-04-16</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 09:56:33 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477218478</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477220663</link>
         <description><![CDATA[<pre>module MyPizza  
FAVE_TOPPING = "Buffalo Chicken"
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:00:44 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477220663</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477228088</link>
         <description><![CDATA[<div>https://www.codecademy.com/learn/learn-ruby/modules/learn-ruby-introduction-to-ruby-u/cheatsheet</div>]]></description>
         <enclosure url="https://www.codecademy.com/learn/learn-ruby/modules/learn-ruby-introduction-to-ruby-u/cheatsheet" />
         <pubDate>2023-02-11 10:19:19 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477228088</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477239496</link>
         <description><![CDATA[<pre>aFile = File.new("filename", "mode")
   # ... process the file
aFile.close</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:51:11 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477239496</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477239563</link>
         <description><![CDATA[<pre>File.open("filename", "mode") do |aFile|
   # ... process the file
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:51:25 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477239563</guid>
      </item>
      <item>
         <title>sysread</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477240089</link>
         <description><![CDATA[<pre>aFile = File.new("input.txt", "r")
if aFile
   content = aFile.sysread(20)
   puts content
else
   puts "Unable to open file!"
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:52:54 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477240089</guid>
      </item>
      <item>
         <title>syswrite</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477240217</link>
         <description><![CDATA[<pre>aFile = File.new("input.txt", "r+")
if aFile
   aFile.syswrite("ABCDEF")
else
   puts "Unable to open file!"
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:53:16 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477240217</guid>
      </item>
      <item>
         <title>each_byte</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477240628</link>
         <description><![CDATA[<pre>aFile = File.new("input.txt", "r+")
if aFile
   aFile.syswrite("ABCDEF")
   aFile.each_byte {|ch| putc ch; putc ?. }
else
   puts "Unable to open file!"
end</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:54:37 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477240628</guid>
      </item>
      <item>
         <title>IO.readlines</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241112</link>
         <description><![CDATA[<pre>arr = IO.readlines("input.txt")
puts arr[0]
puts arr[1]</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:56:02 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241112</guid>
      </item>
      <item>
         <title>IO.foreach</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241247</link>
         <description><![CDATA[<pre>IO.foreach("input.txt"){|block| puts block}</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:56:26 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241247</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241353</link>
         <description><![CDATA[<pre># Rename a file from test1.txt to test2.txt
File.rename( "test1.txt", "test2.txt" )</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:56:50 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241353</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241460</link>
         <description><![CDATA[<pre># Delete file test2.txt
File.delete("test2.txt")</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:57:12 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241460</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241703</link>
         <description><![CDATA[<pre>file = File.new( "test.txt", "w" )
file.chmod( 0755 )</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:58:02 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241703</guid>
      </item>
      <item>
         <title>File Inquiries</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241793</link>
         <description><![CDATA[<pre>File.open("file.rb") if File::exists?( "file.rb" )</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:58:24 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477241793</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242039</link>
         <description><![CDATA[<pre># This returns either true or false
File.file?( "text.txt" ) </pre><div><br></div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:59:06 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242039</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242125</link>
         <description><![CDATA[<pre># a directory
File::directory?( "/usr/local/bin" ) # =&gt; true

# a file
File::directory?( "file.rb" ) # =&gt; false</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:59:21 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242125</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242343</link>
         <description><![CDATA[<pre>File.readable?( "test.txt" )   # =&gt; true
File.writable?( "test.txt" )   # =&gt; true
File.executable?( "test.txt" ) # =&gt; false</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 10:59:59 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242343</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242452</link>
         <description><![CDATA[<pre>File.zero?( "test.txt" )      # =&gt; true</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 11:00:19 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242452</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242637</link>
         <description><![CDATA[<pre>File.size?( "text.txt" )     # =&gt; 1002</pre><div><br></div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 11:00:38 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242637</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242707</link>
         <description><![CDATA[<pre>File::ftype( "test.txt" )     # =&gt; file</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 11:00:53 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477242707</guid>
      </item>
      <item>
         <title>created, modified, or last accessed −</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477243021</link>
         <description><![CDATA[<pre>File::ctime( "test.txt" ) # =&gt; Fri May 09 10:06:37 -0700 2008
File::mtime( "text.txt" ) # =&gt; Fri May 09 10:44:44 -0700 2008
File::atime( "text.txt" ) # =&gt; Fri May 09 10:45:01 -0700 2008</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 11:01:59 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477243021</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477243563</link>
         <description><![CDATA[<pre>Navigating Through Directories
Dir.chdir("/usr/bin")</pre><div><br></div><pre>puts Dir.pwd # This will return something like /usr/bin</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 11:03:42 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477243563</guid>
      </item>
      <item>
         <title>list of the files and directories </title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477243713</link>
         <description><![CDATA[<pre>puts Dir.entries("/usr/bin").join(' ')</pre><div><br><br></div><pre>Dir.foreach("/usr/bin") do |entry|
   puts entry
end</pre><div><br><br></div><pre>Dir["/usr/bin/*"]</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 11:04:06 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477243713</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477244414</link>
         <description><![CDATA[<pre>Dir.mkdir("mynewdir")</pre><div><br></div><pre>Dir.mkdir( "mynewdir", 755 )</pre><div><br></div><pre>Dir.delete("testdir")</pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 11:06:07 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477244414</guid>
      </item>
      <item>
         <title>Creating Files &amp; Temporary Directories</title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477244475</link>
         <description><![CDATA[<pre>require 'tmpdir'
   tempfilename = File.join(Dir.tmpdir, "tingtong")
   tempfile = File.new(tempfilename, "w")
   tempfile.puts "This is a temporary file"
   tempfile.close
   File.delete(tempfilename)</pre><div><br><br></div><pre>require 'tempfile'
   f = Tempfile.new('tingtong')
   f.puts "Hello"
   puts f.path
   f.close</pre>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-11 11:06:17 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477244475</guid>
      </item>
      <item>
         <title></title>
         <author>longmentor</author>
         <link>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477244949</link>
         <description><![CDATA[<div>https://www.tutorialspoint.com/ruby/ruby_exceptions.htm</div>]]></description>
         <enclosure url="https://www.tutorialspoint.com/ruby/ruby_exceptions.htm" />
         <pubDate>2023-02-11 11:07:47 UTC</pubDate>
         <guid>https://padlet.com/longmentor/41b61m4irbtbofx9/wish/2477244949</guid>
      </item>
   </channel>
</rss>
