lib/capistrano/fanfare/campfire.rb
def deploy_env_formatted
        if deploy_env.to_s.downcase.start_with? 'prod'
          "**#{deploy_env.to_s.upcase}**"
        else
          deploy_env.to_s.downcase
        end
      end
# ========================================================================
# These are helper methods that will be available to your recipes.
# ========================================================================
These are helper methods that will be available to your recipes.
These are helper methods that will be available to your recipes .
def deploy_env_formatted
        if deploy_env.to_s.downcase.start_with? 'prod'
          "**#{deploy_env.to_s.upcase}**"
        else
          deploy_env.to_s.downcase
        end
      end
def deploy_env_formatted if deploy_env . to_s . downcase . start_with? 'prod' "**#{deploy_env.to_s.upcase}**" else deploy_env . to_s . downcase end end
These are helper methods that will be available to your recipes.
These are helper methods that will be available to your recipes .