Sha256: 9c965c3cecfe4de65f9b6f9672a040485860c6e7457697f2f6f36cbd25ba8384

Contents?: true

Size: 530 Bytes

Versions: 63

Compression:

Stored size: 530 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, [])

          super
        end
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

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