Version: 0.7.1
Last Updated: Unknown
Use this tempalate to generate new lift projects.
| Variable | Data Type | Info |
|---|---|---|
name | string | Name of the blog post |
1---2basedir: content/blog3---4---5date: "<%= name.split('-').filter((_data, index) => index < 3).join("-") %>"6image: https://cdn.dennisokeeffe.com/assets/<%= name %>/main-image.webp7title: <%= _.startCase(name.split('-').filter((_data, index) => index >= 3)) %>8description: <%= description %>9tags: "ruby"10icons: "dok,ruby"11series:12 - "50 Days of Ruby": 013---1415This post will ...1617Source code can be found [here](https://github.com/okeeffed/copy-replace)1819## Prerequisites20211. Basic familiarity with [Bundler](https://bundler.io/).222. Familiarity with reading tests written in [RSpec](https://rspec.info/).233. Familiarity with the [Pry Gem](https://www.rubydoc.info/gems/pry/0.10.3/Pry).2425## Getting started2627We will create the project directory `copy-replace` and use Bundler to initialize the project:2829```s30$ mkdir copy-replace31$ cd copy-replace32# initialise Bundler project33$ bundler init34# RSpec added for testing35$ bundler add rspec --group "development,test"36# Pry added for debugging37$ bundler add pry --group "development,test"38# TODO: Add other required files39```4041At this stage, our project is now ready to start working with.4243## ...4445...4647## Summary4849Today's post demonstrated how to ...5051## Resources and further reading5253- [Bundler](https://bundler.io/)54- [RSpec](https://rspec.info/)55- [Pry Gem](https://www.rubydoc.info/gems/pry/0.10.3/Pry)56- [Source code](https://github.com/okeeffed/copy-replace)5758_Photo credit: [`user`](https://unsplash.com/@user)_