title: How to pass objects to the class method
body: <p>I have the following class method that uses default classes if no provided:</p>
  
  <pre><code>def self.make_sandwich(bread = Bread, butter = Butter, cheese = Cheese)
    ...
  end
  </code></pre>
  
  <p>So I can call it and pass a new class of bread called MyBread</p>
  
  <pre><code>[class].make_sandwich(MyBread)
  </code></pre>
  
  <p>But how can I pass a bread and cheese without butter?
  I know I could change the order or use the attr_accessor to use the default class if no provided, but assume I cant modify that code that way</p>