Class: Enterprisifier::Schema::Elements::AttributeElement
- Inherits:
-
BaseElement
- Object
- BaseElement
- Enterprisifier::Schema::Elements::AttributeElement
- Defined in:
- lib/enterprisifier/schema/elements/attribute.rb
Instance Attribute Summary
Attributes inherited from BaseElement
#attributes, #children, #default_namespace, #namespaces, #parent, #text
Instance Method Summary collapse
Methods inherited from BaseElement
#add_child, #add_text, #annotation, #base, #documentation, #each_child, #has_child?, #has_children?, #initialize, map_attribute, #name, #read_attribute, #ref, register, #registered_as, #root, #rootable?, #update
Constructor Details
This class inherits a constructor from Enterprisifier::Schema::BaseElement
Instance Method Details
#value_type ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/enterprisifier/schema/elements/attribute.rb', line 10 def value_type return @value_type if defined?(@value_type) if type_val = read_attribute("type") @value_type = namespaced_name(type_val) else @value_type = nil end end |