Sha256: 6cc1603d4731587581bba5af396725979cf80336a90fefb47d498b3530e844d0

Contents?: true

Size: 513 Bytes

Versions: 14

Compression:

Stored size: 513 Bytes

Contents

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

        def initialize(options = {})
          @extensible = options[:extensible]
          @items = options.fetch(:items, [])
          @extension_type = options[:extension_type]
          @extension_items = options.fetch(:extension_items, [])
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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