README.md in pry-singular-0.1.7 vs README.md in pry-singular-0.1.8
- old
+ new
@@ -19,11 +19,11 @@
## Usage
Set `.pryrc` as below
```ruby
-PrySingular.set_class FooJob, FactoryBot
+PrySingular.make_commands FooJob, FactoryBot
```
then you can use singular method of set class as pry command
pry(main)> perform_now
@@ -35,16 +35,16 @@
Pry-Singular add only `singleton_methods(true)` for do not create core Ruby methods commands
If you have a method you want to specify write as below
```ruby
-PrySingular.set_class FactoryBot, only: [:build, :attributes_for]
+PrySingular.make_commands FactoryBot, only: [:build, :attributes_for]
```
Also, If you have a method that you don't want to command
```ruby
-PrySingular.set_class FactoryBot, except: [:create]
+PrySingular.make_commands FactoryBot, except: :create
```
## Development