Sha256: 4d880426e146cad40d2864e617e2cf032d06f3c148dee862508e5c7028387022

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

Creates a file with the specified content.
(file, content)
--
<%= '<' %>% create_dir File.dirname(file) %<%= '>' %>

echo "Create file: <%= '<' %>%= file %<%= '>' %>"
echo -n '<%= '<' %>%= content %<%= '>' %>' > <%= '<' %>%= file %<%= '>' %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linecook-1.0.0 templates/helpers/project_name/create_file.erb