Sha256: eb960866cc580cd924c8d2c575b2a7566321792e464c754b62c58e16f72a1bcd

Contents?: true

Size: 546 Bytes

Versions: 7

Compression:

Stored size: 546 Bytes

Contents

module Expressir
  module Model
    module Types
      class Enumeration < ModelElement
        model_attr_accessor :extensible
        model_attr_accessor :items
        model_attr_accessor :extension_type
        model_attr_accessor :extension_items

        def initialize(options = {})
          @extensible = options[:extensible]
          @items = options[:items] || []
          @extension_type = options[:extension_type]
          @extension_items = options[:extension_items] || []

          super
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
expressir-0.2.27 lib/expressir/model/types/enumeration.rb
expressir-0.2.27-x86_64-linux lib/expressir/model/types/enumeration.rb
expressir-0.2.27-x86_64-darwin lib/expressir/model/types/enumeration.rb
expressir-0.2.27-x86-mingw32 lib/expressir/model/types/enumeration.rb
expressir-0.2.27-x86-linux lib/expressir/model/types/enumeration.rb
expressir-0.2.27-x64-mingw32 lib/expressir/model/types/enumeration.rb
expressir-0.2.27-arm64-darwin lib/expressir/model/types/enumeration.rb