lib/nanoc/base/context.rb in nanoc-4.3.7 vs lib/nanoc/base/context.rb in nanoc-4.3.8

- old
+ new

@@ -38,7 +38,12 @@ # # @return [Binding] A binding for this instance def get_binding binding end + + def include(mod) + metaclass = class << self; self; end + metaclass.instance_eval { include(mod) } + end end end