Sha256: 9b6ce6ca1c7b70da7d3ef23f6aad70f219a2fd4048027f8ff3612f62f755d6dc

Contents?: true

Size: 425 Bytes

Versions: 15

Compression:

Stored size: 425 Bytes

Contents

# encoding: utf-8

module Axiom
  module Types

    # Represents an array type
    class Array < Collection
      primitive       ::Array
      coercion_method :to_array

      # Test if the type is a base type
      #
      # @return [Boolean]
      #
      # @api private
      def self.base?
        equal?(Array)
      end

      private_class_method :base?

    end # class Array
  end # module Types
end # module Axiom

Version data entries

15 entries across 13 versions & 4 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/axiom-types-0.1.1/lib/axiom/types/array.rb
axiom-types-0.1.1 lib/axiom/types/array.rb
axiom-types-0.1.0 lib/axiom/types/array.rb
axiom-types-0.0.5 lib/axiom/types/array.rb
axiom-types-0.0.4 lib/axiom/types/array.rb
axiom-types-0.0.3 lib/axiom/types/array.rb
axiom-types-0.0.2 lib/axiom/types/array.rb