README.md in okay-10.0.0 vs README.md in okay-11.0.0

- old
+ new

@@ -106,9 +106,29 @@ # {"viewer" => # {"login" => "duckinator"}}} ``` +### Template Engine + +Okay also provides a basic templating engine. + +It is literally just a wrapper around `Kernel.format()` and `Pathname`. + +Assuming a `./templates/example.html` containing: `a %{foo} c %{bar} e` + +```ruby +require "okay/template" + +template = Okay::Template.new("./templates/") +template.apply("example.html", {foo: "b", bar: "d"}) #=> "a b c d e" +``` + +### SimpleOpts (OptionParser improvements) + +See the [example usage in +HowIs](https://github.com/how-is/how_is/blob/ad81620/lib/how_is/cli.rb#L39-L74). + ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).