Sha256: 200adbaf008dfd59a5cec2fa49e8a884be2f359f9cfb20966f151b2076bdd889

Contents?: true

Size: 779 Bytes

Versions: 171

Compression:

Stored size: 779 Bytes

Contents

module Expressir
  module Model
    module Declarations
      # Specified in ISO 10303-11:2004
      # - section 11 Interface specification
      class Interface < Declaration
        USE = :USE
        REFERENCE = :REFERENCE

        model_attr_accessor :kind, ':USE, :REFERENCE'
        model_attr_accessor :schema, 'Reference'
        model_attr_accessor :items, 'Array<InterfaceItem>'

        # @param [Hash] options
        # @option options [:USE, :REFERENCE] :kind
        # @option options [Reference] :schema
        # @option options [Array<InterfaceItem>] :items
        def initialize(options = {})
          @kind = options[:kind]
          @schema = options[:schema]
          @items = options[:items] || []

          super
        end
      end
    end
  end
end

Version data entries

171 entries across 171 versions & 1 rubygems

Version Path
expressir-1.2.0-x86-mingw32 lib/expressir/model/declarations/interface.rb
expressir-1.2.0-x86-linux lib/expressir/model/declarations/interface.rb
expressir-1.2.0-x64-mingw32 lib/expressir/model/declarations/interface.rb
expressir-1.2.0-arm64-darwin lib/expressir/model/declarations/interface.rb
expressir-1.1.0 lib/expressir/model/declarations/interface.rb
expressir-1.1.0-x86_64-linux lib/expressir/model/declarations/interface.rb
expressir-1.1.0-x86_64-darwin lib/expressir/model/declarations/interface.rb
expressir-1.1.0-x86-mingw32 lib/expressir/model/declarations/interface.rb
expressir-1.1.0-x86-linux lib/expressir/model/declarations/interface.rb
expressir-1.1.0-x64-mingw32 lib/expressir/model/declarations/interface.rb
expressir-1.1.0-arm64-darwin lib/expressir/model/declarations/interface.rb