Top Level Namespace

Defined Under Namespace

Modules: Eclipse, JavaHelp

Constant Summary collapse

@@version =
'0.1.0'

Instance Method Summary collapse

Instance Method Details

#convert(options) {|new_help| ... } ⇒ Object

Converts a Javahelp jar file to the specified Eclipse plugin.

Yields:

  • (new_help)


14
15
16
17
18
19
# File 'lib/helpconverter.rb', line 14

def convert(options)
  old_help = JavaHelp::JarConverter.new(options[:from])
  new_help = Eclipse::Plugin.new(options[:to])
  yield new_help
  new_help.make_file_from(old_help)
end