Sha256: ce0569b06bc0fad0d9a918b3b5be1a25dc58e551461d5feb335c04474d2f735b
Contents?: true
Size: 348 Bytes
Versions: 4
Compression:
Stored size: 348 Bytes
Contents
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) Dimensions = Types::Strict::Array.of(Length) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
physical-0.4.3 | lib/physical/types.rb |
physical-0.4.2 | lib/physical/types.rb |
physical-0.4.1 | lib/physical/types.rb |
physical-0.4.0 | lib/physical/types.rb |