Sha256: d0ad0575615dd0c18c51e736941ed284e61fe63016c9c671438f7cfefca0fc03
Contents?: true
Size: 491 Bytes
Versions: 17
Compression:
Stored size: 491 Bytes
Contents
# Restore original behaviour of thor # rubocop:disable Style/ClassAndModuleChildren class ::Thor # rubocop:enable Style/ClassAndModuleChildren module Actions # Create file helper class class CreateFile def on_conflict_behavior(&block) if identical? say_status :identical, :blue else options = base.options.merge(config) force_or_skip_or_conflict(options[:force], options[:skip], &block) end end end end end
Version data entries
17 entries across 17 versions & 2 rubygems