Sha256: 9dcf4ce0a561a86ff0a6b6e8cc643edb76de922651f2880b6ec9418c3269212c

Contents?: true

Size: 416 Bytes

Versions: 21

Compression:

Stored size: 416 Bytes

Contents

module Expressir
  module Model
    class EnumerationItem < ModelElement
      include Identifier

      def initialize(options = {})
        @id = options[:id]
        @remarks = options.fetch(:remarks, [])
        @remark_items = options.fetch(:remark_items, [])
        @source = options[:source]

        super
      end

      def children
        [
          *remark_items
        ]
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
expressir-0.2.26 lib/expressir/model/enumeration_item.rb
expressir-0.2.26-x86_64-linux lib/expressir/model/enumeration_item.rb
expressir-0.2.26-x86_64-darwin lib/expressir/model/enumeration_item.rb
expressir-0.2.26-x86-mingw32 lib/expressir/model/enumeration_item.rb
expressir-0.2.26-x86-linux lib/expressir/model/enumeration_item.rb
expressir-0.2.26-x64-mingw32 lib/expressir/model/enumeration_item.rb
expressir-0.2.26-arm64-darwin lib/expressir/model/enumeration_item.rb
expressir-0.2.25 lib/expressir/model/enumeration_item.rb
expressir-0.2.25-x86_64-linux lib/expressir/model/enumeration_item.rb
expressir-0.2.25-x86_64-darwin lib/expressir/model/enumeration_item.rb
expressir-0.2.25-x86-mingw32 lib/expressir/model/enumeration_item.rb
expressir-0.2.25-x86-linux lib/expressir/model/enumeration_item.rb
expressir-0.2.25-x64-mingw32 lib/expressir/model/enumeration_item.rb
expressir-0.2.25-arm64-darwin lib/expressir/model/enumeration_item.rb
expressir-0.2.24 lib/expressir/model/enumeration_item.rb
expressir-0.2.24-x86_64-linux lib/expressir/model/enumeration_item.rb
expressir-0.2.24-x86_64-darwin lib/expressir/model/enumeration_item.rb
expressir-0.2.24-x86-mingw32 lib/expressir/model/enumeration_item.rb
expressir-0.2.24-x86-linux lib/expressir/model/enumeration_item.rb
expressir-0.2.24-x64-mingw32 lib/expressir/model/enumeration_item.rb