Package screenlets :: Package plugins :: Module LengthConverter :: Class LengthConverter

[hide private]
[frames] | no frames]

# Class LengthConverter

source code

     Convert.Converter --+
                         |
    Convert.RatioConverter --+
                             |
                            LengthConverter

A converter which converts lengths between centimeters and inches.

Version: 0.2

Author: Vasek Potocek

Instance Methods | [hide private]

Inherited from `Convert.RatioConverter`: `convert`, `filter_key` Inherited from `Convert.Converter`: `__init__`, `neaten_input`, `on_key_press`, `str`

Class Variables | [hide private]

| __name__ = ``'``LengthConverter``'``
| __title__ = ``'``cm / inches``'``
| num_fields = `2`
| field_names = ``[``'``cm``'``,` `'``in``'``]``
| weights = ``[`1`,` 2.54`]``
Inherited from `Convert.Converter`: `active_field`, `replace`, `values`