class Thor::Actions::CreateFile

Public Instance Methods

identical?() click to toggle source
# File lib/mandrill_template/monkey_create_file.rb, line 5
def identical?
  exists? && File.binread(destination).force_encoding(render.encoding) == render
end