Sha256: 6a0f83362182c86e3c2c1355b3e37de20b054dbacf87007da78bf65af7b6b8ee
Contents?: true
Size: 632 Bytes
Versions: 6
Compression:
Stored size: 632 Bytes
Contents
module Ripl def self.config @config ||= {:readline => true, :riplrc => '~/.riplrc', :completion => {}} end def self.start(*args); Runner.start(*args); end def self.plugins file = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ $".map {|e| e[/ripl\/[^\/]+$/] }.compact - Dir["#{File.dirname(file)}/ripl/*.rb"].map {|e| e[/ripl\/[^\/]+$/] } end def self.shell(options={}) @shell ||= Shell.create(config.merge!(options)) end module Commands class<<self; public :include; end end end require 'ripl/shell' require 'ripl/runner' require 'ripl/history' require 'ripl/version'
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
ripl-0.3.5 | lib/ripl.rb |
ripl-0.3.4 | lib/ripl.rb |
ripl-0.3.3 | lib/ripl.rb |
ripl-0.3.2 | lib/ripl.rb |
ripl-0.3.1 | lib/ripl.rb |
ripl-0.3.0 | lib/ripl.rb |