Class: Docker::ImageTask

Inherits:
Rake::Task
  • Object
show all
Defined in:
lib/docker/rake_task.rb

Overview

This class allows image-based tasks to be created.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.scope_name(_scope, task_name) ⇒ Object



5
6
7
# File 'lib/docker/rake_task.rb', line 5

def self.scope_name(_scope, task_name)
  task_name
end

Instance Method Details

#needed?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/docker/rake_task.rb', line 9

def needed?
  !has_repo_tag?
end