Commit 38411ca
[ruby/resolv] Fix centimeters representation in
`Size` smaller than 1m was represented as rational.
```ruby
Resolv::LOC::Size.create("0.01m").to_s #=> "1/100m"
```
Fix to represent in the proper form for `create`.
ruby/resolv@2ff9e0585dResolv::LOC::Size#to_s
1 parent b59ae16 commit 38411ca
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3305 | 3305 | | |
3306 | 3306 | | |
3307 | 3307 | | |
3308 | | - | |
3309 | | - | |
| 3308 | + | |
| 3309 | + | |
3310 | 3310 | | |
3311 | 3311 | | |
3312 | 3312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments