Class: Enterprisifier::Schema::Elements::IncludeElement
- Inherits:
-
BaseElement
- Object
- BaseElement
- Enterprisifier::Schema::Elements::IncludeElement
- Defined in:
- lib/enterprisifier/schema/elements/include.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
#full_schema_location ⇒ Object
11 12 13 |
# File 'lib/enterprisifier/schema/elements/include.rb', line 11 def full_schema_location @full_schema_location ||= root.path.parent + schema_location end |
#merge_schemas ⇒ Object
15 16 17 |
# File 'lib/enterprisifier/schema/elements/include.rb', line 15 def merge_schemas root.merge_schemas(included_schema) end |