Class: Tumugi::Target
- Inherits:
-
Object
- Object
- Tumugi::Target
- Defined in:
- lib/tumugi/target.rb
Direct Known Subclasses
Instance Method Summary collapse
- #exist? ⇒ Boolean
-
#initialize ⇒ Target
constructor
A new instance of Target.
- #log(msg) ⇒ Object
- #logger ⇒ Object
Constructor Details
#initialize ⇒ Target
Returns a new instance of Target.
5 6 7 |
# File 'lib/tumugi/target.rb', line 5 def initialize super() end |
Instance Method Details
#exist? ⇒ Boolean
9 10 11 |
# File 'lib/tumugi/target.rb', line 9 def exist? raise NotImplementedError, "You must implement #{self.class}##{__method__}" end |
#log(msg) ⇒ Object
17 18 19 |
# File 'lib/tumugi/target.rb', line 17 def log(msg) logger.info(msg) end |