Sha256: f2b02dc41b568299c911b2370647b2b3e803f96be8e3c09df79161893f1dfd39

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8
# @author Sascha Manns
# @abstract CoverModule for latex_curriculum_vitae
#
# Copyright (C) 2015  Sascha Manns <samannsml@directbox.com>
# License: MIT

# Dependencies
require 'rainbow/ext/string'

# main module
module LatexCurriculumVitae
  # Cover module
  module Cover
    # Create cover method
    # @param [String] name_of_cover Name of the cover file
    def self.create_cover(name_of_cover)
      puts 'Creating cover'.colour(:yellow)
      system("pdflatex #{name_of_cover}.tex")
      puts 'Creating cover done'.colour(:green)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
latex_curriculum_vitae-1.1.3 lib/latex_curriculum_vitae/cover.rb
latex_curriculum_vitae-1.1.0 lib/latex_curriculum_vitae/cover.rb