Sha256: ba420afe03337cdf31992eeeac24812148722e18e9a9f5d8459e07cf2622c138

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

module Ferry
  module DSL
    module Stages

      def stages
        Dir[stage_definitions].map { |f| File.basename(f, '.rb') }
      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
ferry-2.0.0 lib/ferry/dsl/stages.rb