class Awestruct::Handlers::VerbatimFileHandler

Public Instance Methods

read_content() click to toggle source

Read file in binary mode so that it can be copied to the generated site as is

# File lib/awestruct/handlers/verbatim_file_handler.rb, line 7
def read_content
  File.open(@path, 'rb') {|is| is.read }
end