Class: Rant::CSharp::CscCompiler

Inherits:
BaseCompilerAdapter show all
Defined in:
lib/rant/csharp/csc_compiler.rb

Instance Attribute Summary

Attributes inherited from BaseCompilerAdapter

#bin, #switch_map

Instance Method Summary collapse

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_prefixObject



11
12
13
# File 'lib/rant/csharp/csc_compiler.rb', line 11

def argument_prefix
  "/"
end