Module: Xmi::Sparx::SparxExtensionAttributes
- Included in:
- SparxExtension, SparxExtension2013
- Defined in:
- lib/xmi/sparx.rb
Class Method Summary collapse
-
.included(klass) ⇒ Object
rubocop:disable Metrics/MethodLength.
Class Method Details
.included(klass) ⇒ Object
rubocop:disable Metrics/MethodLength
775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 |
# File 'lib/xmi/sparx.rb', line 775 def self.included(klass) # rubocop:disable Metrics/MethodLength klass.class_eval do attribute :id, Shale::Type::String attribute :label, Shale::Type::String attribute :uuid, Shale::Type::String attribute :href, Shale::Type::String attribute :idref, Shale::Type::String attribute :type, Shale::Type::String attribute :extender, Shale::Type::String attribute :extender_id, Shale::Type::String attribute :elements, SparxElements attribute :connectors, SparxConnectors attribute :primitive_types, SparxPrimitiveTypes attribute :diagrams, SparxDiagrams end end |