Class: Processing::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/dxruby_rp5/runner.rb

Constant Summary collapse

DXRP5_HELP_MESSAGE =
"  Version: \#{DXRubyRP5::VERSION}\n\n  Usage:\n    dxrp5 run path/to/sketch\n\n  Common options:\n    --nojruby:  do not use the installed version of jruby, instead use our vendored\n          jarred one (required for shader sketches, and some others).\n\n  Examples:\n    dxrp5 run my_sketch.rb\n    dxrp5 --nojruby run my_sketch.rb\n\n"

Instance Method Summary collapse

Instance Method Details

#show_helpObject



27
28
29
# File 'lib/dxruby_rp5/runner.rb', line 27

def show_help
  puts DXRP5_HELP_MESSAGE
end

#show_versionObject



20
21
22
23
24
25
# File 'lib/dxruby_rp5/runner.rb', line 20

def show_version
  puts  "  Ruby-Processing version \#{RubyProcessing::VERSION}\n  DXRuby_RP5 version \#{DXRubyRP5::VERSION}\n  EOS\nend\n"