wh开发者_运维技巧at's the difference between include Java
and require "java"
?
require 'java' is called to make all the Java integration facilities available to the script. The require keyword is somewhat similar to the import keyword in Java; it is a signal to load resources from a file whose name follows the keyword
include Java : We include Java API to JRuby.
go through this link
精彩评论