Sha256: 07779cc6456a79c0be33347276d7ce0e24d96e6b17c0d93220dce62bc308f902

Contents?: true

Size: 547 Bytes

Versions: 44

Compression:

Stored size: 547 Bytes

Contents

#!/usr/bin/env ruby
$: << "lib"
require "simple/sql"
#require "simple/store"

SQL = Simple::SQL
SQL.connect!

module Reload
  extend self

  def load_file(path)
    STDERR.puts "Loading #{path}\n"
    load path
  end

  def load_dir(dir)
    Dir.glob("#{dir}/**/*.rb").sort.each_with_index do |path, idx|
      load_file path
    end 
  end
end

$VERBOSE = nil

def reload!
  Reload.load_dir "lib/simple"
  Reload.load_file "config/console-init.rb"
end

Reload.load_file "config/console-init.rb"

require "irb"
require "irb/completion"

IRB.start

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
simple-sql-0.5.37 bin/console
simple-sql-0.5.36 bin/console
simple-sql-0.5.35 bin/console
simple-sql-0.5.34 bin/console
simple-sql-0.5.33 bin/console
simple-sql-0.5.32 bin/console
simple-sql-0.5.31 bin/console
simple-sql-0.5.30 bin/console
simple-sql-0.5.29 bin/console
simple-sql-0.5.28 bin/console
simple-sql-0.5.27 bin/console
simple-sql-0.5.26 bin/console
simple-sql-0.5.25 bin/console
simple-sql-0.5.24 bin/console
simple-sql-0.5.23 bin/console
simple-sql-0.5.22 bin/console
simple-sql-0.5.21 bin/console
simple-sql-0.5.20 bin/console
simple-sql-0.5.19 bin/console
simple-sql-0.5.18 bin/console