Module: Pulsar::Helpers::Capistrano
- Defined in:
- lib/pulsar/helpers/capistrano.rb
Defined Under Namespace
Classes: DSL
Instance Method Summary collapse
-
#from_application_path? ⇒ Boolean
This method can be called directly inside capistrano configurations but needs:.
- #load_recipes(opts = {}, &block) ⇒ Object
Instance Method Details
#from_application_path? ⇒ Boolean
This method can be called directly inside capistrano configurations but needs:
defer { from_application_path? }
otherwise capistrano will interpret it as a variable and error out
38 39 40 |
# File 'lib/pulsar/helpers/capistrano.rb', line 38 def from_application_path? ENV.key?('APP_PATH') end |