Module: Capistrano::DSL::Stages

### Home Classes Methods

### In Files

- lib/capistrano/dsl/stages.rb

### Methods

- #stage_definitions
- #stage_set?
- #stages

### Files

- Capfile
- Capfile

### Class/Module Index

Quicksearch

- Capistrano
- Capistrano::Application
- Capistrano::Configuration
- Capistrano::Configuration::Filter
- Capistrano::Configuration::Question
- Capistrano::Configuration::Server
- Capistrano::Configuration::Server::Properties
- Capistrano::Configuration::Servers
- Capistrano::DSL
- Capistrano::DSL::Env
- Capistrano::DSL::Paths
- Capistrano::DSL::Stages
- Capistrano::Git
- Capistrano::Git::DefaultStrategy
- Capistrano::Hg
- Capistrano::Hg::DefaultStrategy
- Capistrano::SCM
- Capistrano::Svn
- Capistrano::Svn::DefaultStrategy
- Capistrano::TaskEnhancements
- Capistrano::UploadTask
- Capistrano::VersionValidator
- Object

No matching classes.

# Capistrano::DSL::Stages

### Public Instance Methods

stage_definitions() click to toggle source

    # File lib/capistrano/dsl/stages.rb, line 9
    def stage_definitions
      stage_config_path.join('*.rb')
    end

stage_set?() click to toggle source

    # File lib/capistrano/dsl/stages.rb, line 13
    def stage_set?
      !!fetch(:stage, false)
    end

stages() click to toggle source

    # File lib/capistrano/dsl/stages.rb, line 5
    def stages
      Dir[stage_definitions].map { |f| File.basename(f, '.rb') }
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.