Method: Processing::Runner#show_version

Defined in:
lib/picrate/runner.rb

#show_versionObject



73
74
75
76
77
78
79
80
# File 'lib/picrate/runner.rb', line 73

def show_version
  require 'erb'
  template = ERB.new <<-EOF
  PiCrate version <%= PiCrate::VERSION %>
  JRuby version <%= JRUBY_VERSION %>
  EOF
  puts template.result(binding)
end