Class: MetaBuilder::ParameterTypes::StringParameter

Inherits:
MetaBuilder::ParameterType show all
Defined in:
lib/MetaBuilder/Parameters/strings.rb

Overview

A String

Direct Known Subclasses

FileParameter

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, #stt_run_hook, 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(str) ⇒ Object



34
35
36
# File 'lib/MetaBuilder/Parameters/strings.rb', line 34

def string_to_type(str)
  return str
end

#type_nameObject



30
31
32
# File 'lib/MetaBuilder/Parameters/strings.rb', line 30

def type_name
  return 'text'
end