Sha256: bc8c5416d552d74beb22ca2a704ab727f1e0024365d89fa1f9e9740f94b1dde8
Contents?: true
Size: 692 Bytes
Versions: 1
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true require_relative "dimension_symbol" # NISTd1: # length: # powerNumerator: 1 # symbol: L # dim_symbols: # - id: "dim_L" # ascii: "L" # html: "𝖫" # mathml: "<mi mathvariant='sans-serif'>L</mi>" # latex: \ensuremath{\mathsf{L}} # unicode: "𝖫" module Unitsdb class DimensionQuantity < Lutaml::Model::Serializable attribute :power_numerator, :integer attribute :symbol, :string attribute :dim_symbols, DimensionSymbol, collection: true key_value do map :powerNumerator, to: :power_numerator map :symbol, to: :symbol map :dim_symbols, to: :dim_symbols end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unitsdb-0.1.1 | lib/unitsdb/dimension_quantity.rb |