Module: Xmi::Sparx::SparxExtensionAttributes
- Included in:
- SparxExtension
- 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
812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 |
# File 'lib/xmi/sparx.rb', line 812 def self.included(klass) # rubocop:disable Metrics/MethodLength klass.class_eval do attribute :id, :string attribute :label, :string attribute :uuid, :string attribute :href, :string attribute :idref, :string attribute :type, :string attribute :extender, :string attribute :extender_id, :string attribute :elements, SparxElements attribute :connectors, SparxConnectors attribute :primitive_types, SparxPrimitiveTypes attribute :diagrams, SparxDiagrams attribute :ea_stub, SparxEAStub, collection: true end end |