Sha256: fa22c350475ec9f1b5624158db85a505d59bf40ba34bcbfe14e8d826e223100d

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

require 'curses'
require 'forwardable'
require 'sortviz/version'
require 'sortviz/cursor'
require 'sortviz/canvas'
require 'sortviz/visualizer'
require 'sortviz/plugins'

libdir = File.dirname(__FILE__) 
Dir[libdir + '/algorithms/*.rb'].each {|file| require file }

module Sortviz
  extend self
  def init(algo)
    visualizer = Visualizer.new algo
    visualizer.visualize
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sortviz-0.6.1 lib/sortviz.rb
sortviz-0.6.0 lib/sortviz.rb