Method: ExternalVariableProcessing#check_variable_type
- Defined in:
- lib/rad/variable_processing.rb
#check_variable_type(type) ⇒ Object
129 130 131 132 133 |
# File 'lib/rad/variable_processing.rb', line 129 def check_variable_type(type) unless type =~ /#{C_VAR_TYPES}/ raise ArgumentError, "the following variable types are supported \n #{C_VAR_TYPES.gsub("|",", ")} got #{type}" end end |