Is it possible to use methods defined in refinements in Sinatra views?
<p>I have a class defined in a gem to which I am adding some methods via refinements (in Ruby 2.3.0).  This class turns up in some Sinatra views (haml).</p>

<p>When I refer to these extra methods in a helper, there is not a problem.  But in the view, I get an Undefined Method error.</p>

<p>Am I missing a trick, or is it that the <code>using ...</code> statement would need to go somewhere I just can't get to? </p>

<p>(Workaround: I can define helper methods to return the method on the object.  But if I wanted to do that then I wouldn't have used refinements...)</p>