Class: Enterprisifier::Marshalling::XSD::Schema::SimpleType

Inherits:
Object
  • Object
show all
Includes:
SchemaComposition
Defined in:
lib/enterprisifier/marshalling/xsd/schema/simple_type.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SchemaComposition

included

Constructor Details

#initialize(name = nil) ⇒ SimpleType

Returns a new instance of SimpleType.



14
15
16
17
# File 'lib/enterprisifier/marshalling/xsd/schema/simple_type.rb', line 14

def initialize(name = nil)
  super
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



12
13
14
# File 'lib/enterprisifier/marshalling/xsd/schema/simple_type.rb', line 12

def name
  @name
end