README.md in myrails-1.1.0 vs README.md in myrails-1.1.1
- old
+ new
@@ -2,12 +2,17 @@
This gem was created to make generating rails related files and other rails gem files (that I use) a lot easier. It is a thor backed gem that was designed with rails 5 in mind but most of it "should" work with rails 4.
This gem is not endorsed by 37signals. I wrote it as a convenience for generating files that I would otherwise have written by hand.
-NOTE: This gem is not compatible with ruby 2.3 (yet).
+## Disclaimer
+This gem is not compatible with ruby 2.3 (yet).
+
+
+## Examples
+
Here is an example of the gem in action:
For example, I use pundit. With this gem I am able to run the following:
```ruby
@@ -38,17 +43,17 @@
## Installation
In your terminal:
```ruby
-gem install myrails
+gem install myrails -v 1.1.2
```
## Usage
simple type `myrails` to see the help menu
-```
+```ruby
# Example for generating a presenter class
myrails presenter --name=post
```
This generates a PostPresenter class in app/presenters that inherites from app/presenters/base_presenter.rb to be used in views. This also generates a spec/presenters/post_presenter_spec.rb file for testing.