Sha256: 0d96b95430a9c251d7671e8c79a6d2a55bdc09e8b996b02c2f32d8241104a162
Contents?: true
Size: 995 Bytes
Versions: 18
Compression:
Stored size: 995 Bytes
Contents
class ProjectGenerator def print_options # return an array containing any (or none) of: # :schema -- a schema-like xml representation of the generated code # :graphml -- a graphml file describing the class model (compatible with yEd) # :yuml -- a yuml file that represents a simplified class model (compatible with yUML) [ ] end def directory # return the path name to the generator's output directory File.join(%w{ . xampl-generated-code }) end def resolve_namespaces # any array of arrays # each sub-array: # 0: a string or an array of strings, containing xml namespaces found # in the example xml files an empty string is the default namespace # 1: a ruby Module name (get the character cases right) # 2: a namespace prefix used when writing xml, optional. A generated # prefix will be used otherwise. [ ['http://xampl.com/stuff', 'simple', 'ns1'], ] end end
Version data entries
18 entries across 18 versions & 1 rubygems