Sha256: e299a6c00ad9228a6ae5a790c9e4ae5e15d79a705069a1da51222c265bc2d75a

Contents?: true

Size: 244 Bytes

Versions: 6

Compression:

Stored size: 244 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(:Module) do |type|
  type.define_checker do |value|
    value.is_a?(::Module)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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