Sha256: b28a1c1f080536a04d2d86ed2e28aee6528693a5c06b297817888534f55105a8

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

module Capistrano
  module DSL
    module Stages

      def stages
        Dir[stage_definitions].map { |f| File.basename(f, '.rb') }
      end

      def infer_stages_from_stage_files
      end

      def stage_definitions
        stage_config_path.join('*.rb')
      end

      def stage_set?
        !!fetch(:stage, false)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-3.1.0 lib/capistrano/dsl/stages.rb