title: Get week day name in Ruby
body: <p>How can I get the name of the day in Ruby?</p>
  <p>For eg. something like that:</p>
  <pre class="lang-ruby prettyprint-override"><code>a = Date.today
  a.day_name
  # =&gt; Tuesday
  </code></pre>
  <p>the only thing I could find was <code>.wday</code> but that only returns for the number of the day in the week</p>
  <pre class="lang-ruby prettyprint-override"><code>a.wday
  # =&gt; 2
  </code></pre>