CxxStdlib should be immutable so remove writer methods

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

View File

@ -1,7 +1,7 @@
require "compilers" require "compilers"
class CxxStdlib class CxxStdlib
attr_accessor :type, :compiler attr_reader :type, :compiler
def initialize(type, compiler) def initialize(type, compiler)
if type && ![:libstdcxx, :libcxx].include?(type) if type && ![:libstdcxx, :libcxx].include?(type)