Class: Rant::CSharp::CscCompiler
- Inherits:
-
BaseCompilerAdapter
- Object
- BaseCompilerAdapter
- Rant::CSharp::CscCompiler
- Defined in:
- lib/rant/csharp/csc_compiler.rb
Instance Attribute Summary
Attributes inherited from BaseCompilerAdapter
Instance Method Summary collapse
- #argument_prefix ⇒ Object
-
#initialize(bin = 'csc /nologo') ⇒ CscCompiler
constructor
A new instance of CscCompiler.
Methods inherited from BaseCompilerAdapter
#boolean_argument, #cmd, #guess_target, #map_arg, #map_target, #outfile, #string_argument
Constructor Details
#initialize(bin = 'csc /nologo') ⇒ CscCompiler
Returns a new instance of CscCompiler.
5 6 7 8 9 |
# File 'lib/rant/csharp/csc_compiler.rb', line 5 def initialize bin = 'csc /nologo' super @switch_map = { :resources => "res", :libs => "r"} end |
Instance Method Details
#argument_prefix ⇒ Object
11 12 13 |
# File 'lib/rant/csharp/csc_compiler.rb', line 11 def argument_prefix "/" end |