Sha256: 406e7bfbeebbff821749961e96309bee9e06a0e9a22a659d98014cf8fc4174e0

Contents?: true

Size: 382 Bytes

Versions: 63

Compression:

Stored size: 382 Bytes

Contents

module Expressir
  module Model
    class Interface < ModelElement
      USE = :USE
      REFERENCE = :REFERENCE

      attr_accessor :kind
      attr_accessor :schema
      attr_accessor :items

      def initialize(options = {})
        @kind = options[:kind]
        @schema = options[:schema]
        @items = options.fetch(:items, [])

        super
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

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