README.md in title-0.0.1 vs README.md in title-0.0.2

- old
+ new

@@ -1,29 +1,32 @@ # Title -TODO: Write a gem description +Translations for \<title\>s! -## Installation +## Usage -Add this line to your application's Gemfile: +Add to your translations: - gem 'title' +```yaml +en: + titles: + application: AppName + dashboards: + show: Dashboard + users: + show: '%{user}' + new: Registration +``` -And then execute: +And to your HTML: - $ bundle +```erb +<title><%= title %></title> +``` -Or install it yourself as: +And to your `User` model: - $ gem install title - -## Usage - -TODO: Write usage instructions here - -## Contributing - -1. Fork it -2. Create your feature branch (`git checkout -b my-new-feature`) -3. Commit your changes (`git commit -am 'Add some feature'`) -4. Push to the branch (`git push origin my-new-feature`) -5. Create new Pull Request +```ruby +def to_s + name +end +```