Sha256: 082d206bfa9139e152e284bf8748041de98667b37ee079317b72c3f20c9a06c4

Contents?: true

Size: 456 Bytes

Versions: 9

Compression:

Stored size: 456 Bytes

Contents

require 'rack'
require 'thread'
require 'erb'
require 'json'

require 'dasht/array_monkeypatching'
require 'dasht/reloader'
require 'dasht/board'
require 'dasht/list'
require 'dasht/metric'
require 'dasht/metrics'
require 'dasht/rack_app'
require 'dasht/log_thread'
require 'dasht/base'

class DashtSingleton
  def self.run(&block)
    @@instance ||= Dasht::Base.new
    @@instance.run(&block)
  end
end

def dasht(&block)
  DashtSingleton.run(&block)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dasht-0.1.9 lib/dasht.rb
dasht-0.1.8 lib/dasht.rb
dasht-0.1.7 lib/dasht.rb
dasht-0.1.6 lib/dasht.rb
dasht-0.1.5 lib/dasht.rb
dasht-0.1.4 lib/dasht.rb
dasht-0.1.3 lib/dasht.rb
dasht-0.1.2 lib/dasht.rb
dasht-0.1.1 lib/dasht.rb