module Capistrano::Slacky::On
Constants
- PATH_MAP
Public Instance Methods
on(within:, &block)
click to toggle source
# File lib/capistrano/slacky/on.rb, line 20 def on(within:, &block) ::Capistrano::DSL.on(::Capistrano::Configuration.env.primary(:app)) do ::SSHKit::Backend.current.within(PATH_MAP.fetch(within).call, &block) end end