Module: Rake::TaskManager
- Defined in:
- lib/rake/leaves.rb
Instance Attribute Summary collapse
-
#last_optional_params ⇒ Object
last_optional_params getter, cleaner than aliasing initialize to set the default value.
-
#last_param_aliases ⇒ Object
last_param_aliases getter, cleaner than aliasing initialize to set the default value.
-
#last_request_missing_params ⇒ Object
writeonly
Sets the attribute last_request_missing_params.
-
#last_required_params ⇒ Object
last_required_params getter, cleaner than aliasing initialize to set the default value.
Instance Method Summary collapse
-
#intern(*args) ⇒ Object
Add arguments to the task immediately after creating it.
- #original_intern ⇒ Object
Instance Attribute Details
#last_optional_params ⇒ Object
last_optional_params getter, cleaner than aliasing initialize to set the default value
147 148 149 |
# File 'lib/rake/leaves.rb', line 147 def last_optional_params @last_optional_params ||= {} end |
#last_param_aliases ⇒ Object
last_param_aliases getter, cleaner than aliasing initialize to set the default value
153 154 155 |
# File 'lib/rake/leaves.rb', line 153 def last_param_aliases @last_param_aliases ||= {} end |
#last_request_missing_params=(value) ⇒ Object (writeonly)
Sets the attribute last_request_missing_params
127 128 129 |
# File 'lib/rake/leaves.rb', line 127 def last_request_missing_params=(value) @last_request_missing_params = value end |
#last_required_params ⇒ Object
last_required_params getter, cleaner than aliasing initialize to set the default value
141 142 143 |
# File 'lib/rake/leaves.rb', line 141 def last_required_params @last_required_params ||= {} end |
Instance Method Details
#intern(*args) ⇒ Object
Add arguments to the task immediately after creating it
133 134 135 136 137 |
# File 'lib/rake/leaves.rb', line 133 def intern (*args) task = original_intern *args add_params task task end |
#original_intern ⇒ Object
130 |
# File 'lib/rake/leaves.rb', line 130 alias_method :original_intern, :intern |