module YARD::Handlers::Ruby::StructHandlerMethods
def create_class(classname, superclass)
-
(ClassObject)
- the class object for further processing/method attaching
Parameters:
-
superclass
(String
) -- the name of the superclass -
classname
(String
) -- the name of the class
def create_class(classname, superclass) register ClassObject.new(namespace, classname) do |o| o.superclass = superclass if superclass o.superclass.type = :class if o.superclass.is_a?(Proxy) end end