Class: RgGen::Core::VersionPrinter
Instance Method Summary collapse
-
#initialize(verbose) ⇒ VersionPrinter
constructor
A new instance of VersionPrinter.
- #run(builder, options) ⇒ Object
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, ) verbose? && load_plugins(builder, ) puts (builder) end |