Class: Cape::Deprecation::CapistranoDeprecatedDefineRakeWrapper Private
- Defined in:
- lib/cape/deprecation/capistrano_deprecated_define_rake_wrapper.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Prints to a stream a message related to deprecated usage of CapistranoDeprecated#define_rake_wrapper.
Instance Attribute Summary collapse
-
#task ⇒ Symbol, String
private
The task argument to CapistranoDeprecated#define_rake_wrapper.
Attributes inherited from Base
Instance Method Summary collapse
-
#env ⇒ HashList
private
Environment variable names and values set in a call to CapistranoDeprecated#define_rake_wrapper.
-
#message_content ⇒ String
private
Prepares a message based on deprecated usage of CapistranoDeprecated#define_rake_wrapper.
-
#named_arguments ⇒ HashList
private
The named_arguments argument to CapistranoDeprecated#define_rake_wrapper.
-
#named_arguments=(value) ⇒ HashList
private
Sets the value of #named_arguments.
Methods inherited from Base
#formatted_message, #write_formatted_message_to_stream
Instance Attribute Details
#task ⇒ Symbol, String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The task argument to CapistranoDeprecated#define_rake_wrapper.
15 16 17 |
# File 'lib/cape/deprecation/capistrano_deprecated_define_rake_wrapper.rb', line 15 def task @task end |
Instance Method Details
#env ⇒ HashList
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Environment variable names and values set in a call to CapistranoDeprecated#define_rake_wrapper.
21 22 23 |
# File 'lib/cape/deprecation/capistrano_deprecated_define_rake_wrapper.rb', line 21 def env @env ||= HashList.new end |
#message_content ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Prepares a message based on deprecated usage of CapistranoDeprecated#define_rake_wrapper.
29 30 31 32 33 34 35 |
# File 'lib/cape/deprecation/capistrano_deprecated_define_rake_wrapper.rb', line 29 def [].tap do |fragments| fragments << fragments << '. ' fragments << end.join end |
#named_arguments ⇒ HashList
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The named_arguments argument to CapistranoDeprecated#define_rake_wrapper.
41 42 43 |
# File 'lib/cape/deprecation/capistrano_deprecated_define_rake_wrapper.rb', line 41 def named_arguments @named_arguments ||= HashList.new end |
#named_arguments=(value) ⇒ HashList
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Sets the value of #named_arguments.
50 51 52 |
# File 'lib/cape/deprecation/capistrano_deprecated_define_rake_wrapper.rb', line 50 def named_arguments=(value) @named_arguments = HashList.new(value) end |