lib/henry/container.rb in henry-container-0.0.57 vs lib/henry/container.rb in henry-container-0.0.58
- old
+ new
@@ -138,10 +138,10 @@
# @note default_extended_context will be used for undefined keys.
#
# @param [String] task_name the target Task name.
# @return [Hash] the Task custom extended context.
def extended_context(task_name)
- (self.params[task_name] || {})['extended_context']
+ {}['extended_context']
end
# Returns the custom execution_context for the given task.
# @note default_execution_context will be used for undefined keys.
#