class RGitFlow::Tasks::SCM::Task

Public Class Methods

new(git, name, description, namespaces=['rgitflow', 'scm'], dependencies=[]) click to toggle source
Calls superclass method RGitFlow::Tasks::Task::new
# File lib/rgitflow/tasks/scm/task.rb, line 7
def initialize(git, name, description, namespaces=['rgitflow', 'scm'],
               dependencies=[])
  super(git, name, description, namespaces, dependencies)
end

Public Instance Methods

dirty?() click to toggle source
# File lib/rgitflow/tasks/scm/task.rb, line 12
def dirty?
  @git.diff.size > 0
end
print_status() click to toggle source