Sha256: 34215f91cd6c970134d84ab6762843284432836f774e33041a1101d9d12d99cb

Contents?: true

Size: 184 Bytes

Versions: 9

Compression:

Stored size: 184 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

9 entries across 9 versions & 1 rubygems

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