Sha256: 0414fa2f4e30e2168ab94c6c456d8412a73b9fae5a32fe6aaced64a0aa6b25b8

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 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/collector'
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

1 entries across 1 versions & 1 rubygems

Version Path
dasht-0.1.0 lib/dasht.rb