lib/lsync.rb in lsync-2.0.2 vs lib/lsync.rb in lsync-2.1.0

- old
+ new

@@ -28,6 +28,13 @@ require 'optparse' require 'open-uri' module LSync + + def self.run_script(options = {}, &block) + script = LSync::Script.new(options, &block) + + script.run! + end + end