Class: MetaBuilder::ParameterTypes::FloatParameter
- Inherits:
-
MetaBuilder::ParameterType
- Object
- MetaBuilder::ParameterType
- MetaBuilder::ParameterTypes::FloatParameter
- Defined in:
- lib/MetaBuilder/Parameters/numbers.rb
Overview
A float
Instance Method Summary collapse
Methods inherited from MetaBuilder::ParameterType
#default_value, from_string, get_param_type, get_type, #initialize, #lookup_const, #option_parser_long_option, #option_parser_option, #option_parser_raw, #qt4_create_input_widget, #qt4_get, #string_to_type, #stt_run_hook, #type_name, type_name, #type_to_string, #type_to_string_internal, #type_to_variant, #variant_to_type
Constructor Details
This class inherits a constructor from MetaBuilder::ParameterType
Instance Method Details
#string_to_type_internal(str) ⇒ Object
41 42 43 |
# File 'lib/MetaBuilder/Parameters/numbers.rb', line 41 def string_to_type_internal(str) return Float(str) end |