Sha256: 96fc4985375e480925e9c8d8041a06d065c5d1f73919cdab1f83c8492378a6d0

Contents?: true

Size: 422 Bytes

Versions: 7

Compression:

Stored size: 422 Bytes

Contents

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

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

          super
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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