README.md in pry-singular-0.1.2 vs README.md in pry-singular-0.1.3

- old
+ new

@@ -1,11 +1,8 @@ -# Pry::Singular +# Pry-Singular +[![Build Status](https://travis-ci.org/QWYNG/pry-singular.svg?branch=master)](https://travis-ci.org/QWYNG/pry-singular) -Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/pry/singular`. To experiment with that code, run `bin/console` for an interactive prompt. - -TODO: Delete this and the text above, and describe your gem - ## Installation Add this line to your application's Gemfile: ```ruby @@ -32,9 +29,25 @@ pry(main)> perform_now also you can use argument pry(main)> create :user + +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] +``` + +Also, If you have a method that you don't want to command + +```ruby +PrySingular.set_class FactoryBot, except: [:create] +``` + + ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.