Sha256: 932bddf5cee137b8320c6df9ea9bb17d13d805cce61f35536b72a4465d292273
Contents?: true
Size: 306 Bytes
Versions: 33
Compression:
Stored size: 306 Bytes
Contents
require 'awestruct/handlers/file_handler' module Awestruct module Handlers class VerbatimFileHandler < FileHandler # Read file in binary mode so that it can be copied to the generated site as is def read_content File.open(@path, 'rb') {|is| is.read } end end end end
Version data entries
33 entries across 33 versions & 1 rubygems