Sha256: 5db816328a7ce3745e37f7241de23beeba994f37db0a6561a634dc39a1195237

Contents?: true

Size: 213 Bytes

Versions: 14

Compression:

Stored size: 213 Bytes

Contents

# frozen_string_literal: true

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

  type.define_caster do |value|
    value
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
smart_types-0.8.0 lib/smart_core/types/value/any.rb
smart_types-0.7.1 lib/smart_core/types/value/any.rb
smart_types-0.7.0 lib/smart_core/types/value/any.rb
smart_types-0.6.0 lib/smart_core/types/value/any.rb
smart_types-0.4.0 lib/smart_core/types/value/any.rb
smart_types-0.3.0 lib/smart_core/types/value/any.rb
smart_types-0.2.0 lib/smart_core/types/value/any.rb
smart_types-0.1.0 lib/smart_core/types/value/any.rb
smart_types-0.1.0.alpha6 lib/smart_core/types/value/any.rb
smart_types-0.1.0.alpha5 lib/smart_core/types/value/any.rb
smart_types-0.1.0.alpha4 lib/smart_core/types/value/any.rb
smart_types-0.1.0.alpha3 lib/smart_core/types/value/any.rb
smart_types-0.1.0.alpha2 lib/smart_core/types/value/any.rb
smart_types-0.1.0.alpha lib/smart_core/types/value/any.rb