Sha256: a5a3bd903dcb1032b96a11e17138fae49b8a217f6de6bc4e6dcefe973eab7541
Contents?: true
Size: 415 Bytes
Versions: 6
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true require 'measured' require 'dry-types' module Physical module Types include Dry.Types Weight = Types.Instance(::Measured::Weight) Length = Types.Instance(::Measured::Length) Volume = Types.Instance(::Measured::Volume) Density = Types.Instance(::Measured::Density) Money = Types.Instance(::Money) Dimensions = Types::Strict::Array.of(Length) end end
Version data entries
6 entries across 6 versions & 1 rubygems