Sha256: b8e2262309871da189299586d5aa95692d130c81bdfd624ba15313226e9de826

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

require_relative "symbol"

# - id: "dim_L"
#   ascii: "L"
#   html: "𝖫"
#   mathml: "<mi mathvariant='sans-serif'>L</mi>"
#   latex: \ensuremath{\mathsf{L}}
#   unicode: "𝖫"

module Unitsdb
  class DimensionSymbol < Symbol
    attribute :id, :string
    attribute :mathml, :string

    key_value do
      map :id, to: :id
      map :mathml, to: :mathml
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unitsdb-0.1.1 lib/unitsdb/dimension_symbol.rb