Sha256: 37672cf365ee69f60b893ad6b31e3f17de179ed3506c60703ce2e684d5b8fedb

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 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)

    [ :yuml ]
  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.

    [
            [ 'com.xampl.intro.example3', 'Example3', 'ex3']
    ]
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
xamplr-1.3.15 docs/intro/example4/project-generator.rb
xamplr-1.3.15 docs/intro/example3/project-generator.rb