Method: CabbageDoc::Generators::Api#perform
- Defined in:
- lib/cabbage_doc/generators/api.rb
#perform ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/cabbage_doc/generators/api.rb', line 7 def perform collection.clear!(tag) if controllers.is_a?(Hash) parse_with_tag! else parse_without_tag! end collection.save! end |