Class: MxxRu::Cpp::RuCodeGen::Standalone
- Defined in:
- lib/mxx_ru/cpp/rucodegen.rb
Overview
Description for standalone RuCodeGen script.
Instance Method Summary collapse
-
#build_cmd(mode) ⇒ Object
Returns command line for run code generation.
-
#initialize(name) ⇒ Standalone
constructor
A new instance of Standalone.
Methods inherited from Script
Constructor Details
#initialize(name) ⇒ Standalone
Returns a new instance of Standalone.
84 85 86 |
# File 'lib/mxx_ru/cpp/rucodegen.rb', line 84 def initialize( name ) super( name ) end |
Instance Method Details
#build_cmd(mode) ⇒ Object
Returns command line for run code generation.
89 90 91 |
# File 'lib/mxx_ru/cpp/rucodegen.rb', line 89 def build_cmd( mode ) "ruby -I. #{@name} --mode #{mode}" end |