class Thor::Actions::CreateFile

Quiet down create file

Public Instance Methods

on_conflict_behavior(&block) click to toggle source
# File lib/middleman-core/cli/build.rb, line 300
def on_conflict_behavior(&block)
  if identical?
    say_status :identical, :blue
  else
    say_status :update, :yellow
    block.call unless pretend?
  end
end