Sha256: 3df3a44aa4cbb0f409763f98597972c025f3e082d9c9f17292e9d3cc5f9d8756

Contents?: true

Size: 182 Bytes

Versions: 9

Compression:

Stored size: 182 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
smart_types-0.2.0 lib/smart_core/types/value/class.rb
smart_types-0.1.0 lib/smart_core/types/value/class.rb
smart_types-0.1.0.alpha6 lib/smart_core/types/value/class.rb
smart_types-0.1.0.alpha5 lib/smart_core/types/value/class.rb
smart_types-0.1.0.alpha4 lib/smart_core/types/value/class.rb
smart_types-0.1.0.alpha3 lib/smart_core/types/value/class.rb
smart_types-0.1.0.alpha2 lib/smart_core/types/value/class.rb
smart_types-0.1.0.alpha lib/smart_core/types/value/class.rb
smart_types-0.0.0 lib/smart_core/types/value/class.rb