Sha256: f9bcca6aba84ab9f03d89b72ee21c38000dbcff27bc6d3bd15a261983ddc9f5b
Contents?: true
Size: 341 Bytes
Versions: 4
Compression:
Stored size: 341 Bytes
Contents
# Readline for Jruby class Bond::Jruby < Bond::Readline def self.readline_setup require 'readline' require 'jruby' class << Readline ReadlineExt = org.jruby.ext.readline.Readline def line_buffer ReadlineExt.s_get_line_buffer(JRuby.runtime.current_context, JRuby.reference(self)) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bond-0.5.1 | lib/bond/readlines/jruby.rb |
bond-0.5.1-java | lib/bond/readlines/jruby.rb |
bond-0.5.0 | lib/bond/readlines/jruby.rb |
bond-0.5.0-java | lib/bond/readlines/jruby.rb |