title: How to pick the next 10th of the month ruby
body: <p>I'm having a date calculation problem, which is confusing my logic.</p>
  
  <p>I have an application that accepts debit payments to a bank account, this charge must be generated at least three days before the day to be billed.</p>
  
  <p>I need to pick up the next tenth day of the month, which may be the current month or the next month, depending on the current day.</p>
  
  <p>For example, today is October 7, I need to get the next day 10, as long as starting today has an interval of three days, in this case I need to be returned October 10.</p>
  
  <p>But if today is October 8, I need to pick up the next 10, in which case I need to be returned November 10.</p>
  
  <p>What is the best solution to do this in Ruby?</p>