module Ferry::DSL::Stages
Public Instance Methods
stage_definitions()
click to toggle source
# File lib/ferry/dsl/stages.rb, line 9 def stage_definitions stage_config_path.join('*.rb') end
stage_set?()
click to toggle source
# File lib/ferry/dsl/stages.rb, line 13 def stage_set? !!fetch(:stage, false) end
stages()
click to toggle source
# File lib/ferry/dsl/stages.rb, line 5 def stages Dir[stage_definitions].map { |f| File.basename(f, '.rb') } end