Sha256: 14e57e8445a85b49bd76bd2666a413bba913804e6074aaec14a228df872a4177

Contents?: true

Size: 578 Bytes

Versions: 4

Compression:

Stored size: 578 Bytes

Contents

# -*- encoding: utf-8 -*-
# -*- frozen_string_literal: true -*-
# -*- warn_indent: true -*-

UnitMeasurements::Capacitance = UnitMeasurements.build do
  system :metric do
    primitive :F

    si_unit :F, aliases: [:farad, :farads]
    unit :"C/V", value: "1 F", aliases: [:"C·V⁻¹", :"coulomb/volt", :"coulombs/volt", :"coulomb per volt", :"coulombs per volt"]
  end

  system :centimetre_gram_second do
    primitive :statF

    unit :abF, value: "1e+9 F", aliases: [:abfarad, :abfarads]
    unit :statF, value: "1.1127e-12 F", aliases: [:statfarad, :statfarads]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
unit_measurements-3.8.0 lib/unit_measurements/unit_groups/capacitance.rb
unit_measurements-3.7.0 lib/unit_measurements/unit_groups/capacitance.rb
unit_measurements-3.6.0 lib/unit_measurements/unit_groups/capacitance.rb
unit_measurements-3.5.0 lib/unit_measurements/unit_groups/capacitance.rb