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
1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 |
# File 'lib/xmi/sparx.rb', line 1012 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 |