Skip to content

Commit ffb15ec

Browse files
committed
make clear that scope is ignored purposely
1 parent 1f88550 commit ffb15ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/rake/file_task.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def out_of_date?(stamp)
4444
# Task class methods.
4545
#
4646
class << self
47-
# Apply the scope to the task name according to the rules for this kind
48-
# of task. File based tasks ignore the scope when creating the name.
49-
def scope_name(scope, task_name)
47+
# This method signature is from Task. FileTasks ignore the scope when
48+
# creating the name.
49+
def scope_name(_scope, task_name)
5050
Rake.from_pathname(task_name)
5151
end
5252
end

0 commit comments

Comments
 (0)