Class: AwesomeAnnotate::Remove
- Inherits:
-
Thor
- Object
- Thor
- AwesomeAnnotate::Remove
- Defined in:
- lib/awesome_annotate/cli.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
28 29 30 31 |
# File 'lib/awesome_annotate/cli.rb', line 28 def all model_annotator.remove_all route_annotator.remove end |
#model(model_name) ⇒ Object
13 14 15 |
# File 'lib/awesome_annotate/cli.rb', line 13 def model(model_name) model_annotator.remove(model_name) end |
#models(*model_names) ⇒ Object
18 19 20 |
# File 'lib/awesome_annotate/cli.rb', line 18 def models(*model_names) model_annotator.remove_all(model_names) end |
#routes ⇒ Object
23 24 25 |
# File 'lib/awesome_annotate/cli.rb', line 23 def routes route_annotator.remove end |