Class: Lazylead::Task::Echo

Inherits:
Object
  • Object
show all
Defined in:
lib/lazylead/task/echo.rb

Overview

Lazylead task which prints to STDOUT the current class name and team.

Author

Yurii Dubinka ([email protected])

Copyright

Copyright © 2019-2020 Yurii Dubinka

License

MIT

Instance Method Summary collapse

Constructor Details

#initialize(log = Log.new) ⇒ Echo

Returns a new instance of Echo.



35
36
37
# File 'lib/lazylead/task/echo.rb', line 35

def initialize(log = Log.new)
  @log = log
end

Instance Method Details

#run(_, _, _) ⇒ Object



39
40
41
# File 'lib/lazylead/task/echo.rb', line 39

def run(_, _, _)
  self.class.to_s
end