module Asciidoctor::Helpers
def resolve_class object
Returns a Class if the specified object is a Class (but not a Module) or
object - The Object to resolve as a Class
Internal: Resolve the specified object as a Class
def resolve_class object ::Class === object ? object : (::String === object ? (class_for_name object) : nil) end