Class: MxxRu::Cpp::RuCodeGen::Embedded
- Defined in:
- lib/mxx_ru/cpp/rucodegen.rb
Overview
Description for embeded RuCodeGen script.
Instance Method Summary collapse
-
#build_cmd(mode) ⇒ Object
Returns command line for run code generation.
-
#initialize(name) ⇒ Embedded
constructor
A new instance of Embedded.
Methods inherited from Script
Constructor Details
#initialize(name) ⇒ Embedded
Returns a new instance of Embedded.
96 97 98 |
# File 'lib/mxx_ru/cpp/rucodegen.rb', line 96 def initialize( name ) super( name ) end |
Instance Method Details
#build_cmd(mode) ⇒ Object
Returns command line for run code generation.
101 102 103 104 |
# File 'lib/mxx_ru/cpp/rucodegen.rb', line 101 def build_cmd( mode ) "ruby -I. -e\"require 'rubygems'; gem 'RuCodeGen'; require 'rucodegen'; " + "process_embedded_rucodegen('#{@name}',:#{mode})\"" end |