class Gitomator::BaseTask

Attributes

context[R]
logger[RW]

Public Class Methods

new(context) click to toggle source

@param context [Gitomator::Context]

# File lib/gitomator/task.rb, line 13
def initialize(context)
  @context = context
end

Public Instance Methods

ci() click to toggle source
# File lib/gitomator/task.rb, line 42
def ci
  context.ci
end
git() click to toggle source
# File lib/gitomator/task.rb, line 30
def git
  context.git
end
hosting() click to toggle source
# File lib/gitomator/task.rb, line 34
def hosting
  context.hosting
end
run() click to toggle source

Subclasses should override this method

# File lib/gitomator/task.rb, line 21
def run
  raise "Unimplemented"
end
tagging() click to toggle source
# File lib/gitomator/task.rb, line 38
def tagging
  context.tagging
end