Module: Gush

Defined in:
lib/gush.rb,
lib/gush/cli.rb,
lib/gush/job.rb,
lib/gush/json.rb,
lib/gush/graph.rb,
lib/gush/client.rb,
lib/gush/errors.rb,
lib/gush/worker.rb,
lib/gush/workflow.rb,
lib/gush/cli/overview.rb,
lib/gush/configuration.rb

Defined Under Namespace

Classes: CLI, Client, Configuration, DependencyLevelTooDeep, Graph, JSON, Job, Worker, Workflow, WorkflowNotFound

Class Method Summary collapse

Class Method Details

.configurationObject



30
31
32
# File 'lib/gush.rb', line 30

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



34
35
36
# File 'lib/gush.rb', line 34

def self.configure
  yield configuration
end

.gushfileObject



22
23
24
# File 'lib/gush.rb', line 22

def self.gushfile
  configuration.gushfile
end

.rootObject



26
27
28
# File 'lib/gush.rb', line 26

def self.root
  Pathname.new(__FILE__).parent.parent
end