Class: CxxStdlib
Overview
Combination of C++ standard library and compiler.
Instance Attribute Summary collapse
-
#compiler ⇒ Object
readonly
Returns the value of attribute compiler.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type, compiler) ⇒ CxxStdlib
constructor
A new instance of CxxStdlib.
-
#inspect ⇒ String
-
#type_string ⇒ Object
Constructor Details
#initialize(type, compiler) ⇒ CxxStdlib
Returns a new instance of CxxStdlib.
16 17 18 19 |
# File 'cxxstdlib.rb', line 16 def initialize(type, compiler) @type = type @compiler = compiler.to_sym end |
Instance Attribute Details
#compiler ⇒ Object (readonly)
Returns the value of attribute compiler.
14 15 16 |
# File 'cxxstdlib.rb', line 14 def compiler @compiler end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
14 15 16 |
# File 'cxxstdlib.rb', line 14 def type @type end |