Sha256: 904ac4797b44afd3166a5f92e95945d4712d3719885466629dd25d07ff9afadb

Contents?: true

Size: 953 Bytes

Versions: 4

Compression:

Stored size: 953 Bytes

Contents

require "thor"
require "active_support/core_ext/string"
require "active_support/core_ext/module"
require "singleton"
module Cascadence
  autoload :Stateful, File.join( File.dirname(__FILE__), "cascadence", "stateful" )
  autoload :ClassMethods, File.join( File.dirname(__FILE__), "cascadence", "class_methods" )
  autoload :Flow, File.join( File.dirname(__FILE__), "cascadence", "flow" )
  autoload :Helper, File.join( File.dirname(__FILE__), "cascadence", "helper")
  autoload :Commander, File.join( File.dirname(__FILE__), "cascadence", "commander")
  autoload :Runner, File.join( File.dirname(__FILE__), "cascadence", "runner")
  autoload :Config, File.join( File.dirname(__FILE__), "cascadence", "config")
  autoload :Task, File.join( File.dirname(__FILE__), "cascadence", "task")
  def self.config(&block)
    if block_given?
      yield Config.instance
    else
      Config.instance
    end
  end 

  def self.runner
    Runner.instance
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cascadence-0.2.4 lib/cascadence.rb
cascadence-0.2.3 lib/cascadence.rb
cascadence-0.2.2 lib/cascadence.rb
cascadence-0.2.1 lib/cascadence.rb