Class: Cape::Deprecation::DSLDeprecatedMirrorRakeTasks Private
- Defined in:
- lib/cape/deprecation/dsl_deprecated_mirror_rake_tasks.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 Cape::DSLDeprecated#mirror_rake_tasks.
Instance Attribute Summary collapse
-
#task_expression ⇒ Symbol, String
private
The task_expression argument to Cape::DSLDeprecated#mirror_rake_tasks.
Attributes inherited from Base
Instance Method Summary collapse
-
#env ⇒ HashList
private
Environment variable names and values set in a call to Cape::DSLDeprecated#mirror_rake_tasks.
-
#message_content ⇒ String
private
Prepares a message based on deprecated usage of Cape::DSLDeprecated#mirror_rake_tasks.
-
#options ⇒ HashList
private
The options argument to Cape::DSLDeprecated#mirror_rake_tasks.
-
#options=(value) ⇒ HashList
private
Sets the value of #options.
Methods inherited from Base
#formatted_message, #write_formatted_message_to_stream
Instance Attribute Details
#task_expression ⇒ 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_expression argument to Cape::DSLDeprecated#mirror_rake_tasks.
15 16 17 |
# File 'lib/cape/deprecation/dsl_deprecated_mirror_rake_tasks.rb', line 15 def task_expression @task_expression 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 Cape::DSLDeprecated#mirror_rake_tasks.
21 22 23 |
# File 'lib/cape/deprecation/dsl_deprecated_mirror_rake_tasks.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 Cape::DSLDeprecated#mirror_rake_tasks.
29 30 31 32 33 34 35 |
# File 'lib/cape/deprecation/dsl_deprecated_mirror_rake_tasks.rb', line 29 def [].tap do |fragments| fragments << fragments << '. ' fragments << end.join end |
#options ⇒ 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 options argument to Cape::DSLDeprecated#mirror_rake_tasks.
40 41 42 |
# File 'lib/cape/deprecation/dsl_deprecated_mirror_rake_tasks.rb', line 40 def @options ||= HashList.new end |
#options=(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 #options.
49 50 51 |
# File 'lib/cape/deprecation/dsl_deprecated_mirror_rake_tasks.rb', line 49 def (value) @options = HashList.new(value) end |