Commit 1093f33
committed
feat: add Measured::Temperature unit type
Add Temperature as an opt-in unit type with Celsius, Kelvin, and
Fahrenheit. Not included in the default require - users opt in with:
gem 'measured', require: ['measured', 'measured/temperature']
Or manually: require 'measured/temperature'1 parent 3a53018 commit 1093f33
3 files changed
Lines changed: 19 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 4 | + | |
18 | 5 | | |
19 | 6 | | |
20 | 7 | | |
| |||
84 | 71 | | |
85 | 72 | | |
86 | 73 | | |
87 | | - | |
| 74 | + | |
88 | 75 | | |
89 | 76 | | |
90 | 77 | | |
| |||
0 commit comments