Sha256: 809d58b189561344aaf175a44dcd0aee87566eb683a45e07c13df5f7e91e6d9a

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

# @api public
# @since 0.1.0
SmartCore::Types::Value::Text = SmartCore::Types::System.type_sum(
  SmartCore::Types::Value::String,
  SmartCore::Types::Value::Symbol
) { |type| type.define_caster(&:to_s) }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
smart_types-0.1.0.alpha5 lib/smart_core/types/value/text.rb
smart_types-0.1.0.alpha4 lib/smart_core/types/value/text.rb
smart_types-0.1.0.alpha3 lib/smart_core/types/value/text.rb
smart_types-0.1.0.alpha2 lib/smart_core/types/value/text.rb
smart_types-0.1.0.alpha lib/smart_core/types/value/text.rb