Class: Wandbox::CLI::Compiler
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Wandbox::CLI::Compiler
- Defined in:
- lib/wandbox/cli/compiler.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/wandbox/cli/compiler.rb', line 11 def execute name = compiler compiler = Wandbox::Compiler.from_compiler_name name return puts "Not found '#{name}'." unless compiler opts = ["options"] || "" puts compiler.to_stdio opts.split "," end |