class Tumugi::Target
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/tumugi/target.rb, line 5 def initialize super() end
Public Instance Methods
exist?()
click to toggle source
# File lib/tumugi/target.rb, line 9 def exist? raise NotImplementedError, "You must implement #{self.class}##{__method__}" end
log(msg)
click to toggle source
# File lib/tumugi/target.rb, line 17 def log(msg) logger.info(msg) end
logger()
click to toggle source
# File lib/tumugi/target.rb, line 13 def logger @logger ||= Tumugi::ScopedLogger.new(self.class.name) end