Skip to content
Snippets Groups Projects
Unverified Commit 8cfe2537 authored by fauno's avatar fauno
Browse files

Merge branch 'release/0.2.6'

parents 7d06b50d 4cae62ee
Branches
Tags backupninja-1.0.1
No related merge requests found
......@@ -40,18 +40,19 @@ module JekyllPandocMultipleFormats
raise ArgumentError.new 'An array of filenames is required' unless files.is_a? Array
@output_file = output_file
@files = files
self.files = files
render_template
self
end
def <<(file)
@files ||= []
@files << File.realpath(file) if /\.pdf\Z/ =~ file
end
def files=(file_array)
return unless file_array.is_a? Array
return unless file_array.respond_to? :each
file_array.each do |f|
self << f
......
module JekyllPandocMultipleFormats
VERSION = '0.2.5'
VERSION = '0.2.6'
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment