Class: Enterprisifier::Marshalling::XSD::Schema::Restriction

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SchemaComposition

included

Constructor Details

#initialize(base) ⇒ Restriction

Returns a new instance of Restriction.



20
21
22
23
# File 'lib/enterprisifier/marshalling/xsd/schema/restriction.rb', line 20

def initialize(base)
  super
  @base = base
end

Instance Attribute Details

#baseObject (readonly)

Returns the value of attribute base.



18
19
20
# File 'lib/enterprisifier/marshalling/xsd/schema/restriction.rb', line 18

def base
  @base
end