Sha256: abacc345bc934a294e6ace1b02e17e2403414ec36f749b9a826e76889c6d216f
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
require 'rib' require 'bond' module Rib::Completion include Rib::Plugin Shell.use(self) def before_loop return super if Completion.disabled? config[:completion] ||= {} config[:completion][:eval_binding] ||= lambda{ config[:binding] } (config[:completion][:gems] ||= []).concat(ripl_plugins) Bond.start(config[:completion]) super end private def ripl_plugins $LOADED_FEATURES.map{ |e| e[/ripl\/[^\/]+$/] }.compact end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rib-0.1.0 | lib/rib/core/completion.rb |