Sha256: 2c557c4b38aef4e8fc8c718f72be0794da131ed979031a64495efd92f8ec2833

Contents?: true

Size: 400 Bytes

Versions: 21

Compression:

Stored size: 400 Bytes

Contents

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

      model_attr_accessor :kind
      model_attr_accessor :schema
      model_attr_accessor :items

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

        super
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

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