Class: Gitrob::CLI::Commands::Banner
- Inherits:
-
Gitrob::CLI::Command
- Object
- Gitrob::CLI::Command
- Gitrob::CLI::Commands::Banner
- Defined in:
- lib/gitrob/cli/commands/banner.rb
Instance Attribute Summary
Attributes inherited from Gitrob::CLI::Command
Instance Method Summary collapse
-
#initialize(options) ⇒ Banner
constructor
A new instance of Banner.
Methods inherited from Gitrob::CLI::Command
#debug, #debugging_enabled?, #error, #fatal, #info, #output, #progress_bar, start, #task, #thread_pool, #warn
Constructor Details
#initialize(options) ⇒ Banner
Returns a new instance of Banner.
5 6 7 8 9 10 11 |
# File 'lib/gitrob/cli/commands/banner.rb', line 5 def initialize() @options = output if [:banner] info "Starting Gitrob version #{Gitrob::VERSION} " \ "at #{Time.now.strftime('%Y-%m-%d %H:%M %Z')}" debug "Debugging mode enabled" end |