Class: DashtSingleton

Inherits:
Object
  • Object
show all
Defined in:
lib/dasht.rb

Class Method Summary collapse

Class Method Details

.run(&block) ⇒ Object



17
18
19
20
# File 'lib/dasht.rb', line 17

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