Sha256: b1be1a1ec5342760ad9fe8faebe5d8ffffa2a9d85847fe60f1f0e945b4725562

Contents?: true

Size: 242 Bytes

Versions: 6

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

using SmartCore::Ext::BasicObjectAsObject

# @api public
# @since 0.1.0
# @version 0.3.0
SmartCore::Types::Value.define_type(:Class) do |type|
  type.define_checker do |value|
    value.is_a?(::Class)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
smart_types-0.8.0 lib/smart_core/types/value/class.rb
smart_types-0.7.1 lib/smart_core/types/value/class.rb
smart_types-0.7.0 lib/smart_core/types/value/class.rb
smart_types-0.6.0 lib/smart_core/types/value/class.rb
smart_types-0.4.0 lib/smart_core/types/value/class.rb
smart_types-0.3.0 lib/smart_core/types/value/class.rb