Class: Thor::Actions::CreateFile
- Inherits:
-
Object
- Object
- Thor::Actions::CreateFile
- Defined in:
- lib/middleman-presentation-core/cli/reset_thor.rb
Overview
Create file helper class
Instance Method Summary collapse
Instance Method Details
#on_conflict_behavior(&block) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/middleman-presentation-core/cli/reset_thor.rb', line 8 def on_conflict_behavior(&block) if identical? say_status :identical, :blue else = base..merge(config) force_or_skip_or_conflict([:force], [:skip], &block) end end |