Class: Pandocomatic::VersionPrinter

Inherits:
Printer
  • Object
show all
Defined in:
lib/pandocomatic/printer/version_printer.rb

Overview

Printer to print pandocomatic’s version

Instance Method Summary collapse

Methods inherited from Printer

#print, #template, #to_s

Constructor Details

#initialize(version) ⇒ VersionPrinter

Create a new VersionPrinter



27
28
29
30
# File 'lib/pandocomatic/printer/version_printer.rb', line 27

def initialize(version)
  super 'version.txt'
  @version = version
end