Class: Wx::XmlSubclassFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/xml_resource.rb

Overview

Abstract base class for XRC subclass factories. Derived classes must override the #create method (base implementation returns nil).

Instance Method Summary collapse

Instance Method Details

#create(subclass) ⇒ Wx::Object

Factory method to create an object of the specified subclass.

Parameters:

  • subclass (String)

    subclass name

Returns:



23
# File 'lib/wx/doc/xml_resource.rb', line 23

def create(subclass) end