Class: RgGen::Core::VersionPrinter

Inherits:
Object
  • Object
show all
Defined in:
lib/rggen/core/printers.rb

Instance Method Summary collapse

Constructor Details

#initialize(verbose) ⇒ VersionPrinter

Returns a new instance of VersionPrinter.



16
17
18
# File 'lib/rggen/core/printers.rb', line 16

def initialize(verbose)
  @verbose = verbose
end

Instance Method Details

#run(builder, options) ⇒ Object



20
21
22
23
# File 'lib/rggen/core/printers.rb', line 20

def run(builder, options)
  verbose? && load_plugins(builder, options)
  puts version_message(builder)
end