Class: Laser::Cutter::UnitsConverter
- Inherits:
-
Object
- Object
- Laser::Cutter::UnitsConverter
- Defined in:
- lib/laser-cutter/configuration.rb
Class Method Summary collapse
Class Method Details
.in2mm(value) ⇒ Object
14 15 16 |
# File 'lib/laser-cutter/configuration.rb', line 14 def self.in2mm value 25.4 * value end |
.mm2in(value) ⇒ Object
11 12 13 |
# File 'lib/laser-cutter/configuration.rb', line 11 def self.mm2in value 0.039370079 * value end |