Sha256: fdd6da305569886d18cad5b8f7e40d5855b2666f753414cab2d48541f2c0bf62

Contents?: true

Size: 862 Bytes

Versions: 17

Compression:

Stored size: 862 Bytes

Contents

# frozen_string_literal: true

require_relative 'base_composer'
# The EasyTalk module provides a collection of types for composing schemas.
module EasyTalk
  # The `Types` module provides a collection of classes for composing different types.
  module Types
    # Represents a composition type that allows all of the specified types.
    class AllOf < BaseComposer
      def self.name
        :allOf
      end

      def name
        :allOf
      end
    end
  end
end

module T
  # no-doc
  module AllOf
    # Creates a new instance of `EasyTalk::Types::AllOf` with the given arguments.
    #
    # @param args [Array] the list of arguments to be passed to the `EasyTalk::Types::AllOf` constructor
    # @return [EasyTalk::Types::AllOf] a new instance of `EasyTalk::Types::AllOf`
    def self.[](*args)
      EasyTalk::Types::AllOf.new(*args)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
easy_talk-1.0.3 lib/easy_talk/types/all_of.rb
easy_talk-1.0.2 lib/easy_talk/types/all_of.rb
easy_talk-1.0.1 lib/easy_talk/types/all_of.rb
easy_talk-1.0.0 lib/easy_talk/types/all_of.rb
easy_talk-0.2.1 lib/easy_talk/types/all_of.rb
easy_talk-0.2.0 lib/easy_talk/types/all_of.rb
easy_talk-0.1.10 lib/easy_talk/types/all_of.rb
easy_talk-0.1.9 lib/easy_talk/types/all_of.rb
easy_talk-0.1.8 lib/easy_talk/types/all_of.rb
easy_talk-0.1.7 lib/easy_talk/types/all_of.rb
easy_talk-0.1.6 lib/easy_talk/types/all_of.rb
easy_talk-0.1.5 lib/easy_talk/types/all_of.rb
easy_talk-0.1.4 lib/easy_talk/types/all_of.rb
easy_talk-0.1.3 lib/easy_talk/types/all_of.rb
easy_talk-0.1.2 lib/easy_talk/types/all_of.rb
easy_talk-0.1.1 lib/easy_talk/types/all_of.rb
easy_talk-0.1.0 lib/easy_talk/types/all_of.rb