Skip to content

Commit

Permalink
On #35 Added missing metric default unit: GRM
Browse files Browse the repository at this point in the history
  • Loading branch information
lentschi committed Apr 19, 2024
1 parent 331cbe0 commit bf2633d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/article_units_lib.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class ArticleUnitsLib
DEFAULT_PIECE_UNIT_CODES = %w[PTN STC XCU XCN XSH X43 XST XOK XVA XBX XBH XBE XCX XBJ XUN XOS XDH XBA XFI XBO XBQ XFB XFT XJR XGR XOW X8B XCV XWA XEI XJT XGY XJY XBD XCR XAI XPA XBK XBI XOV XNT XPK XPC XPX X5M XPR XEC X6H X44 XBR XCW XBT XSA XBM XSX XDN XAE XSC XLU X5L XPP XPU XBG XP2 XCK XPT XGI XTU]
DEFAULT_METRIC_SCALAR_UNIT_CODES = %w[KGM HGM DJ LTR DLT CLT MLT]
DEFAULT_METRIC_SCALAR_UNIT_CODES = %w[KGM HGM DJ GRM LTR DLT CLT MLT]
DEFAULT_IMPERIAL_SCALAR_UNIT_CODES = %w[LBR ONZ GLL QTI PTI]

@un_ece_20_units = YAML.safe_load(ERB.new(File.read(File.expand_path(
Expand Down

0 comments on commit bf2633d

Please sign in to comment.