Sha256: 5d2030cd15249ba67def936b3fffa14a403dae0da2dca7cd5b6bf68caa410798
Contents?: true
Size: 463 Bytes
Versions: 9
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true # Usage: :wq # load_library :chooser # # def setup # java_signature 'void selectInput(String, String)' # selectInput('Select a file to process:', 'fileSelected') # end # # def fileSelected(selection) # if selection.nil? # puts 'Window was closed or the user hit cancel.' # else # puts format('User selected %s', selection.get_absolute_path) # end # end class Propane::App include Java::MonkstoneFilechooser::Chooser Chooser end
Version data entries
9 entries across 9 versions & 1 rubygems