puppet-strings/lib/puppetx/yardoc/yard/handlers/host_class_handler.rb

12 lines
244 B
Ruby

require_relative 'base'
module Puppetx::Yardoc::YARD::Handlers
class HostClassHandler < Base
handles HostClassDefinition
process do
register YARD::CodeObjects::ClassObject.new(:root, statement.pops_obj.name)
end
end
end