I could not find any documentation on this issue, so I decided for the following work:
Here is my assistant
module PageHelpers def thing "THING!" end end
Call a helper method on an instance of the class that includes it:
$ bundle exec middleman console irb...> (class Thing; include PageHelpers; end).new.thing => "THING!"
Andy stabler
source share