require 'puppetx/yardoc' require 'yard' require 'puppet/pops' module Puppetx::Yardoc::YARD::Handlers class Base < YARD::Handlers::Base include Puppet::Pops::Model # This allows handlers to match based on model classes. def self.handles?(statement) handlers.any? {|h| h == statement.type} end end end