Module: Volley::Dsl

Defined in:
lib/volley/dsl.rb,
lib/volley/dsl/file.rb,
lib/volley/dsl/plan.rb,
lib/volley/dsl/stage.rb,
lib/volley/dsl/action.rb,
lib/volley/dsl/project.rb,
lib/volley/dsl/argument.rb,
lib/volley/dsl/publisher.rb,
lib/volley/dsl/pull_action.rb,
lib/volley/dsl/push_action.rb,
lib/volley/dsl/volley_action.rb

Defined Under Namespace

Modules: VolleyFile Classes: Action, Argument, Plan, Project, Publisher, PullAction, PushAction, Stage, VolleyAction

Class Method Summary collapse

Class Method Details

.file(name) ⇒ Object



14
15
16
17
# File 'lib/volley/dsl.rb', line 14

def file(name)
  return false unless name
  Volley::Dsl::VolleyFile.load(name)
end

.project(name) ⇒ Object



19
20
21
22
# File 'lib/volley/dsl.rb', line 19

def project(name)
  return false unless name
  Volley::Dsl::Project.get(name)
end

.project?(name) ⇒ Boolean

Returns:

  • (Boolean)


24
25
26
27
# File 'lib/volley/dsl.rb', line 24

def project?(name)
  return false unless name
  Volley::Dsl::Project.exists?(name)
end

.projectsObject



29
30
31
# File 'lib/volley/dsl.rb', line 29

def projects
  Volley::Dsl::Project.projects
end

.publisherObject



10
11
12
# File 'lib/volley/dsl.rb', line 10

def publisher
  Volley::Dsl::Publisher.get
end