Class: CTioga2::MetaBuilder::Types::StringParameter

Inherits:
CTioga2::MetaBuilder::Type show all
Defined in:
lib/ctioga2/metabuilder/types/strings.rb

Overview

A String

Direct Known Subclasses

FileParameter

Instance Attribute Summary

Attributes inherited from CTioga2::MetaBuilder::Type

#namespace, #namespace_lookup, #passthrough, #re_shortcuts, #shortcuts, #type

Instance Method Summary collapse

Methods inherited from CTioga2::MetaBuilder::Type

#boolean?, #default_value, from_string, get_param_type, get_type, #initialize, #option_parser_long_option, #option_parser_option, #string_to_type, type_name, #type_to_string

Constructor Details

This class inherits a constructor from CTioga2::MetaBuilder::Type

Instance Method Details

#string_to_type_internal(str) ⇒ Object



37
38
39
# File 'lib/ctioga2/metabuilder/types/strings.rb', line 37

def string_to_type_internal(str)
  return str
end

#type_nameObject



33
34
35
# File 'lib/ctioga2/metabuilder/types/strings.rb', line 33

def type_name
  return 'text'
end