type is guaranteed to be a symbol by the factory method

This commit is contained in:
Jack Nagel 2014-08-02 19:29:58 -05:00
parent cdf1a7b41c
commit 90e370d2ef

View File

@ -8,7 +8,7 @@ class CxxStdlib
raise ArgumentError, "Invalid C++ stdlib type: #{type}"
end
@type = type.to_sym if type
@type = type
@compiler = compiler.to_sym
end