lib/rib/core/readline.rb in rib-1.5.1 vs lib/rib/core/readline.rb in rib-1.5.2

- old
+ new

@@ -1,11 +1,11 @@ require 'rib' require 'readline' -module Rib::Readline - extend Rib::Plugin +module Rib; module Readline + extend Plugin Shell.use(self) # --------------- Rib API --------------- def before_loop @@ -22,6 +22,6 @@ unless ::Readline::HISTORY.respond_to?(:last) def (::Readline::HISTORY).last self[-1] end -end +end; end